Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-20-2004, 10:10 PM   #1
Registered: Apr 2003
Location: Greenwood Mississippi
Distribution: Debian, LMDE, n some untus
Posts: 215

Rep: Reputation: 30
cramfs, kernel-panic...initrd, bootsplash...

When compiling a kernel for bootsplash support including monolithic cramfs (compressed rom file system), i get kernel panic ... need to append a correct root=boot option ...

When compiling a kernel with cramfs built in, and as an initrd kernel (make-kpkg kernel-image --initrd --append-to-version=XXxxXX), the kernel panics a few lines later.

When compiling without cramfs, bootsplash still works!
When compiling without cramfs, make-kpkg kernel-image --initrd still works!

I think /sbin/init is getting confused and thinking my root partition is a cramfs and gives me that unable to mount ... blah blah blah.

Would someone tell me if cramfs is really needed!?

Old 10-24-2004, 09:22 PM   #2
Registered: May 2004
Distribution: debian
Posts: 235

Rep: Reputation: 30
you need cramfs - otherwise you system can't read initrd. at least that's what i thought....

does bootsplash work (with a background image) without cramfs?

if it does, forget cramfs.
Old 10-26-2004, 04:30 AM   #3
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Rep: Reputation: 15
From what I understand, you don't need an initrd if you use ATA/IDE disk controllers and compile your disk controller and your file system into the kernel instead of using a loadable module (and your kernel is < 1.4MB) If you don't need to use initrd, I guess you don't then need Cramfs?

I'm might try and create a kernel that doesn't need Initrd. To do this. I suspect I may wind up using vanilla kernel source instead of Debians patched version with CramFS.
Old 10-26-2004, 06:42 PM   #4
Registered: May 2004
Distribution: debian
Posts: 235

Rep: Reputation: 30
you don't need an initrd if you have everything you need to access your hard drive compiled in the kernel. So, that's disk controllers, and file systems.

You need an initrd for bootsplash.

you can build a initrd-less kernel with debian's source. just disable cramfs (it's in the filesystem section) when using make menuconfig.


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
bootsplash causes kernel panic after modifying initrd bewareofthesnowman Linux - Software 2 02-28-2006 06:33 PM
Bootsplash kernel panic half resolved conn-fused Mandriva 1 01-26-2005 03:16 AM
Bootsplash with existing initrd gnashley Linux - General 5 10-19-2004 07:58 PM
initrd & kernel panic asjapulk Linux - General 2 01-13-2004 01:35 AM
initrd kernel panic gavares Linux - General 0 08-25-2003 11:40 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:38 PM.

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