LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-26-2004, 06:23 AM   #1
justin_p
Member
 
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
garfield81
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

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

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.


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

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

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

Original Poster
Rep: Reputation: 30
you guys rock.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
run /sbin/lilo after update IF you use LILO (don't know) jdblick Suse/Novell 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:50 PM.

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