Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

linux protocole example #16

Open
patatetom opened this issue Feb 25, 2021 · 6 comments
Open

linux protocole example #16

patatetom opened this issue Feb 25, 2021 · 6 comments

Comments

@patatetom
Copy link

hello,
would it be possible to give an example to boot a linux ?
can we pass parameters to the linux kernel as with grub ?
regards.

@Itay2805
Copy link
Collaborator

Sure thing, you can use the following as a base

:My entry
PROTOCOL=linux
KERNEL_PATH=boot:///vmlinuz
KERNEL_CMDLINE=root=....
MODULE_PATH=boot:///initrd

Currently the kernel image and initrd must be in a fat filesystem (I am working on ext234 support).

You can pass command line parameters in the config but currently it is not possible to change the config in the boot menu.

@patatetom
Copy link
Author

will try...
thank you for this quick response 👍

@patatetom
Copy link
Author

it works perfectly 👍 and starts properly my linux 😃
a few questions :

  • can we deactivate the timeout ? (where it will be necessary to validate manually - enter/return - the boot)
  • can we structure the menu ? (make a separation as for the shutdown proposed by default)
  • add an entry for a reboot ?

@patatetom
Copy link
Author

patatetom commented Feb 25, 2021

  • I tried -1 and 0 for the timeout but it doesn't disable it
  • I tried : to introduce an empty entry but (<null string>) - <null string> is displayed
  • may be with a reboot.efi ?

@Itay2805
Copy link
Collaborator

I think the timeout deactivation is not a thing on the master branch, it is a thing in the rewrite but it is not complete yet (I hope to finish it this weekend). Yeah right now empty entries are added, should be fixed in the rewrite. I will add an entry for reboot as well since it's a good idea.

@patatetom
Copy link
Author

I'll try this as soon as available...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants