Click to See Complete Forum and Search --> : Help for reinstalling LILO
Vincent Wong
08-29-2001, 02:41 AM
My windows Me suddenly crashed and needed to reinstalled.
So I reinstall it but after that I know that my LILO was overwrited by Win Me.
Now I can't go to my linux.
I haven't created a backupdisk. :(
:confused: So how can I visit my linux distro again?
Thanks!
PLBlaze
08-29-2001, 02:50 AM
Well, you did not specify what distro...and it's late for me to explain in details,
Try to boot off of your distro cdrom and at the prompt specify the root partition that you installed Linux to eg. root=/dev/hda1
where /dev/hda1 is your Linux partition
If all goes well :) your system will boot then you will need to recreate the boot by running /sbin/lilo (might want to read man lilo for proper restoration procedures).Hope this helps.
Vincent Wong
08-29-2001, 05:10 AM
Oh I forgot!
I use redhat 7.0
I put in my install cd and I see a prompt
root:
I tried what you said but it can't boot to my redhat.
It seems that it hasn't detect my hardware
bdg1983
08-29-2001, 05:17 AM
Try booting from the install cd again and at the prompt, enter
boot root=/dev/hda#
where # is the Linux boot/root partition.
That should work and then rerun /sbin/lilo