LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2006, 10:23 AM   #1
tim1348
Member
 
Registered: Oct 2006
Distribution: Slackware 11
Posts: 46

Rep: Reputation: 15
New Kernel Wont Boot


I am using Slackware 11 on an older adaptec aic7xxx scsi controler and scsi drives. I dont have IDE hard drives. I installed slackware using huge26.s and the generic kernel 2.6.17.13 and had to use initrd to load it, like this;

/boot/mkinitrd -c -k 2.6.17.13 -m aic7xxx_old -f ext2 -r /dev/sda2

I adjusted lilo.conf to load the initrd and the old kernel boots fine. But I recompiled the kernel and the new kernel image wont load with or without the initrd. It kernel panics on startup and locks up. Im sort of stuck at this point and sure what to do. I would like to use the new kernel.

LILO is installed to the MBR, my boot drive is /dev/sda, my root partition is /dev/sda2 and is toggled as the boot partition. /dev/sda1 is a swap partition. Im not sure what other info to put, can anyone help?
 
Old 10-29-2006, 11:36 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 135Reputation: 135
If you compiled the kernel, then maybe you left out something that was required for the boot process to succeed in the make menuconfig (or make xconfig) stage.

Typically you might not have compiled in the file system into the kernel. If you compile it as a module and don't use initrd it will fail.

Make sure that your file system is compiled into the kernel.

There could be other things wrong with your compiled kernel. Give us an idea of the error messages you encountered in the kernel panic.
 
Old 10-29-2006, 12:51 PM   #3
tim1348
Member
 
Registered: Oct 2006
Distribution: Slackware 11
Posts: 46

Original Poster
Rep: Reputation: 15
Well, I re-compiled the kernel and it now works and boots without an initrd. But now I dont have my cd-rom anymore, /dev/hdc has vanished. Of course, when I try to load the module, it is not found. Now I suppose I have to re-compile the kernel again to get the cd-rom back, other than that, everything loads smoothly. My newby-ness is shining bright, lol.
 
  


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
DSL Kernel Wont detect Flash drive on boot, cant boot =( Javahulk Linux - General 1 03-24-2005 03:59 PM
Kernel 2.6.8 wont boot hangs. Nz_Boy_2004 Linux - Software 2 10-10-2004 12:13 AM
Kernel 2.4.27 wont booT! azul79 Linux - Software 1 08-13-2004 02:32 PM
Linux kernel 2.6 wont boot raid517 Linux - Software 14 09-01-2003 04:06 PM
new kernel wont boot celtic32 Linux - General 3 09-03-2002 04:49 AM


All times are GMT -5. The time now is 08:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration