LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 07-18-2013, 11:20 PM   #1
mshlinux
Member
 
Registered: Mar 2013
Posts: 92

Rep: Reputation: Disabled
how to compile kernel as standard?


I know this may be wrong place. But there is no place for crux in this linux forum.
And I believe that people in this forum are smart in compiling kernel.
that's why I post here...

on my Desktop which is with Core2Duo, 1GB ram and running Debian,
I installed crux-2.8 in VirtualBox, compiled kernel without any configuration
because I thought that kernel itself has made default or standard configuration.

After installation process, I reboot VM but I can't boot into newly installed crux.
the message I get is here:

Quote:
LILO Loading CRUX.................
BIOS data check successful
Kernel panic - not syncing: VFS: Unable to mount root fs on unknow-block (8.1)
Pid: 1, comm: swapper/0 not tainted 3.5.4 #1
Call Trace:
[<c11acae2>] ? panic*0x7a/0x152
xxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxx
etc...etc...
_
so, i think, it is kernel compilation issue.
pls, anyone guide me!
 
Old 07-19-2013, 10:17 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
set the crux virtual box machine to boot from cd or iso or whatever you used to install crux. mount the filesystem within the virtual machine and edit your /etc/lilo.conf so that you can boot your original version of the kernel. if your boot menu shows the old kernel already, then boot with that. get a copy of the .config from your running debian kernel in the crux kernel source directory, and run "make oldconfig" with it there. that should give you a working configuration.
 
Old 07-20-2013, 08:42 PM   #3
mshlinux
Member
 
Registered: Mar 2013
Posts: 92

Original Poster
Rep: Reputation: Disabled
ok, it works, thank you!
 
Old 07-30-2013, 08:17 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,043

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Just for the record, the kernel has little defaults. You truly need to configure it yourself. That, or just enable everything and make a huge ramdisk with every driver under the sun.

The errors like the one you saw above are generally due to not having included the chipset driver and/or the fs driver for your root file system. Those are needed either statically into your kernel or in the ramdisk, so the kernel can reach the rest of the drivers that live inside the fs, inside the disk.
 
  


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
How to compile a NetBSD kernel with a non-standard console font support? degoor *BSD 3 04-08-2006 10:52 AM
Configure kernel source for standard debian kernel (module install) twinkers Debian 2 12-22-2005 12:19 PM
Mandrake rpm kernel vs. standard kernel lm317t Mandriva 7 01-06-2005 01:08 PM
When will 2.6.xx be the standard kernel? Gurduloo Linux - General 4 02-23-2004 08:36 PM
rh 8.0 standard kernel 2.5.74 Hybrid Blue Linux - Newbie 1 09-30-2003 11:19 PM


All times are GMT -5. The time now is 01:34 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