[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-fai
Subject: Re: EFI Partition not ESP flagged
From: Karsten Nordsiek <kno () tuxedocomputers ! com>
Date: 2023-02-27 12:30:44
Message-ID: 92d49b4b-b83f-875c-4749-16ff555f4262 () tuxedocomputers ! com
[Download RAW message or body]
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@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
> > >
> > >
> > >
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p><br>
</p>
<p>thank you for your hint.</p>
<p>I now have the following config <br>
</p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">disk_config
disk1 disklabel:gpt fstabkey:uuid align-at:1M bootable:2
</span><br>
<span style="color:#18b2b2;background-color:#ffffff;">#
<type> <mountpoint> <size> <fs
type> <mount opts> <misc opts></span><span
style="color:#000000;background-color:#ffffff;">
</span><br>
primary /boot<span
style="color:#000000;background-color:#b21818;"> </span><span
style="color:#af875f;background-color:#ffffff;"> </span><span
style="color:#000000;background-color:#ffffff;">1024</span><span
style="color:#000000;background-color:#b21818;"> </span><span
style="color:#af875f;background-color:#ffffff;"> </span><span
style="color:#000000;background-color:#ffffff;">ext3</span><span
style="color:#af875f;background-color:#ffffff;"> </span><span
style="color:#000000;background-color:#ffffff;"> defaults
</span><br>
primary /boot/efi 512M vfat rw
<br>
primary - 95-100% - -
<br>
<br>
disk_config disk2 disklabel:gpt fstabkey:uuid
<br>
primary - 95-100% - -<br>
<br>
This marks the partition two now boot flaged but the first
partition is also boot flaged<br>
</span></p>
<p>I am worried</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 25.02.23 um 00:13 schrieb Dara Poon:<br>
</div>
<blockquote type="cite"
cite="mid:735AF149-1176-4514-B5A3-3E0F5631F8BB@ece.ubc.ca">
<pre class="moz-quote-pre" wrap="">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" (<a class="moz-txt-link-freetext" \
href="https://www.gnu.org/software/parted/manual/html_node/set.html">https://www.gnu.org/software/parted/manual/html_node/set.html</a>), \
so it should give that partition the ESP GUID.
Dara Poon
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">On Feb 24, 2023, at 05:54, Karsten \
Nordsiek <a class="moz-txt-link-rfc2396E" \
href="mailto:kno@tuxedocomputers.com"><kno@tuxedocomputers.com></a> 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:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">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
</pre>
</blockquote>
</blockquote>
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic