Biosias / uefi-mkconfig

grub-mkconfig inspired script for automatically managing uefi entries for booting linux kernel directly without bootloader
Apache License 2.0
7 stars 3 forks source link

Improved cmdline UX #13

Closed desultory closed 1 month ago

desultory commented 2 months ago

When using the efistub option for installkernel, this is used. It's not clear that users should probably configure the cmdline first. The default behavior will pull the cmdline from the install media which may not work.

I think there is a warning at runtime which is easy to miss. It would be nice if the ebuild warned users first, so they are aware of what config may be necessary.

AndrewAmmerlaan commented 2 months ago

The default behavior will pull the cmdline from the install media which may not work.

As a side note, this is also the behaviour of systemd-boot, so perhaps some more general note about configuring the cmdline before installing the kernel should be added to the handbook somewhere.

Biosias commented 2 months ago

Indeed, I'll add a "Setup" section to the readme and also will put warning into ebuild.

Also will start work on gentoo wiki page for uefi-mkconfig.

Biosias commented 1 month ago

The newest version also now refuses to run unless configuration is present. This should mitigate the forgetting to create configuration problem.

Biosias commented 1 month ago

Done