help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: Re: Booting a kernel inside a large file, out of memory?


From: Sebert, Holger.ext
Subject: AW: Re: Booting a kernel inside a large file, out of memory?
Date: Fri, 5 Mar 2021 11:46:47 +0000

Hi Hanson,

I am booting in UEFI mode.

Best,
Holger
________________________________________
Von: Hanson Char <hanson.char@gmail.com>
Gesendet: Freitag, 5. März 2021 04:00:04
An: Sebert, Holger.ext
Cc: help-grub@gnu.org
Betreff: [Ext] Re: Booting a kernel inside a large file, out of memory?

Are you booting in UEFI mode or Legacy CSM mode?

Regards,
Hanson

> On Mar 4, 2021, at 6:51 AM, Sebert, Holger.ext 
> <Holger.Sebert.ext@karlstorz.com> wrote:
>
> Hi!
>
> When booting a bzImage which is contained in a bigger file, does Grub
> load the whole file into memory or does it only load the bzImage from
> the file containing it?
>
> Here is some background:
>
> I have a file, say "myimage", which contains both a kernel (bzImage)
> and a root filesystem (squashfs). The kernel is configured in a way to
> automatically boot into that filesystem.
>
> I am booting the kernel inside "myimage" successfully using the
> following command:
>
>    linux ($root)/myimage
>    boot
>
> The root filesystem being contained in "myimage" is currently not huge,
> so it should fit into memory, but I am worried that this might change
> in the future and I can get an out-of-memory-condition. Therefore my
> question at the beginning of this mail.
>
> Thanks!
>
> Best,
> Holger
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]