Link to home
Start Free TrialLog in
Avatar of jstith
jstith

asked on

LILO crash

using compaq installed rh 6.1 as workstation. went ok?
on bootup all i get is LI? how do i get in to correct the problem?
Avatar of RobWMartin
RobWMartin

jstith,

- Reboot with a rescue floppy.

- Mount the file system containing /etc (usu. /) to /mnt.  Something like, mount /dev/hda1 /mnt ...

- Edit /mnt/etc/lilo.conf and add a line with the word "linear" on it. No quotes, of course.

- Next, there are several possibilities on how to proceed.  I'll give you my preferred method.  You need to make /mnt look like your normal root directory to lilo, but only for the info lilo actually needs.  lilo needs to see your /boot directory and the directory containing your boot kernel, along with the config file in /mnt/etc.  If you need to mount /boot because it is on a separate partition, then do so on /mnt/boot (it should already be there).  Then issue the following:

/mnt/sbin/lilo -r /mnt

- pop the floppy and reboot.

Good luck!

Rob
If you don't have a rescue floppy at hand, boot from your RH6.1 CD and enter "rescue" at the boot: prompt. That should boot to a minimum linux system so that you can follow the steps that RobWMartin outlined.

ASKER CERTIFIED SOLUTION
Avatar of rickson
rickson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial