When I did an install of F44 to a new workstation I use fedora-media-writer to create a bootable USB. When I booted off it I didn’t notice there were 2 entries, one UEFI and one not. I accidentally completed the install with BIOS instead of UEFI. I’ve since done a complete reinstall. Can we make it more obvious? I think the appropriate place is when you select to do the install, there could be a prominent warning if you are doing bios install.
I don’t think there is any way to do that.
If the user has set their machine to NOT use cms then the iso will automatically boot in UEFI.
If CMS is enabled then AFAIK the only way to select which mode is used for booting is to use the uefi bios boot menu where the user can select the uefi version or the bios version. Some system that allow cms mode booting will automatically boot into the bios boot mode if the user does not use the bios boot menu to select.
The mode used for booting is at the bios level and not under control of the installer until after booting
I don’t think we can control it indeed. But the installer should be able to indicate to the user whether they are in UEFI or legacy mode - like OP says, that might prevent some accidents.
Actually it does.
When it displays the partitioning before actually beginning the install it shows what will be done. If installing in uefi mode it shows the efi partition along with /boot and the btrfs subvolumes for / and /home.
I just did a clean install of f44 on a laptop and watched it display what would be done (the automatic partitioning) before I committed to the actual install.
I am sure that if it were installing in legacy bios boot mode it would also show the bios boot partition and not an efi partition.
What it displays may be different if installing dual boot, but for a clean install of fedora it displays the partitioning to be done
Perhaps adding this snippet to grub.cfg
if [ "$grub_platform" = "efi" ]; then
echo "Booted in UEFI mode
else
echo "Booted in Legacy mode"
fi
Of course, we can’t do that; only the people who create the iso images can do that.
This only shows briefly, so that won’t work. Sorry
That’s true, good point!
I think what would have saved me some trouble is if at the top of the screen in the installer it showed an alert such as “Notice: installing in legacy BIOS mode; reboot selecting uefi for modern UEFI install”. Sure at the partitioning screen I could have noticed that there was no uefi partition, but it just was not something at the top of my mind.
Maybe you could make a bug report and request that info be added to the installer.
Yes, I agree it would be really nice if the installer told us if it was booted in legacy or UEFI mode. Ventoy does this and it’s really helpful. I’ve accidentally installed in the wrong mode before when I didn’t know better.
Also, I’m sure many potential users aren’t even aware that picking the wrong boot mode will force the wrong install mode.
… and those who are aware may also know how to disable csm.
It would be nice if computers with pre-instaled WIndows would come with csm disabled.