Re: Need Help - Reconfigure LILO from rescue CD
- From: "Mike Poe" <trolling4dollars@xxxxxxxxx>
- Date: 10 Sep 2006 08:57:51 -0700
Lenard wrote:
Mike Poe wrote:
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.
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.
Boot with the rescue CD, use chroot as directed by the on-screen message,
edit the /etc/lilo.conf and save your changes then do; /sbin/lilo -v
When you done reboot the system and load the installation CD as root do;
rpm -Uvh /path/to/the/mounted/CD/grub*.rpm
/sbin/grub-install --recheck /dev/sda
Now you have grub instead of lilo, it would be a good idea to check
the /boot/grub/grub.conf looks correct
FYI: RHL7.2 is really really old and not supported by anyone without cost,
please consider upgrading maybe to FC5 or CentOS 3/4 if staying with the
Red Hat family.
--
"A personal computer is called a personal computer because it's yours,
Anything that runs on that computer, you should have control over."
Andrew Moss, Microsoft's senior director of technical policy, 2005
Thanks for the info. I don't have a chroot option on the boot CD I'm
using (the RH 7.2 sys admin boot CD), but I'll try chroot'ing manually
after booting & see if that works.
.
- References:
- Need Help - Reconfigure LILO from rescue CD
- From: Mike Poe
- Re: Need Help - Reconfigure LILO from rescue CD
- From: Lenard
- Need Help - Reconfigure LILO from rescue CD
- Prev by Date: Re: Need Help - Reconfigure LILO from rescue CD
- Next by Date: Re: Linux no threat to Microsoft
- Previous by thread: Re: Need Help - Reconfigure LILO from rescue CD
- Next by thread: Re: Need Help - Reconfigure LILO from rescue CD
- Index(es):
Relevant Pages
|