View Full Version : [all variants] [SOLVED] Windows+Ubuntu+Grub Problems

October 1st, 2008, 02:18 AM
Ok, so I have Vista(sda1) and Ubuntu(sda6) on my computer with a recovery(sda2) partition. When I upgraded to 8.10 my kernel updated and I had a Dialog asking weather I wanted it to recreate menu.lst or not. Well I said yes and it removed the vista and recovery items from the list. I have tried sudo update-grub, grub-install, and a bunch of commands in grub but none of them add the items back in for vista or recovery. And when I first installed Ubuntu it automatically added the vista and recovery items. How can I get it to do that again?:(

October 1st, 2008, 02:44 AM
As far as I know, I don't think there is a way to get Grub to automatically recognize your Vista partition and add it to the menu.lst after the installation, but I could be wrong. I would simply open your menu.lst:

gksudo gedit /boot/grub/menu.lst
And add the following entry at the end:

title Windows Vista
root (hd0,0)
chainloader +1
Based on what you said, that should be all it takes to be able to boot Vista again. If that doesn't work, then please post your menu.lst and also:

sudo fdisk -lu
Let me know how it goes.

October 1st, 2008, 02:55 AM
well that works! Now I only want the recovery item

October 1st, 2008, 02:57 AM
OK, for the Vista recovery partition:

title Vista Recovery Partition
root (hd0,1)
chainloader +1

October 3rd, 2008, 11:02 PM
thank you so much!:D