TomatBoot icon indicating copy to clipboard operation
TomatBoot copied to clipboard

linux protocole example

Open patatetom opened this issue 4 years ago • 6 comments

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.

patatetom avatar Feb 25 '21 10:02 patatetom

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.

Itay2805 avatar Feb 25 '21 10:02 Itay2805

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

patatetom avatar Feb 25 '21 10:02 patatetom

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 avatar Feb 25 '21 13:02 patatetom

  • 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 ?

patatetom avatar Feb 25 '21 13:02 patatetom

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.

Itay2805 avatar Feb 25 '21 13:02 Itay2805

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

patatetom avatar Feb 25 '21 14:02 patatetom