[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-devel
Subject:    Re: Changes in GRUB help
From:       "richardvoigt () gmail ! com" <richardvoigt () gmail ! com>
Date:       2010-01-26 3:27:39
Message-ID: 2e59e6971001251927q50d66a43m8e6f4c703df188bf () mail ! gmail ! com
[Download RAW message or body]

On Mon, Jan 25, 2010 at 3:22 PM, Colin Watson <cjwatson@ubuntu.com> wrote:
> On Mon, Jan 25, 2010 at 03:12:51PM -0600, richardvoigt@gmail.com wrote:
>> On Mon, Jan 25, 2010 at 7:22 AM, KESHAV P.R. <skodabenz@gmail.com> wrote=
:
>> > Yes, the patch definitely works. It is part of Fedora's GRUB2 src-rpm
>> > package. But I changed the 10_linux.in file manually before compiling =
grub2.
>> > The strange thing is that even without any initrd line in the menuentr=
y, the
>> > Fedora system boots successfully (my guess is that the Fedora's kernel
>> > searches for its compatible initramfs file without relying on grub or
>> > grub2).
>>
>> Linux initramfs is inside the kernel binary, not a separate file, and
>> so needs no extra support from the bootloader.
>
> Linux *can* behave this way if you want it to, but most distributions do
> not set it up like that. =C2=A0This mode is usually only used by self-bui=
lt
> kernels, and it's not universal even there since sometimes it's more
> convenient to be able to change the initramfs separately.

Linux 2.6 MUST have an initramfs.  You can either embed one inside the
kernel or let the kernel create one dynamically with hardcoded
content.

I suspect you're thinking of initrd, which is optional.  After
creating or copying the initramfs from within the kernel image (thus
establishing a ramfs mount point), the kernel will decode and copy the
content of any initrd selected by the bootloader to the mounted ramfs.

>
> --
> Colin Watson =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [=
cjwatson@ubuntu.com]
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic