EFI Partition not ESP flagged
Karsten Nordsiek
kno at tuxedocomputers.com
Mon Feb 27 13:30:44 CET 2023
Hello,
thank you for your hint.
I now have the following config
disk_config disk1 disklabel:gpt fstabkey:uuid align-at:1M bootable:2
# <type> <mountpoint> <size> <fs type> <mount opts> <misc opts>
primary /boot1024ext3 defaults
primary /boot/efi 512M vfat rw
primary - 95-100% - -
disk_config disk2 disklabel:gpt fstabkey:uuid
primary - 95-100% - -
This marks the partition two now boot flaged but the first partition is
also boot flaged
I am worried
Am 25.02.23 um 00:13 schrieb Dara Poon:
> 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
>>>
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20230227/4bf624fb/attachment.html>
More information about the linux-fai
mailing list