EFI Partition not ESP flagged
Dara Poon
dwpoon+fai at ece.ubc.ca
Sat Feb 25 00:13:24 CET 2023
Karsten,
What's your disk_config line? If you declare a partition to be bootable, for example with:
disk_config disk1 disklabel:gpt bootable:2
then setup-storage will do the equivalent of
parted -s /dev/sda set 2 boot on
On GPT, parted treats as an alias for "esp" (https://www.gnu.org/software/parted/manual/html_node/set.html), so it should give that partition the ESP GUID.
Dara Poon
> On Feb 24, 2023, at 05:54, Karsten Nordsiek <kno at tuxedocomputers.com> wrote:
>
> Hello,
>
> I think we have found the cause with the dualboot Problem.
> If an encrypted installation is selected, the problem with the incorrectly set flag also occurs.
> I think the problem is caused by a change in partitioning
>
> Normal Partitioning Single without encryption
>
> primary /boot/efi 512M vfat rw (gets the ESP Flag)
> primary / 8G- ext4 defaults
> primary swap 8G swap sw
>
> Encrypted partitioning:
>
> primary /boot 1024 ext3 defaults
> primary /boot/efi 512M vfat rw
> primary - 95-100% - -
>
>
> I hope this helps you to understand my problem
>
>
>
> Karsten Nordsiek
>
>
>
> Am 24.02.23 um 13:01 schrieb Karsten Nordsiek:
>> Hello together,
>>
>> I have done a dualboot installation (Windows on the first partitions and Linux on the last partition)
>> Now the EFI Partition is not ESP flagged and some packages can't be installed.
>> So I am searching how to fix this issue, but I didn't find the right files to change it.
>> I hope you can help me.
>>
>> thanksfully
>>
>>
>> Karsten Nordsiek
>>
>>
>>
More information about the linux-fai
mailing list