LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-20-2004, 03:14 PM   #1
pwo
LQ Newbie
 
Registered: Oct 2004
Distribution: Ubuntu 4.10
Posts: 6

Rep: Reputation: 0
Question Kernel 2.6.81 Won't Boot with LILO under Slackware 10.0


I just got around to getting and compiling kernel 2.6.81. I followed all the instructions on http://shilo.is-a-geek.com/slack (summarily: download kernel, configure, make, change all the symbolic links in boot, change lilo), rebooted, and I immediately noticed LILO was broken; it was still displaying my old menu options. I chose my old Linux option anyway (thinking that when I ran /sbin/lilo during the kernel compile process and it gave me an error message about hda3 (my bootable partition) not being active and I stupidly ignored it, it didn't load the new lilo.conf). This SHOULD have worked, because I made the vmlinuz, config, and system.map links to the new kernel files in /boot, but it said something about "BIOS Data Checking" and the screen went black, keyboard unresponsive.

I booted from the Slackware CD and tried to figure out what was going on. I booted the bare.i kernel from the CD, mounted hda3, and checked lilo.conf, nothing seemed odd, so I ran /mnt/sbin/lilo, but it tells me all my files needed don't exist (because i am running it from /mnt). First question, how do I trick it into thinking /mnt is root, so I don't have to make links all over the place? (or should I just make links all over the place)? Second question is, even with the strange LILO behaviors, the kernel still doesn't boot properly. I changed all the symbolic links to the old 2.4.26 kernel files, and the screen continues to go black.

Thanks for your help!
Matt
 
Old 10-20-2004, 03:54 PM   #2
guardian653
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 79

Rep: Reputation: 15
Not too sure about the lilo part but as for running /mnt as / thats simple

# chroot [mount point] [shell]
eg:
# chroot /mnt/hda3 /bin/bash

You might want to mount proc before you chroot it too:
# mount -t proc none [mount point]/proc

Hope that helps

Last edited by guardian653; 06-26-2009 at 10:19 PM.
 
Old 10-22-2004, 01:40 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Did you remember to run /sbin/lilo before you rebooted? That will write the changed information.
You can do as Guardian653 suggests and chroot before trying to run lilo.

Using the ' -l ' option will load in your normal paths.
 
  


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
Windows XP / Slackware LILO boot problem. Clumsy Slackware 3 03-26-2005 06:04 PM
How to set up dual-boot in LILO for Slackware 10.0 Shockshell Linux - Newbie 3 02-12-2005 09:39 PM
Slackware 10, custom 2.6.7 kernel, lilo, loads kernel very slowly entropyv Slackware 3 08-19-2004 06:06 PM
I can't boot slackware! LILO not work! froxass Slackware - Installation 4 03-15-2004 01:08 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:11 PM.

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
Open Source Consulting | Domain Registration