Can I fix or replace Redhat 7 LILO using Kubuntu 5.04 CD?

albi at scii.nl albi at scii.nl
Thu Sep 1 08:49:03 UTC 2005


On Thu, 1 Sep 2005 04:25:48 -0400
"Jerry Miller" <gamphd at comcast.net> wrote:

> I was given a Kubuntu 5.04 CD as a way to restore the

a live-cd or an install-cd ?

> LILO loader that was made obsolete by Partition Magic.
> Looking at the MBR, and the fact that it uses INT 13
> with AH = 2, I now realize that, despite its use of LDA,
> it must be one of the LILO versions that expects the
> Linux partition to be in the first 6 gig of the drive, which
> explains why my C: partition was too small to install
> Ghost 9.0 (which turned out to be unnecessary, because
> Ghost 2003 boots and runs in DOS mode, which makes
> a lot more sense!)

what you can try :

- boot from the kubuntu-cd with the command :
  rescue root=/dev/hdaX ro
  (where X is the number of your RHL / partition)
- if this works fine, edit your /etc/lilo.conf and make changes that
  are needed
- type : lilo -v
- reboot

disclaimer :

* i'm not sure about the exact syntax for "rescue"
you could just try this
http://kudos.berlios.de/kf/kisimlar/recovery.html#rootcd

* normally i use a knoppix-cd for these cases, you would then do :
- boot the knoppix live-cd
- manually mount the linux-partition, e.g.
  mount /dev/hda3 /mnt/hda3
- chroot /mnt/hda3
- /sbin/lilo -v

HTH




More information about the ubuntu-users mailing list