Do you need to set bootable Flag when Installing Linux in UEFI Mode?

Do you need to set bootable Flag when Installing Linux in UEFI Mode?

When installing Linux, there is an option to set a partition as bootable flag. Do you need to have this option turned on if you are installing Linux in UEFI mode? and if so, what partition should it be turned on? (is it / or /boot)?

I have seen this video: https://www.youtube.com/watch?v=DRhuVxaBuKU Where in 3:10 he boots Linux into a bootable USB Media via UEFI mode, and then creates the root partition and turns on bootable flag at 4:15

If it has no effect then it is safe to assume that you should not set any partition as bootable flag.

答案1

This flag is irrelevant when an UEFI partitioning scheme is used. You only need an "EFI system partition" to be able to boot successfully.

Edit: speaking of Windows 10.

By default it sets the following two flags for the EFI system partition (as seen by parted): boot, esp. I've removed both and Windows 10 continues to boot successfully, so they are not required.

相关内容