Using the 2nd CD: logged in as root@rescuedisc, change lilo.conf file or any files?
Question:
Using the 2nd Slackware CD: logged in as root@rescuedisc, how do I change lilo.conf file or make any changes at all? Summary: This may seem like an odd question, since I was able to use the rescue floppy-disk and make my changes that way. However, I had tried the 2nd Slackware CD Rescuedisk first and I had believe that this was the prefered method. I must be wrong... ;) I couldn't even see the lilo.conf file when I used the 2nd Slackware CD Rescuedisk. Do I need specific boot parameters? The parameters suggested at the boot prompt didn't get me too far. Thank you for reading this post. |
you need to mount the / partition first. check your /etc/fstab for the correct partition number, then open a terminal and do this:
su mkdir /mnt/rescue mnt /dev/hda3 /mnt/rescue that should mount the data in /mnt/rescue/ and you can open /mnt/rescue/etc/lilo.conf and edit it. make sure you read the manpage for mnt first. man mnt |
Just want to add one minor point and one major point to what mcd said.
Minor point: In the command 'mnt /dev/hda3 /mnt/rescue', you'll have to change the '/dev/hda3' to whichever partition you find in fstab which corresponds to / Major point: Whatever changes you make to lilo.conf won't take effect until you run lilo. Use the command 'chroot /mnt/rescue /sbin/lilo' Enjoy! --- Cerbere |
Thank you.
Worked as described above... |
All times are GMT -5. The time now is 02:23 PM. |