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


  Search this Thread
Old 08-26-2004, 06:23 AM   #1
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
Forgot to run /sbin/lilo

Lastnight, after deciding to drop DLG because it didn't like it to my box and how it slowed me, I re-installed Slack 10 and went with KDE as my desktop. I went to KDE changed things around to my liking. Downloaded some packages, namely NVIDIA and OO.o. I installed the 2.6.7 kernel per pat's instructions. I reconfigured /etc/lilo.conf to have tht 2.6.7 kernel be the main option. But before re-booting i forgot to run "/sbin/lilo". So once i restarted it gets to the lilo screen and then Loading vmlinuz.......then nothing. Clearly this has to with the disconnect between the lilo configuration and the config file. So I booted up System Rescue CD (and no, I did not make a boot disk) and was able to mount my root partition but I could not execute the /sbin/lilo command. Ok, Is there a way to get into that partition and run the command to fix this mess. Thanks in advance.
Old 08-26-2004, 06:37 AM   #2
LQ Newbie
Registered: Aug 2004
Location: Leipzig
Distribution: gentoo
Posts: 9

Rep: Reputation: 0
after you boot a linux-CD (e.g. KNOPPIX or GENTOO) you should change your root-environment with the chroot-command (sorry, don't know the exact syntax) and you must not forget to change your /bin/bash from the one of the boot-disk to yout orignal one

Old 08-26-2004, 06:39 AM   #3
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
Hey justin_p if updating lilo is all you need to do. You first have to mount the partition to an existing directory, or make one.

(My partition would be hda2) as root do somthing like this:
mount -t reiserfs /dev/hda2 /mnt/slack

chroot /mnt/slack
then run lilo like normal and reboot

hope this helps.
Old 08-26-2004, 06:53 AM   #4
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Original Poster
Rep: Reputation: 30
you guys rock.


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
run /sbin/lilo after update IF you use LILO (don't know) jdblick SUSE / openSUSE 3 12-28-2004 03:06 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
zip drive accessed when I run /sbin/lilo major.tom Slackware 1 06-16-2004 07:40 PM
When I run /sbin/lilo on Debian it says /proc/partitions does not exist coldy Linux - General 1 03-21-2004 08:28 AM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM

All times are GMT -5. The time now is 06:28 PM.

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