Re: grub

Barry Scott <[email protected]> Sun, 26 Jul 2026 10:01:14 +0100
Newsgroups gmane.linux.redhat.fedora.general
Message-ID <[email protected]>
--===============7395930817616524791==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_79EB2382-423C-4602-80BF-F106EEE30CFE"


--Apple-Mail=_79EB2382-423C-4602-80BF-F106EEE30CFE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On 26 Jul 2026, at 09:39, Patrick Dupre <[email protected]> wrote:
>=20
> This is not an issue with the number of installed kernels.
> For example
> rpm -q kernel-core
> kernel-core-7.1.4-200.fc44.x86_64
> kernel-core-7.1.4-202.fc44.x86_64
> kernel-core-7.1.4-204.fc44.x86_64
> =20
> I guess that it is an issue with os-prober
> and of os-prober_proxy
> 1) why both?
> It seems that they provide the same entries.
> 2) os-prober and os-prober_proxy probe unmounted partitions
> which may be not relevant
> Can I exclude the probing of specific partitions?
> I guess that I can edit /etc/default/grub
> setting=20
> GRUB_DISABLE_OS_PROBE_PROXY=3D"false"
> but what about specific partitions ?

If you read /etc/grub.d/30_os-prober you will see that setting
GRUB_DISABLE_OS_PROBE_PROXY=3D"true"
Will disable the os probing completely.
No idea how to limit to specific partitions.

I do not have a os-prober_proxy on my f44.

Barry
p.s. I added the list back in.

> =20
> =20
> On 25 Jul 2026, at 21:58, Patrick Dupre via users =
<[email protected]> wrote:
>=20
> Hello,=20
>=20
> =20
> The grub interface (for choosing the distribution to load) offers me
> until 5 options for the a single fedora 44 distribution available on a
> disk partition (in addition older fedora [like 42]).
> This is the result of grub2-mkconfig
> A bit annoying.
>=20
> Some ideas?
> =20
> There is a dnf setting to control how many old kernels will be kept.
> See man dnf.conf and installonly_limit
> =20
> Personally I raise that limit, but you can set to 2.
> At 2 that means that if a new kernel causing you a problem you can
> boot up and choose the last working kernel.
> =20
> There is also the rescue kernel that you can get rid of.
> See =
https://discussion.fedoraproject.org/t/rescue-kernel-removal/139119
> =20
> If you get rid of the rescue kernel make sure that you have a live USB =
in
> case you need to repair your system.
> =20
> Barry
> =20
> =20
> Thank.
> =20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=20
> Patrick DUPR=C3=89 | | email: [email protected]=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

> --=20
> _______________________________________________=20
> users mailing list -- [email protected]=20
> To unsubscribe send an email to [email protected]=20
> Fedora Code of Conduct: =
https://docs.fedoraproject.org/en-US/project/code-of-conduct/=20
> List Guidelines: =
https://fedoraproject.org/wiki/Mailing_list_guidelines=20
> List Archives: =
https://lists.fedoraproject.org/archives/list/[email protected]=
g=20
> Do not reply to spam, report it: =
https://forge.fedoraproject.org/infra/tickets/issues/new


--Apple-Mail=_79EB2382-423C-4602-80BF-F106EEE30CFE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" =
content=3D"text/html; charset=3Dutf-8"></head><body =
style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;"><br =
id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote =
type=3D"cite"><div>On 26 Jul 2026, at 09:39, Patrick Dupre =
&lt;[email protected]&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div><div><div style=3D"font-family: =
verdana; font-size: 12px;">This is not an issue with the number of =
installed kernels.</div>
<div style=3D"font-family: verdana; font-size: 12px;">For example</div>
<div style=3D"font-family: verdana; font-size: 12px;">rpm -q =
kernel-core<br>kernel-core-7.1.4-200.fc44.x86_64<br>kernel-core-7.1.4-202.=
fc44.x86_64<br>kernel-core-7.1.4-204.fc44.x86_64</div>
<div style=3D"font-family: verdana; font-size: 12px;">&nbsp;</div>
<div style=3D"font-family: verdana; font-size: 12px;">I guess that it is =
an issue with os-prober</div>
<div style=3D"font-family: verdana; font-size: 12px;">and of =
os-prober_proxy</div>
<div style=3D"font-family: verdana; font-size: 12px;">1) why both?</div>
<div style=3D"font-family: verdana; font-size: 12px;">It seems that they =
provide the same entries.</div>
<div style=3D"font-family: verdana; font-size: 12px;">2) os-prober and =
os-prober_proxy probe unmounted partitions</div>
<div style=3D"font-family: verdana; font-size: 12px;">which may be not =
relevant</div>
<div style=3D"font-family: verdana; font-size: 12px;">Can I exclude the =
probing of specific partitions?</div>
<div style=3D"font-family: verdana; font-size: 12px;">I guess that I can =
edit /et<span style=3D"background-color: =
#ffffff;">c/default/grub</span></div>
<div style=3D"font-family: verdana; font-size: 12px;"><span =
style=3D"background-color: #ffffff;">setting&nbsp;</span></div>
<div style=3D"font-family: verdana; font-size: =
12px;">GRUB_DISABLE_OS_PROBE_PROXY=3D"false"</div>
<div style=3D"font-family: verdana; font-size: 12px;">but what about =
specific partitions ?</div></div></div></blockquote><div><br></div>If =
you read&nbsp;/etc/grub.d/30_os-prober you will see that =
setting</div><div><span style=3D"font-family: verdana; font-size: =
12px;">GRUB_DISABLE_OS_PROBE_PROXY=3D"true"</span></div><div><span =
style=3D"font-family: verdana; font-size: 12px;">Will disable the os =
probing completely.</span></div><div><span style=3D"font-family: =
verdana; font-size: 12px;">No idea how to limit to specific =
partitions.</span></div><div><br></div><div>I do not have a =
os-prober_proxy on my f44.</div><div><br></div><div><span =
style=3D"font-family: verdana; font-size: =
12px;">Barry</span></div><div><span style=3D"font-family: verdana; =
font-size: 12px;">p.s. I added the list back =
in.</span></div><div><div><div style=3D"font-family: verdana; font-size: =
12px;"><br></div></div><blockquote type=3D"cite"><div><div>
<div style=3D"font-family: verdana; font-size: 12px;">&nbsp;</div>
<div id=3D"signature-container" style=3D"background-color: rgb(255, 255, =
255); font-size: 12px; font-family: verdana;"></div>
<div id=3D"sub-body-container" style=3D"margin: 10px 5px 5px 10px; =
padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, =
229);">
<div style=3D"margin: 0px 0px 10px;">
<div>&nbsp;</div>
</div>
<div>
<blockquote>
<div>On 25 Jul 2026, at 21:58, Patrick Dupre via users =
&lt;[email protected]&gt; wrote:</div>
<br>
<div>
<div>
<div style=3D"font-family: verdana; font-size: 12.0px;">Hello, =
<br><br></div>
<div style=3D"font-family: verdana; font-size: 12.0px;">&nbsp;</div>
<div style=3D"font-family: verdana; font-size: 12.0px;">The grub =
interface (for choosing the distribution to load) offers me</div>
<div style=3D"font-family: verdana; font-size: 12.0px;">until 5 options =
for the a single fedora 44 distribution available on a</div>
<div style=3D"font-family: verdana; font-size: 12.0px;">disk partition =
(in addition older fedora [like 42]).</div>
<div style=3D"font-family: verdana; font-size: 12.0px;">This is the =
result of grub2-mkconfig</div>
<div style=3D"font-family: verdana; font-size: 12.0px;">A bit =
annoying.</div>
</div>
</div>
</blockquote>
<br>
<blockquote>
<div>
<div>
<div style=3D"font-family: verdana; font-size: 12.0px;">Some =
ideas?</div>
</div>
</div>
</blockquote>
<div>&nbsp;</div>
<div>There is a dnf setting to control how many old kernels will be =
kept.</div>
<div>See man dnf.conf and&nbsp;installonly_limit</div>
<div>&nbsp;</div>
<div>Personally I raise that limit, but you can set to 2.</div>
<div>At 2 that means that if a new kernel causing you a problem you =
can</div>
<div>boot up and choose the last working kernel.</div>
<div>&nbsp;</div>
<div>There is also the rescue kernel that you can get rid of.</div>
<div>See&nbsp;<a =
href=3D"https://discussion.fedoraproject.org/t/rescue-kernel-removal/13911=
9" target=3D"_blank" rel=3D"noopener noreferrer" =
data-href=3D"https://discussion.fedoraproject.org/t/rescue-kernel-removal/=
139119">https://discussion.fedoraproject.org/t/rescue-kernel-removal/13911=
9</a></div>
<div>&nbsp;</div>
<div>If you get rid of the rescue kernel make sure that you have a live =
USB in</div>
<div>case you need to repair your system.</div>
<div>&nbsp;</div>
<div>Barry</div>
<div>&nbsp;</div>
<blockquote>
<div>
<div>
<div style=3D"font-family: verdana; font-size: 12.0px;">&nbsp;</div>
<div style=3D"font-family: verdana; font-size: 12.0px;">Thank.</div>
<div style=3D"font-family: verdana; font-size: 12.0px;">&nbsp;</div>
<div style=3D"background-color: #ffffff; font-size: 12.0px; font-family: =
verdana;">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D <br>Patrick DUPR=C3=89 | | email: [email protected] =
<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</div>
</div>
-- <br>_______________________________________________ <br>users mailing =
list -- [email protected] <br>To unsubscribe send an email =
to [email protected] <br>Fedora Code of Conduct: =
https://docs.fedoraproject.org/en-US/project/code-of-conduct/ <br>List =
Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines =
<br>List Archives: =
https://lists.fedoraproject.org/archives/list/[email protected]=
g <br>Do not reply to spam, report it: =
https://forge.fedoraproject.org/infra/tickets/issues/new </div>
</blockquote>
</div>
</div></div>

</div></blockquote></div><br></body></html>=

--Apple-Mail=_79EB2382-423C-4602-80BF-F106EEE30CFE--

--===============7395930817616524791==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

LS0gCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCnVzZXJz
IG1haWxpbmcgbGlzdCAtLSB1c2Vyc0BsaXN0cy5mZWRvcmFwcm9qZWN0Lm9yZwpUbyB1bnN1YnNj
cmliZSBzZW5kIGFuIGVtYWlsIHRvIHVzZXJzLWxlYXZlQGxpc3RzLmZlZG9yYXByb2plY3Qub3Jn
CkZlZG9yYSBDb2RlIG9mIENvbmR1Y3Q6IGh0dHBzOi8vZG9jcy5mZWRvcmFwcm9qZWN0Lm9yZy9l
bi1VUy9wcm9qZWN0L2NvZGUtb2YtY29uZHVjdC8KTGlzdCBHdWlkZWxpbmVzOiBodHRwczovL2Zl
ZG9yYXByb2plY3Qub3JnL3dpa2kvTWFpbGluZ19saXN0X2d1aWRlbGluZXMKTGlzdCBBcmNoaXZl
czogaHR0cHM6Ly9saXN0cy5mZWRvcmFwcm9qZWN0Lm9yZy9hcmNoaXZlcy9saXN0L3VzZXJzQGxp
c3RzLmZlZG9yYXByb2plY3Qub3JnCkRvIG5vdCByZXBseSB0byBzcGFtLCByZXBvcnQgaXQ6IGh0
dHBzOi8vZm9yZ2UuZmVkb3JhcHJvamVjdC5vcmcvaW5mcmEvdGlja2V0cy9pc3N1ZXMvbmV3Cg==

--===============7395930817616524791==--