Reinstall lilo to hda, using hda lilo.conf
Before you go on, if you may know how to do what I need to do, with
grub, then do read on because I am sure that it should be possible with
I want to make a machine boot from a hard disk that already has a linux
install on it. I basically need to reinstall lilo to the mbr, using the
files from /mnt/hda1/boot (chain.b, boot.0300 & boot.b) and
If anyone can tell me how, please do so asap!!! I would be very
Here is my lilo.conf:
root@ttyp0[/mnt/hda2/etc]# cat lilo.conf
I copied 2 partitions off the drive as I through that the machine would
no longer be needed as a RH7 server, and put FC2 on it.
I now find out that the machine is needed in bootable state (quickly!).
I have copied the two images of the partition back on to the drive -
hda1 which I have as /boot/ and hda2 which I have the rest of the old
I am using the knoppix live CD.
If someone can help me with this I would most grateful!
System.map kernel.h-2.4.0 os2_d.b
System.map-2.2.16-22 lost+found vmlinux-2.2.16-22
System.map-2.2.16-22smp map vmlinux-2.2.16-22smp
boot.0300 message vmlinuz
boot.b module-info vmlinuz-2.2.16-22
chain.b module-info-2.2.16-22 vmlinuz-2.2.16-22smp
bin dev fsckoptions home loadconfig.sh lost+found opt root
boot etc getdomain lib loadrc.sh mnt proc sbin
root@ttyp0[hda2]# uname -a
Linux Knoppix 2.4.27 #2 SMP Mo Aug 9 00:39:37 CEST 2004 i686 GNU/Linux
root@ttyp0[/mnt/hda2/etc]# cat redhat-release
Red Hat Linux release 7.0 (Guinness)
Boot your live cd and mount your own root partition somewhere. For the sake of argument we'll say that your root partition is /mnt/hda2 (looks like it is from what you've said).
In a terminal:
|All times are GMT -5. The time now is 03:24 PM.|