Recently I have installed Ubuntu 10.10 and selected a wrong option while installing it.
Now the problem is that my machine directly boots Ubuntu and even does not show me grub menu.
How do I install grub menu ?
And how do I add Windows Vista to the grub menu?
This is what I have tried.
sudo grub
> root (hd0,0)
> setup (hd0)
Error 17: Cannot mount selected partition
I don't know what's going wrong here and I am sure that I have not wiped out my windows partition.
Edit :
sudo update-grub
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: cannot access /media/BC54B2C654B282A6/boot
Boot: No such file or directory
done
sudo os-prober
ls: cannot access /media/BC54B2C654B282A6/boot
Boot: No such file or directory
Thanks.
/media/BC54B2C654B282A6/boot
a directory that no windows have. Please, include all the scripts under/etc/grub.d
. – Braiam Apr 10 '14 at 16:14