View Single Post

   
  #3 (permalink)  
Old 01-18-2008, 07:37 PM
Michael Heiming
 
Posts: n/a
Default Re: Need Help - Reconfigure LILO from rescue CD

In comp.os.linux.setup Mike Poe <trolling4dollars@gmail.com>:
> Hello. I need some help. I need to know how to go about changing
> lilo.conf & applying the new settings while booted from a rescue cd.


> I have a RedHat 7.2 box which I decided to turn in to a VMware
> appliance. I used netcat & dd to image the hard drive on the physical
> box to a VMware disk I had created. All that went well. I knew I
> would need to change fstab, etc as the boot & root partitions on the
> physical box were on /dev/hda, whereas on VMWare it's /dev/sda. I've
> done that from a rescue CD. I get a kernel panic when booting as lilo
> still references /dev/hda.


You just follow the instructions if you boot from some RH install
medium, 'chroot' to your already mounted system, edit lilo.conf
and rerun lilo. No rocket science involved.

> How can I go about changing this? If it were using grub, it would be a
> simple matter of editing the parameters at boot time, but I can't do
> that with this version of LILO.


Wrong! Why can't you do this using lilo? Works for me just fine.

BTW
RH 7.2 is EOL since some time you might want to look into
upgrading to something recent.


--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 84: Someone is standing on the ethernet cable,
causing a kink in the cable
Reply With Quote