grub boot menu

NoOp glgxg at sbcglobal.net
Wed Jun 25 16:54:45 UTC 2008


On 06/24/2008 11:01 AM, Derek Broughton wrote:
> Anthony DiMarzo wrote:
> 
>> 
>> Hello:
>>          Something strange. I was in ubuntu 8.0.5 and restarted to go into
>>          windows xp, but there was no option for windows, all other
>>          options we're there. This was the first time the windows option
>>          was not there. Please help.
>                                                     
> My bet would be that the windows boot stanza was placed between the:
> 
> ### BEGIN AUTOMAGIC KERNELS LIST
> ### END DEBIAN AUTOMAGIC KERNELS LIST
> 
> lines, which would guarantee that it would get deleted after an update-grub
> (which happens whenever you get a new kernel).
> 
> To fix your current menu.lst, add:
> 
>  title         Windows 95/98/NT/2000
>  root          (hd0,0)
>  makeactive
>  chainloader   +1
> 
> AFTER the "### END DEBIAN AUTOMAGIC KERNELS LIST" line.  If Windows isn't on
> your first partition, remember to make the "root" option, above, point to
> the correct partition.

Here is an example of what Derek is talking about where the drives are
swapped:

# Non-linux OS on /dev/sdb1
title              Windows XP
root               (hd1,0)
savedefault
makeactive
map                (hd0) (hd1)
map                (hd1) (hd0)
chainloader        +1






More information about the ubuntu-users mailing list