LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 07-26-2006, 05:31 PM   #1
pfizur
LQ Newbie
 
Registered: Feb 2003
Posts: 8

Rep: Reputation: 0
Booting a 2.6.12 Custom Kernel in Debian


So I just built a custom kernel as I've been doing since I started working with 2.4 kernels. For some reason though this time I just can't get the thing to boot. I get the dreaded

kernel panic - not syncing:VFS: Unable to mount root fs on unknown-block(0,0)

I'm assuming from what I read that I'll need to use one of the newer utilities to build an initrd-like file to get things going but I can't figure out where to start. Any help is very appreciated.
 
Old 07-26-2006, 05:47 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
In general, I don't think you NEED an initrd as long as you remember to compile in your chipset and filesystem type as Y instead of M.

What type of hardware are you running?
 
Old 07-26-2006, 05:49 PM   #3
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Slackware 10.2 Fluxbox 2.6.17.6
Posts: 419

Rep: Reputation: 30
what file system are you using and what process did you go through to build and install the kernel?
 
Old 07-26-2006, 07:28 PM   #4
pfizur
LQ Newbie
 
Registered: Feb 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for the quick replies:

* I'm using ext3

* I downloaded the source from kernel.org, uncompressed it, ran menuconfig, did my thing there, saved it, made a dpkg then installed the dpkg. This is how I've always done it but until recently it was with 2.4 kernels, early 2.6 kernels, and always LILO, now I'm using GRUB.

As far as compiling in my chipset (not as a module) I chose the nearest possible for my hardware setup which is:

Dell OptiPlex 160L w/ Intel 810 board PIV processor, all on board stuff, regular IDE HD.
 
Old 07-26-2006, 07:39 PM   #5
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Slackware 10.2 Fluxbox 2.6.17.6
Posts: 419

Rep: Reputation: 30
one way ive found my clipsets and other stuff was to boot knoppix and then run lsmod and try and get the same modules from xconfig/gconfig/menuconfig.

ext2 support is natively compiled in as far as i remember, correct me if im wrong, but its worth a check.
 
  


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
custom kernel the debian way h/w Debian 6 01-30-2006 10:52 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
Debian install with custom kernel... robbow52 Debian 2 02-24-2004 04:38 PM
Compiled Custom Kernel booting problem _flaab_ Mandriva 3 11-13-2003 06:34 AM
How do I make sure Im booting onto my custom kernel? Kramer Linux - General 10 10-21-2003 12:43 PM


All times are GMT -5. The time now is 05:40 AM.

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