[lug] Duplicating the Boot partition on a second drive
rm at mamma.varadinet.de
rm at mamma.varadinet.de
Sat Mar 24 04:33:30 MST 2001
On Fri, Mar 23, 2001 at 03:14:03PM -0700, J. Wayde Allen wrote:
[...]
>
> No, sounds like this would have to be a modification of Lilo. Great idea
> though!
Unfortunately, it's even more than that. If your root file
system ('/') is dead but the kernel image is loaded from
a different partition/device the kernel will panic once
it tries to mount the root file system. So one would need
two aditions:
Have LILO reboot with another kernel image if it can't
load the first one.
Have a way to tell the kernel to reboot if it can't reach
a certain stage (this might be easy with kernel options,
something like 'linux-2.4 root=/dev/hda1 altroot=/dev/hda2,/dev/hdb')
The most tricky bit i think is this: If the kernel decides
that it can't successfully boot, how can it tell LILO about that?
Ralf
More information about the LUG
mailing list