Re: Kernel Panic, root fs..

Werner Almesberger (almesber@lrc.di.epfl.ch)
Mon, 23 Aug 1999 21:49:45 +0200


Tim Ricketts wrote:
> This can be changed with rdev or overridden by putting root=/dev/whatever
> on your kernel command line which lilo does if you specify root=/dev/whatever
> in lilo.conf.

I'd suggest to simply use
root = current
in the global section of lilo.conf. "current" refers to what is the root
file system at the time /sbin/lilo is run, taking into account lilo -r,
etc.

RedHat 6.0 puts explicit root = /dev/whatever entries into the
per-image sections of lilo.conf, which is also correct, but then you
have to remember to copy that line if your kernel comes from a machine
with a different partition layout. (Yes, it bit me twice last week,
that's why I know ;-)

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, ICA, EPFL, CH       werner.almesberger@ica.epfl.ch /
/_IN_R_131__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/