popcorn-kernel / oven

the oven bootloader
MIT License
4 stars 0 forks source link

[PROPOSAL] add a simple command syntax for menu entries #18

Closed Sparkles-Laurel closed 1 year ago

Sparkles-Laurel commented 1 year ago

stolen from grub can we have a menu entry syntax? i don't know what you propose.

i propose a menuentry syntax like grub's. Submenus should also be a thing.

SatoTsukasaCode commented 1 year ago

don't know how to grub syntax but i like how limine works.

example from the arch wiki:

:Arch Linux
    PROTOCOL=linux
    KERNEL_PATH=boot:///vmlinuz-linux
    CMDLINE=root=UUID=root-uuid rw
    MODULE_PATH=boot:///initramfs-linux.img

so I think we can implument something like

popcorn:
    DISK=<disk UUID>
    KERNAL=<kernal path>

and etc.

maybe you have other ideas? i don't mine trying and replicating grub's tho if you feel more comfortable with it.

Sparkles-Laurel commented 1 year ago

we do have to replace GRUBs well we can have a toml based syntax

Sparkles-Laurel commented 1 year ago

fucking move this to discussions