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

Re: Using Lilo to select different Kernels



On Mon, Nov 18, 2002 at 06:57:54PM +0000, Doug MacFarlane wrote:
> Is it possible to have multiple LILO entries to boot different kernels off
> of the same /boot partition?

yup.  i highly recommend you look at the sample lilo.conf as well as reading the
fine manpage lilo.conf(5).  basically you want to have a bunch of sections
that start like

image=/boot/vmlinuz-<version>
	label=<whateveryouwanttocallit>
	alias=<some key>

you can hold down shift to get a lilo prompt to select your image, or
alternately figure out how to use one of the three boot-menus that
lilo provides, also described in the manpage.

> And as a followup, what's the difference between booting a kernel, and booting
> an initrd image?  Why have the prepackaged kernels moved to initrd?  Why would I want to build my custom kernels to boot
> as initrd images?  Why wouldn't I?

if i understand correctly the initrd image has an initial root filesystem
compiled into the kernel (or bootloader?) so that the kernel could
effectively boot up into a limited single-user mode even if / were
trashed.  personally i don't use them myself, but from what i've heard
they suck if you have a kernel with a bunch of required modules because
they all have to go in the initrd as well, but otherwise don't make
that much of a difference.

--sean

Attachment: pgptyCc4DnxzG.pgp
Description: PGP signature


Reply to: