help-grub
[Top][All Lists]
Advanced

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

Re: Pass parameters to kernel when using chainloader method.


From: Pascal Hambourg
Subject: Re: Pass parameters to kernel when using chainloader method.
Date: Fri, 25 Dec 2020 10:36:31 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

Le 25/12/2020 à 03:02, Hongyi Zhao a écrit :
On Thu, Dec 24, 2020 at 10:34 PM Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:

Le 24/12/2020 à 14:16, Hongyi Zhao a écrit :
When using chainloader method, how can I pass parameters to kernel?

What kind of chainloading ?

With EFI stub chainloading, you can append kernel parameters to the
command line :

chainloader /EFI/stub/vmlinuz initrd=/EFI/stub/initrd.img root=...

Do you mean I can use the following form?:

chainloader ... nomodeset ...

Yes.

With BIOS chainloading, I'm afraid you cannot pass parameters.

Why?

AFAIK BIOS chainloading just loads a 512-byte boot sector which does not take any parameters, unlike an EFI executable or kernel image.



reply via email to

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