new commands for Grub

Art Alexion art.alexion at verizon.net
Mon May 15 22:15:19 UTC 2006


On Monday 15 May 2006 18:03, tommac wrote:
> 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 ##.
>
> 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?

It shouldn't, as long as groups of choices are kept together.  AFAIK, the 
order you put them in is the order in which they will appear on the grub menu 
screen.  I would always keep the Windows choice last, though, because of 
issues with the chainloader boot process.
-- 

_____________________________________________________________
Art Alexion
Arthur S. Alexion LLC

PGP fingerprint: 52A4 B10C AA73 096F A661  92D2 3B65 8EAC ACC5 BA7A
The attachment - signature.asc - is my electronic signature; no need for 
alarm.
Info @ 
http://mysite.verizon.net/art.alexion/encryption/signature.asc.what.html
_____________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20060515/c2a20784/attachment.sig>


More information about the kubuntu-users mailing list