Gentoo Archives: gentoo-user

From: Hans-Werner Hilse <hilse@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Initramfs question
Date: Tue, 25 Apr 2006 15:50:01
Message-Id: 20060425174222.605fcd6f.hilse@web.de
In Reply to: [gentoo-user] Initramfs question by "K. Mike Bradley"
1 Hi,
2
3 short note at the start: Don't hijack other threads (like you did
4 here), don't answer a mailing list mail but write a new one to the
5 list, when you want to start a new thread.
6
7 On Tue, 25 Apr 2006 11:32:52 -0400 "K. Mike Bradley" <kmb@××××××××.com>
8 wrote:
9
10 > Can anyone tell me why the latest Gentoo uses initramfs but it is
11 > loaded by GRUB using initrd?
12 >
13 > I though the initramfs was to be compressed into the kernel image?
14
15 It can be, but it hasn't to. The kernel checks a few magic bytes in
16 order to check whether ram disk data placed by the bootloader into
17 memory is actually an initramfs or a full blown initrd (which can
18 contain any filesystem). Initramfs is the suggested replace mechanism
19 and is basically a compressed cpio archive. The method how it gets into
20 memory when booting hasn't changed, or better: is still compatible.
21
22 -hwh
23 --
24 gentoo-user@g.o mailing list