LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

View Poll Results: Recommended kernel:
2.4.* 0 0%
2.6.* 0 0%
2.8.* 0 0%
6.9.* 2 100.00%
Multiple Choice Poll. Voters: 2. You may not vote on this poll

Reply
 
Search this Thread
Old 12-16-2006, 03:09 AM   #16
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,087

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492

As a matter of fact, if you do not have initrd, you should remove the reference to it from you grub or lilo config. That is the line starting with initrd or initrd=

As a matter of fact, if you look in the description for initrd, it is almost never needed to use initrd as opposed to compile IDE and ext3 support into the kernel. I don't understand why Debian (other distro's as well?) insists on using it.

I am not using initrd for years whenever I recompile my kernel.

jlinkels
 
Old 12-16-2006, 05:37 AM   #17
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
Quote:
Originally Posted by kernelyogi
I am getting the same error as OP - Unpacking initramfs...<0>Kernel panic - not syncing: bad gzip magic numbers.
I have not tried booting without initrd. Can that be done?
TIA,
~kernelyogi
Yes, it can be done. Just compile some basics like IDE/SATA support and ext3 or reiserfs (whatever you use) into the kernel (not as modules) and then boot without the initrd.
 
Old 12-17-2006, 10:31 PM   #18
kernelyogi
LQ Newbie
 
Registered: Dec 2006
Distribution: Debian 3.1 R3, SLES10
Posts: 3

Rep: Reputation: 0
Thank you very much, gkiagia and jlinkels. I will try this out. May be I missed adding ide and ext3 support in-kernel . Will do that and post again.
~kernelyogi
 
Old 01-31-2007, 12:33 PM   #19
sbarthelmess
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Thumbs up Can't boot...

The issue is, you haven't compiled ramdisk support into your kernel. I don't know if it is faster or more efficient to use the ramdisk/initrd support or no ramdisk/initrd and just boot the entire compiled kernel. I know for most purposes, it is best to compile into the kernel for things you use EVERY boot. For example if your root filesystem is EXT3, then compile it into the kernel. If you only mount EXT3 occasionally, then compile it as a module to conserve memory when your not using it.

Good luck booting!

-Seb
 
Old 08-09-2008, 07:36 AM   #20
dracuss
Member
 
Registered: May 2006
Location: Chisinau, Moldova
Distribution: Gentoo, Debian sid
Posts: 151

Rep: Reputation: 29
Wink

Kernelyogi, the point is that you must put into the kernel the access to the filesystems you are going to work with, for example ext3, reiserfs and a couple other filesystems. After that you should be able to boot your kernel without initrd.
 
Old 08-09-2008, 09:08 AM   #21
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,029
Blog Entries: 52

Rep: Reputation: Disabled
Another thread has risen from the dead. Look at the dates before posting.
 
  


Reply

Tags
compile, initramfs, panic


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Linux Kernel Problem -- Kernel panic: CPU context corrupt crcooney Linux - Distributions 0 01-15-2004 08:48 AM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 04:25 PM


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