Prevent UEFI boot order changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am using the UEFI PXE boot + kickstart mechanism to install Fedora 24
to the bare metal hosts. Works well, but I cannot figure out how to get
rid of a feature which most users probably do want, but I don't.

Once Fedora is installed, it adds itself to the UEFI boot list as the
first choice OS. And this is exactly what I would like to avoid. My
system is configured to always boot over the network, and I do not want
this to change after installing Fedora. I do not want to see Fedora in
the UEFI boot menu at all.

What is the right way to achieve this goal?

I guess I can add a post install script calling efibootmgr and getting
rid of the 'fedora' UEFI boot menu. But I consider this to be the last
resort hacky workaround.

I tried to tell anaconda not to install the bootloader at all. This is
kind of logical - no boot loader, not possible to change the UEFI boot
order. I used this kickstart directive: bootloader --location=none.
This kind of worked, no changes in the UEFI boot menu, but the system
does not boot with this symptom:

"failed to switch root: specified switch root path /sysroot does n ot
seem to be an os tree. os-release file is missing."

I assume this is a bug?

Any ideas, hints?

Thanks!

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux