Re: EFI Partition not ESP flagged

Dara Poon <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
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.