GRUB problem every time I reboot

NoOp glgxg at sbcglobal.net
Thu Dec 13 01:50:55 UTC 2007


On 12/12/2007 04:28 PM, Paul wrote:
> On Dec 12, 2007 7:17 PM, NoOp <glgxg at sbcglobal.net> wrote:
> 
>> On 12/12/2007 02:08 PM, Paul wrote:
>>
>> > I'm not sure what the etiquette for this list is so I'm going to err on
>> the
>> > side of caution and _not_ paste the file into this message.
>> >
>> > Thanks!
>> >
>> >
>>
>> Actually please do paste your menu.lst file & then we'll tell you
>> exactly what to modify. If you want to save some electrons for the rest
>> of the list just start the paste at:
>>
>> ## ## End Default Options ##
>>
>> title        Ubuntu 7.10, kernel 2.6.22-14-generic
>> root        (hd2,0)
>> kernel        /boot/vmlinuz-2.6.22-14-genericroot=UUID=2943b3d5-da14-4d97-8cd8-7fc8b1673020 ro quiet splash
>> initrd        /boot/initrd.img-2.6.22-14-generic
>> quiet
>>
>> title        Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
>> root        (hd2,0)
>> kernel        /boot/vmlinuz-2.6.22-14-genericroot=UUID=2943b3d5-da14-4d97-8cd8-7fc8b1673020 ro single
>> initrd        /boot/initrd.img-2.6.22-14-generic
>>
>> title        Ubuntu 7.10, memtest86+
>> root        (hd2,0)
>> kernel        /boot/memtest86+.bin
>> quiet
>>
>> ### END DEBIAN AUTOMAGIC KERNELS LIST
>>
>> # This is a divider, added to separate the menu items below from the
>> Debian
>> # ones.
>> title        Other operating systems:
>> root
>>
>>
>> # This entry automatically added by the Debian installer for a non-linux
>> OS
>> # on /dev/sda1
>> title        Microsoft Windows XP Professional
>> root        (hd0,0)
>> savedefault
>> makeactive
>> chainloader    +1
>>
> 

You said that the only way that you can boot into windows is by:

> > root (hd2,0)
> > setup(hd2,0)
> > chainloader +1
> > boot

So try modifying your menu.lst to the same (gksu gedit /boot/grub/menu.lst):

# This entry automatically added by the Debian installer for a non-linux OS
# Non-linux OS on /dev/sda1
title        Microsoft Windows XP Professional
root        (hd2,0)
savedefault
makeactive
chainloader    +1

You should also from a terminal:

$ sudo update-grub





More information about the ubuntu-users mailing list