problems with init

Gerard Beekmans gerard at linuxfromscratch.org
Thu Mar 28 20:12:06 PST 2002


On Tue, Mar 26, 2002 at 08:48:29AM +0100, Cool Genie wrote:
> image=/mnt/hda5/boot/vmlinuz-2.4.16
>         label=FGL
>         root=../dev/hda5
>         read-only

Change that root= line there to read /dev/hda5 not ../dev/hda5

I'm not 100% sure what lilo does. It may resolve it into the proper info,
but it may pass "../dev/hda5" to the kernel, in which case the kernel will
have no idea what device is meant.

>     literal="init=/dev/hda5"

'init' represents the init program, like /sbin/init

You can override whatever lilo.conf has by adding kernel parameters, like
so:

LILO: lfskernel root=/dev/hda5 

That way /dev/hda5 will be mounted no matter what init= in lilo.conf
contains.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list