Re: EFI Partition not ESP flagged

Karsten Nordsiek <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
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<[email protected]>  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
>>>
>>>
>>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.