Buenas, antes que nada, aclarar que he buscado por el foro si había algún post de este tipo, si lo hay lo lamento pero no lo encontré, también mire en diversas páginas de internet. El caso es que, me metí con el cd-live e hice un restore grub, pero antes de eso, intenté hacerlo por comandos escribiendo update-grub, pero me daba error, no me reconocía el W7. El caso es que, después de lo del restore, me carga bien el grub, pero no me entra a windows. A través del
/etc/grub.d/40_custom (en el que pone lo mismo que al final del archivo
/boot/grub/grub.cfg) escribí la entrada del W7, tal que así:
menuentry "Windows7 (en hd0,1)" {
insmod hfsplus
set root=(hd0,1)
multiboot /boot
}
Como información, resaltar que el W7 se encuentra en el sda1, pero en el grub lo llaman hda, con linux hace lo mismo y carga perfectamente
Luego hago update-grub y me da exactamente el mismo error comentado al principio, cuando perdí el grub y hacía este mismo comando
#update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-25-generic
Found initrd image: /boot/initrd.img-2.6.32-25-generic
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found memtest86+ image: /boot/memtest86+.bin
mapdevfs: error while loading shared libraries: libdebian-installer.so.4: cannot open shared object file: No such file or directory
mapdevfs: error while loading shared libraries: libdebian-installer.so.4: cannot open shared object file: No such file or directory
mapdevfs: error while loading shared libraries: libdebian-installer.so.4: cannot open shared object file: No such file or directory
mapdevfs: error while loading shared libraries: libdebian-installer.so.4: cannot open shared object file: No such file or directory
mapdevfs: error while loading shared libraries: libdebian-installer.so.4: cannot open shared object file: No such file or directory
mapdevfs: error while loading shared libraries: libdebian-installer.so.4: cannot open shared object file: No such file or directory
mapdevfs: error while loading shared libraries: libdebian-installer.so.4: cannot open shared object file: No such file or directory
done
Tras leer eso, supuse que me faltaba alguna librería y tendría que descargarla ¿puede ser? El caso es que no se cómo la he perdido, si supuestamente antes las tenía, gracias
EDIT:
He estado mirando por ahí, y creo que es un fallo del mismo Ubuntu, eso explica por qué antes yo veía el XP cuando lo tenía y luego de repente no (supongo que por una actualización de Ubuntu) Os lo dejo aqui, por si es que yo he entendido mal (ya que está en inglés) y mi deducción no es correcta:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/387093