Le 25/12/2020 à 03:02, Hongyi Zhao a écrit :
On Thu, Dec 24, 2020 at 10:34 PM Pascal Hambourg <[email protected]> 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.