Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-02-2004, 12:10 AM   #1
Registered: Dec 2002
Location: Omaha, Nebraska
Distribution: Ubuntu 8.10
Posts: 79

Rep: Reputation: 15
Using the 2nd CD: logged in as root@rescuedisc, change lilo.conf file or any files?


Using the 2nd Slackware CD: logged in as root@rescuedisc, how do I change lilo.conf file or make any changes at all?


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.
Old 11-02-2004, 12:32 AM   #2
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
you need to mount the / partition first. check your /etc/fstab for the correct partition number, then open a terminal and do this:


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

Last edited by mcd; 11-02-2004 at 12:35 AM.
Old 11-02-2004, 05:28 AM   #3
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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'

--- Cerbere
Old 11-02-2004, 10:14 AM   #4
Registered: Dec 2002
Location: Omaha, Nebraska
Distribution: Ubuntu 8.10
Posts: 79

Original Poster
Rep: Reputation: 15
Thank you.

Worked as described above...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
not logged in as root, how to change files short101 Linux - Newbie 3 06-22-2004 06:21 AM
Modify lilo.conf when not logged in as root BadBigShot Linux - Newbie 7 03-27-2004 12:09 PM
How do I change the Default in LILO.CONF timmy toad Linux - Newbie 3 09-26-2003 02:28 PM
LILO / lilo.conf - can't change the config clearh20 Linux - Newbie 14 06-05-2003 10:20 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 09:34 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration