Date: Tue, 13 Aug 2024 06:38:44 -0600 From: Warner Losh <imp@bsdimp.com> To: Daniel Braniss <danny@cs.huji.ac.il> Cc: freebsd-hackers <hackers@freebsd.org> Subject: Re: FreeBSD 14.1 and UEFI boot ignores bootme flag Message-ID: <CANCZdfoqJkcgvG_oS_nQfQABvq8E5sQO7piggj_42Qf=6iA3PA@mail.gmail.com> In-Reply-To: <0C0CF611-4C88-4EF1-9F9A-3A35D5236854@cs.huji.ac.il> References: <0C0CF611-4C88-4EF1-9F9A-3A35D5236854@cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000008b7d22061f8fe447 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Aug 13, 2024, 12:11=E2=80=AFAM Daniel Braniss <danny@cs.huji.ac.il>= wrote: > hi, > my disk has 2 root partitions, and once I switched to UEFI boot, > can=E2=80=99t boot the second partition: > (the hardware is a bit old, Dell PowerEdge R710 with bios from 05/22/2018= ) > > store-08# gpart show -l > =3D> 40 5857345456 mfid0 GPT (2.7T) > 40 81920 1 efi (40M) > 81960 8388608 2 root (4.0G) > 8470568 8388608 3 root0 [bootme] (4.0G) > 16859176 8388608 4 d1 (4.0G) > 25247784 8388608 5 d2 (4.0G) > 33636392 5823709104 6 zfs (2.7T) > > it only boots from partition 2. > > so is there any magic? > Use efibootmgr. Bootme flags are non-standard and have been ignored in UEFI since the start. Or better yet, use boot environments. They are so much nicer than ufs ping pongs. Warner thanks, > danny > > > --0000000000008b7d22061f8fe447 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Tue, Aug 13, 2024, 12:11=E2=80=AFAM Daniel Braniss = <<a href=3D"mailto:danny@cs.huji.ac.il">danny@cs.huji.ac.il</a>> wrot= e:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= rder-left:1px #ccc solid;padding-left:1ex">hi,<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 my disk has 2 root partitions, and once I switc= hed to UEFI boot, can=E2=80=99t boot the second partition:<br> (the hardware is a bit old, Dell PowerEdge R710 with bios from 05/22/2018)<= br> <br> store-08# gpart show -l<br> =3D>=C2=A0 =C2=A0 =C2=A0 =C2=A0 40=C2=A0 5857345456=C2=A0 mfid0=C2=A0 GP= T=C2=A0 (2.7T)<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A040=C2=A0 =C2=A0 =C2=A0 =C2=A081920=C2=A0 = =C2=A0 =C2=A0 1=C2=A0 efi=C2=A0 (40M)<br> =C2=A0 =C2=A0 =C2=A0 81960=C2=A0 =C2=A0 =C2=A08388608=C2=A0 =C2=A0 =C2=A0 2= =C2=A0 root=C2=A0 (4.0G)<br> =C2=A0 =C2=A0 8470568=C2=A0 =C2=A0 =C2=A08388608=C2=A0 =C2=A0 =C2=A0 3=C2= =A0 root0=C2=A0 [bootme]=C2=A0 (4.0G)<br> =C2=A0 =C2=A016859176=C2=A0 =C2=A0 =C2=A08388608=C2=A0 =C2=A0 =C2=A0 4=C2= =A0 d1=C2=A0 (4.0G)<br> =C2=A0 =C2=A025247784=C2=A0 =C2=A0 =C2=A08388608=C2=A0 =C2=A0 =C2=A0 5=C2= =A0 d2=C2=A0 (4.0G)<br> =C2=A0 =C2=A033636392=C2=A0 5823709104=C2=A0 =C2=A0 =C2=A0 6=C2=A0 zfs=C2= =A0 (2.7T)<br> <br> it only boots from partition 2.<br> <br> so is there any magic?<br></blockquote></div></div><div dir=3D"auto"><br></= div><div dir=3D"auto">Use efibootmgr. Bootme flags are non-standard and hav= e been ignored in UEFI since the start.</div><div dir=3D"auto"><br></div><d= iv dir=3D"auto">Or better yet, use boot environments. They are so much nice= r than ufs ping pongs.</div><div dir=3D"auto"><br></div><div dir=3D"auto">W= arner</div><div dir=3D"auto"><br></div><div dir=3D"auto"><div class=3D"gmai= l_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde= r-left:1px #ccc solid;padding-left:1ex"> thanks,<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 danny<br> <br> <br> </blockquote></div></div></div> --0000000000008b7d22061f8fe447--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoqJkcgvG_oS_nQfQABvq8E5sQO7piggj_42Qf=6iA3PA>