RobertCsordas / arch-efiboot

Boot EFISTUB linux kernels on UEFI systems not supporting kernel command line
40 stars 10 forks source link

If I use this approach, will I need to re-run it on occasion? #3

Open brandon-arnold opened 5 years ago

brandon-arnold commented 5 years ago

Hi there,

I have an XPS 9380 coming in the mail soon, and I'd certainly consider using EFISTUB in this manner as directed. After everything's working, in the event of (a) a kernel update, or (b) re-running mkinitcpio, do I need to re-run this script every time?

-Brandon

RobertCsordas commented 5 years ago

Hi,

You don't have to re-run it in case of (a). There is a pacman hook for kernel and Intel microcode update. However, for (b), you have to re-run it currently. In what case would you run mkinitcpio manually? Just for updating the config file? If yes, then you have to do it only after configuring, and will work just fine afterward.

I was not able to find a way to run a script after running mkinitcpio. If you have any ideas, please don't hesitate to share.

Robert

brandon-arnold commented 5 years ago

Makes good sense. Thanks for the info! And thanks for putting this together.

In what case would you run mkinitcpio manually?

It's rare, but on a system running for ~2+ years I have had to do it on occasion. Whether I broke it during the install of a dual-booting OS or an update bungled it somehow. I may still use Grub simply due to flexibility it gives me down the road, but I have not decided.