View Full Version : [ubuntu] Attempt at installing new desktop wiped Vista from boot menu

May 18th, 2008, 11:31 PM

Yeah, now I can only see Ubuntu, the recovery, and the memory test in the OS selection menu. No longer can I see my Vista loader or the Vista recovery loader. Any idea as to how to get it back? I kind of need it.

May 19th, 2008, 12:26 AM
The file that creates the grub boot list is located at /boot/grub/menu.lst

If your Vista isn't listed somewhere on there you can add it yourself:

gksu gedit /boot/grub/menu.lst

This will open the file as root, so you can edit it.
Add an entry that says:

title Microsoft Windows
root (hd0,0)
chainloader +1

NB: This assumes that Windows is located on the first partition on your hard drive. If it isn't then change the (hd0,0) to reflect that. Number starts from zero, so partition sda1=hd0,0 while sda5=hd0,4 for example.