new commands for Grub

tommac tommac at cableone.net
Mon May 15 22:03:20 UTC 2006


Art Alexion wrote:
> On Monday 15 May 2006 16:20, tommac wrote:
>   
>> My /boot/grub/menu.lst is as follows
>>
>> timeout 15
>> color cyan/blue  white/blue
>> foreground ffffff
>> background 0639a1
>>
>> gfxmenu /boot/grub/message
>>
>> title MEPIS at hda2, kernel 2.6.15-22-386
>> kernel /boot/vmlinuz-2.6.15-22-389 root=/dev/hda2 nomce quiet vga=791
>>
>> title Windows at hda1
>> rootnoverify (hd0,0)
>> chainloader +1
>>
>> title MEMTEST
>> kernel /boot/memtest86+.bin
>>
>> I have Ubuntu 5.10 loaded on hda3 and I have attempted to enter
>> commands  so I can boot Ubuntu. I have tried any and all combinations
>> but with no success. Anybody have a suggestion. All help is appreciated..
>> thanks
>> tom
>>     
>
> title           Ubuntu, kernel 2.6.[whatever-version-you-have]
> root            (hd0,2)	 ## grub numbers hard drives starting 0, a=0, 3rd
> 				## partition is 2
> kernel          /boot/vmlinuz-2.6.[whatever-version-you-have] root=/dev/hda3 
> ro quiet splash
> initrd          /boot/initrd.img-2.6.[whatever-version-you-have]
> savedefault
> boot
>
> Note this should be 6 lines starting with 
> title
> root
> kernel
> initrd
> savedefault
> boot
> Any other line breaks were inserted by my mail program or yours.  My comments 
> with double ## should not be entered.  I just wanted to let you know how it 
> works.
>
> Note that grub uses stuff with one # to rebuild grub after kernel updates and 
> those lines should define a default file.  Actual comments have double ##.
>   
Art,
Thanks for such a speedy answer. One more quick question. Does it matter 
where in the file I insert these  6 lines?
There are 5 series of commands now. Can I insert these between any of 
the series of commands?
tkanks
tom




More information about the kubuntu-users mailing list