View Single Post

   
  #6 (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>:

> Michael Heiming wrote:
>> In comp.os.linux.setup Mike Poe <trolling4dollars@gmail.com>:

[ problems with lilo]

>> 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.


> Well, obviously it isn't rocket science. However, with the version of
> the RedHat Sys Admin CD (the business card CD) that came with 7.2 there
> is no chroot option. You have the option of mounting the file systems
> RO or RW, which I've done. Even after mounting them RW & editing
> lilo.conf & running lilo, I still get a kernel panic. I assume for
> some reason LILO isn't really activating the changes I made.


There is no option for you to select, you check where the rescue
system has mounted your installation or mount it manually, then
'chroot /your_system_rootfs_mountpoint/' per default
"/mnt/sysimage" on RH, if you use the first installation disk an
enter 'linux rescue'.

The reason is pretty simple, you didn't chroot to your mounted
rootfs or at least gave lilo the option to install where you
need. This is covered in the fine manual of course. You might
like to give it a try:

$ man -k lilo
lilo (8) - install boot loader
lilo.conf [lilo] (5) - configuration file for lilo


>> > 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.


> Again, you apparently haven't used the version of LILO that ships with
> 7.2 in a while. I'm aware that with newer version you can press 'e' to
> edit the config at boot time, as with Grub. However, with the version
> installed on that system, there is no way to edit the config that I've
> found. If you know of a way I'd be interested in hearing it.


Apparently I have, probably on more systems then you might think
and of course you can edit the bootline. 'e' will not work on any
version of lilo, grub uses (iirc) this switch.

Simply press <TAB> once/twice type the image label you want and
a space then your options 'root=/dev/<whatever>'.

I am pretty glad you are interested in hearing how to solve YOUR
problem.. ;-) Perhaps you are not aware that this is USENET and
*not* some google forum with paid stuff to server you...

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 359: YOU HAVE AN I/O ERROR -> Incompetent Operator
error
Reply With Quote