Newsgroups: comp.os.linux.setup Date: Tue, 18 Feb 2003 07:40:41 -0800
> Using Lilo, I can interactively choose what I will boot, e.g.: > > boot: linux single > > boot: linux ks=floppy > > I can also pass all kinds of parameters to kernel. How can I do this with > grub?
Grub is far more flexible in terms of choosing things at boot time. You can put additional boot entries in /boot/grub/menu.lst. You do not need to run the equiv of lilo after editing the file. With grub, you can also edit the entries at boot time. Say you mistyped the kernel path, you can edit it from the grub menu, with lilo you're fu**ed. It's one tool that is very worth while learning. You'll never go back to lilo. You gotta read the docs though :-)
-Bruce
> Thanks everyone for the respond, I've went through the grub info > node (actually many times), but still I don't know how to boot my > linux into single mode (maybe my lack of linux booting knowledge > counts) please help. Thanks
It's a matter of passing initial run level to the kernel (LILO does exactly the same thing). If you already have a grub menu entry, edit it to add 1 or S after your kernel name. That's all. Likewise, you can create entries to - or interactively boot into console mode (3) or graphics mode (5). Of course, you can also shut it down immediately (0) or, just for fun, reboot it immediately (try pass 6 into default entry).
Yuan Liu