Click to See Complete Forum and Search --> : cant get into my linux os


kidrusher
04-04-2001, 03:52 PM
I'm running RedHat 7.0 (windows on the first partition), I guess my lilo got messed up because the only way I could boot into linux was using the boot disk I made during installation. I have lost that boot disk. I made a new one using rawrite on the cd, but that only gets me to the install screen. any help appreciated? I don't want to reinstall everything. :confused:

bdg1983
04-04-2001, 03:56 PM
I believe at the install prompt, you can use...

boot root=/dev/hda#

where # is the partition Linux in installed.

Someone please correct me if I'm wrong.

trekker
04-04-2001, 04:30 PM
I'm not too sure about that but I'm sure that you shouldn't use the image on the installation cd. That gives you the installation disk, not the custom boot disk that you need.

Try what mdwatts suggested and rerun lilo. And make another boot disk! :p

Linuxcool
04-04-2001, 07:13 PM
This link should get you going: http://www.europe.redhat.com/documentation/rhl7/ref-guide-en/s1-sysadmin-rescue.php3

Enter resue mode. Create the directory you'll need to mount your root partition, then mount it. Next run lilo. You'll have to use the full path to it ( /newly_created_directory/sbin/lilo ), because lilo isn't one of the commands that's on the list. Unmount your partition then reboot and remove the cdrom disk. And it should work. Hopefully.

[ 04 April 2001: Message edited by: Linuxcool ]

kidrusher
04-04-2001, 09:16 PM
thanks linuxcool, i will try out this method. thanks to everyone else who posted. I tried using the boot root=/dev/hda# but it said could find boot or something like that.