On Tue, 6 Feb 2001, Pramod Daya wrote:
>I'm trying to devise a way to re-install a linux system if the hard drive is
>totally destroyed, and I only have a tar archive on tape and tomsrtbt disk.
>Thus far, I have been able to successfully boot with tomsrtbt, format the
>HD, create partitions, and restore everything from the tape into the right
>place with the right permissions. (I've been experimenting with a HD that
>has just / and /boot partitions).
Red Hat seem gratuitously intent on not being backwards compatible
with previous kernels, rescue discs, &c.
You may need to use a RH rescue disc to make filesystems and partitions.
>The tricky bit comes about when I try and re-run lilo to make the HD
>bootable. I tried the following while in the /mnt/root directory (where I
>mounted the root FS)
># lilo -C etc/lilo.conf -r /mnt/root
>and lilo kindly informs me that :
>Map segment is too big.
Normally the answer to this (with /boot mounted, if it's a separate
partition) is to do a 'chroot /mnt /bin/bash' and then run the target
HDD's copy of lilo.
However, RH7 appears to have made all system binaries incompatible
with kernels pre 2.2; I hope you're running 6.2...
--
David Damerell, Computer Officer, Department of Chemistry, Cambridge
Work: [EMAIL PROTECTED] Personal: [EMAIL PROTECTED]
These are my opinions, not those of the Department as a whole.