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

Re: Using lilo to boot off any drive ...


Manish Lachwani wrote:
> When the control is transferred to lilo on sda (sdb
> actually), is there a way for me to boot off sdd now
> (which was previously sde)? I mean, is there any way
> that lilo can load the appropriate kernel image?

You could have two independent installations of LILO, one on
sda, and one on sdb, where the latter accesses no files from
sda and defines the disk numbers (for the BIOS) the way they
look when sda is removed.

Then, you probably want to rename /sbin/lilo to /sbin/lilo.bin
or such, and write a script /sbin/lilo that generates the
modified lilo.conf files, and updates both instances of LILO.

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina         wa _at_ almesberger.net /
/_http://www.almesberger.net/____________________________________________/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: