Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-29-2006, 09:23 AM   #1
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 and had to use initrd to load it, like this;

/boot/mkinitrd -c -k -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, 10:36 AM   #2
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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, 11:51 AM   #3
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.


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 02:59 PM
Kernel 2.6.8 wont boot hangs. Nz_Boy_2004 Linux - Software 2 10-09-2004 11:13 PM
Kernel 2.4.27 wont booT! azul79 Linux - Software 1 08-13-2004 01:32 PM
Linux kernel 2.6 wont boot raid517 Linux - Software 14 09-01-2003 03:06 PM
new kernel wont boot celtic32 Linux - General 3 09-03-2002 03:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 AM.

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