update-grub2 not finding windows7 partition..

Posted by user3307 on Ask Ubuntu See other posts from Ask Ubuntu or by user3307
Published on 2011-01-22T02:32:55Z Indexed on 2011/03/15 0:18 UTC
Read the original article Hit count: 218

Filed under:

I have Ubuntu10.10 x64 and after installing Windows 7 grub dissapear I log on with my usb to reinstall grub and now grub only shows Ubuntu... Then when I try to do update-grub2 I get this:

root@Alienware:~# sudo update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Found memtest86+ image: /boot/memtest86+.bin
ls: no se puede acceder a /var/lib/os-prober/mount/boot
Boot: No existe el fichero o el directorio
done
root@Alienware:~#

It is in spanish but it says it cant get access to /var/lib/os-prober/mount/boot and that Boot: dosent exist.. I dont know what I am doing wrong can someone help me please?

© Ask Ubuntu or respective owner

Related posts about grub2