arch-efiboot icon indicating copy to clipboard operation
arch-efiboot copied to clipboard

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

Open brandon-arnold opened this issue 5 years ago • 2 comments

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

brandon-arnold avatar Jun 14 '19 03:06 brandon-arnold

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

RobertCsordas avatar Jun 14 '19 07:06 RobertCsordas

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.

brandon-arnold avatar Jun 14 '19 15:06 brandon-arnold