[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Grub vs LILO



>>>>> "Romain" == Romain Lerallut <lerallut@eleves.enpc.fr> writes:

    Romain> I use grub, including scsi emulation for my CDR burner,
    Romain> and I had no problem installing, none at all :-)

    Romain> However I'd like to know how to pass arguments to the
    Romain> kernel when I boot: For instance, how do I start in
    Romain> single-user mode ?  Do I have to predefine such things in
    Romain> menu.lst, or is there another way ?  One that would not
    Romain> clutter the nice menu.

In my grub I have:

kernel (hd0,0)/boot/vmlinuz-2.2.18 root=/dev/hda1 video=0x319

or 

kernel (hd0,0)/boot/vmlinuz-2.4.0-test10 root=/dev/hda1 video=vesa:0x319

which works:

[584] [snoopy:bam] ~ >cat /proc/cmdline 
mem=131008K  root=/dev/md3 video=vesa:0x319

but framebuffer doesn't so go figure ;-)

    Romain> Speaking of which, does anybody has handy a slice of a
    Romain> config file that makes those menus a bit nicer ?

mine is:

#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 0

# For booting Linux
title  GNU/Linux 2.2.18
kernel (hd0,0)/boot/vmlinuz-2.2.18 root=/dev/hda1 video=0x319

# For booting Linux
title  GNU/Linux 2.2.17
kernel (hd0,0)/boot/vmlinuz-2.2.17 root=/dev/hda1 video=0x319

# For booting Linux
title  GNU/Linux 2.4.0-test10
kernel (hd0,0)/boot/vmlinuz-2.4.0-test10 root=/dev/hda1 video=vesa:0x319
-- 
Brian May <bam@debian.org>



Reply to: