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: Hongyi Zhao
Subject: Re: Pass parameters to kernel when using chainloader method.
Date: Fri, 25 Dec 2020 21:51:54 +0800

Ok, thanks.

On Fri, Dec 25, 2020 at 5:36 PM Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
>
> 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.



-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China



reply via email to

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