From: Michael Tokarev <mjt@tls.msk.ru>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Stephan Wiebusch <stephanwib@t-online.de>, linux-kernel@vger.kernel.org
Subject: Re: Initrd and ramdisk support
Date: Fri, 29 Sep 2006 13:13:28 +0400 [thread overview]
Message-ID: <451CE3B8.70706@tls.msk.ru> (raw)
In-Reply-To: <Pine.LNX.4.61.0609291008170.20243@yvahk01.tjqt.qr>
Jan Engelhardt wrote:
>> Unpacking initramfs...<0>Kernel panic - not syncing: bad gzip magic numbers
>> Unpacking initramfs...<0>Kernel panic - not syncing: no cpio magic
>>
>> i luckily was able to determine the malefactor. There was the initrd support
>> built into the kernel while the ramdisk driver was just built as a module.
>>
>> Is it senseful to have the possibility to built the Initramfs/Initrd-support
>> without having the ramdisk driver forced to be integrated also?
>
> I hardly see a point in using initrd support without ramdisk. Where would you
> store the initrd on instead?
I build kernels without ramdisk built into, but using initramfs, for quite some
time already. There was a patch somewhere around 2.6.15 or so, that removed
dependency of INITRD from RAMDISK, just a small Kconfig change. Now it's in
the mainline. For initramfs, there's no need for ramdisk - it reads the FS
image from memory (as passed to by loader), and unpacks it into ramfs - no
ramdisk is involved here.
/mjt
prev parent reply other threads:[~2006-09-29 9:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-28 19:47 Initrd and ramdisk support Stephan Wiebusch
2006-09-29 8:10 ` Jan Engelhardt
2006-09-29 9:13 ` Michael Tokarev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=451CE3B8.70706@tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
--cc=stephanwib@t-online.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox