NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GPT and UEFI booting



Hello,

Le Tue, Apr 05, 2022 at 08:28:56AM +0000, RVP a écrit :
> On Tue, 5 Apr 2022, tlaronde%polynum.com@localhost wrote:
> 
> > But there doesn't seem to be an option to unset the active flag on the
> > PMBR---and using fdisk(8) is _not_ the answer (I have tried it), since
> > if one uses it and rewrite the (P)MBR, the GPT is lost (`gpt restore'
> > doesn't even see the backup copy of the GPT stuff so, fortunately,
> > I had `gpt backup' before...).
> > 
> > Has anyone already faced such situation and does anyone know how to
> > remove the active flag from the GPT PMBR without breaking everything?
> > 
> 
> Doesn't `gpt unset -a biosboot/bootme ...' do the job?

No. This affects only a GPT partition not the "whole" pseudo-partition
put as a MBR first slot. One can set these flags without flagging the
PMBR as active, so...
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index