LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
Search this Thread
Old 04-02-2004, 02:11 AM   #1
cxtech
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: Slackware 11, SourceMage, Ubuntu, FC5
Posts: 42

Rep: Reputation: 15
lilo remembering pre-reinstall setup


I'm running Slack 9.1 and had been using ReiserFS when I tried to install the 2.6.4 Kernel from 2.4.22 when neither my new kernel compile or my old one from the install would boot up so I decided to re-install. This time around I used ext2 FS instead of RFS due to some various problems with it and I also changed up my partition setup yet after the install and I reboot I get my old lilo menu (It has two choices, old kernel and new) and whichever choice I select boots but it is flodded with a error throughout the process, it is as follows:

FATAL: Could not load /lib/modules/2.6.4/modules.dep: No such file or directory

I've logged in and went to check out my lilo.conf in /etc to find that it didn't hold any of the selections I was shown when the computer booted up. Does anyone have an idea where I might find the file and also if this is what is causing it to check for 2.6.4 modules instead of the 2.4.22 it actualy needs? Thanks in advance.
 
Old 04-02-2004, 02:16 AM   #2
cxtech
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: Slackware 11, SourceMage, Ubuntu, FC5
Posts: 42

Original Poster
Rep: Reputation: 15
I did run /sbin/lilo to try to correct the problem to no avail.
 
Old 04-02-2004, 03:56 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
My only guess would be that your old install put LILO on the MBR. So if you selected putting LILO to the root partition for your new install, it never gets to that during the boot process.

Try editing lilo.conf so it will install LILO to the MBR, if you haven't already.

Enjoy!
--- Cerbere
 
Old 04-02-2004, 07:49 AM   #4
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
LINUX DOESN'T GIVE A HOOT WHAT YOUR LILO.CONF SAYS AT BOOT TIME!!

This from this site. http://www.troubleshooters.com/linux/lilo.htm

At boot it only reads what was put in the MBR the last time lilo.conf was installed to the MBR.
 
Old 04-02-2004, 11:25 AM   #5
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
You are aware that Cerbere said that already? Plus cxtech already said he reinstalled LILO to the MBR, and it didn't help.
 
Old 04-02-2004, 11:26 AM   #6
easywebdev
LQ Newbie
 
Registered: Mar 2004
Location: Donegal, Ireland
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
Quote:
Originally posted by ringwraith
LINUX DOESN'T GIVE A HOOT WHAT YOUR LILO.CONF SAYS AT BOOT TIME!!

This from this site. http://www.troubleshooters.com/linux/lilo.htm

At boot it only reads what was put in the MBR the last time lilo.conf was installed to the MBR.
Thats a correct statement but its not very helpful. Lilo will not pay heed to any changes in /etc/lilo.conf UNTIL you run /sbin/lilo to commit the changes to the mbr, then it hoots all it wants.

To the original posters problem and module warnings, the 2.6 kernel series need updated modutils, my guess is you installed them to compile your 2.6 kernel but forgot to update them after you re-installed.

As to the lilo issue I think Cerbere has hit the nail on the head.
 
Old 04-02-2004, 09:02 PM   #7
cxtech
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: Slackware 11, SourceMage, Ubuntu, FC5
Posts: 42

Original Poster
Rep: Reputation: 15
I've ran /sbin/lilo multiple times to no avail. Also the 2.6.4 kernel isn't even findable anymore so when the system boots it is booting 2.4.22 but thinks it is booting 2.6.4 (or so it seems). Is there a way to override the write? Again, thanks in advance.
 
Old 04-02-2004, 09:15 PM   #8
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
Actually another reading of the original post does not say after he reinstalled that he reinstalled lilo to the mbr. Further he states that it boots up with his old lilo choices. This would be another indication that he did not in fact install lilo to mbr on the reinstall. In his second post he states that he ran lilo several times but still does not say that he installed it to mbr. I did see cerebre's post but thought that a website that gave a more detailed explanation might help him. I am not sure what upset you so much by this.
 
Old 04-02-2004, 09:31 PM   #9
cxtech
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: Slackware 11, SourceMage, Ubuntu, FC5
Posts: 42

Original Poster
Rep: Reputation: 15
I can't honestly remember if I had installed lilo to the MBR on my first install as I had only been using linux for but a week back then and didn't really think about what I wanted but rather what would work.
 
Old 04-02-2004, 10:08 PM   #10
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
You can tell by opening up /etc/lilo.conf. The line that says boot=/dev/hda. If it is hdax with x being a number then you installed to your root partition and not mbr. You can edit this and change to hda. Then run lilo and that will install to mbr. Hope that helps.
 
Old 04-02-2004, 10:57 PM   #11
cxtech
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: Slackware 11, SourceMage, Ubuntu, FC5
Posts: 42

Original Poster
Rep: Reputation: 15
Awsome, thanks ring
 
Old 04-03-2004, 01:26 AM   #12
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Harummph!

Enjoy!
--- Cerbere
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
reinstall LILO . bruse Linux - Newbie 1 08-23-2005 12:42 PM
Reinstall lilo hraposo Mandriva 6 09-22-2004 02:41 PM
reinstall lilo watashiwaotaku7 Linux - Software 6 05-09-2003 04:05 AM
How do I reinstall LILO? DaDdY SnEb Linux - General 2 08-12-2002 06:18 AM
LILO Reinstall Stephanie Linux - General 2 08-23-2001 11:49 AM


All times are GMT -5. The time now is 07:38 AM.

Main Menu
Advertisement
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