Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2014 19:06:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194359] bsdinstall should set active flag in GPT PMBR if not booting using EFI
Message-ID:  <bug-194359-8-XrLgaRciPd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194359-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194359-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194359

--- Comment #9 from Ed Maste <emaste@freebsd.org> ---
> If the installer knows what the firmware is ((I don't know if we pass anything from the loader to the kernel))

We report if the system was booted by BIOS or UEFI via the machdep.bootmethod
sysctl (returns BIOS or UEFI).

I think this won't help though, because it returns BIOS for both the legacy
BIOS case and the UEFI CSM (i.e. simulated BIOS) case, and based on the
discussion here it seems (some) real BIOS needs the PMBR active flag set while
CSM needs it unset.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194359-8-XrLgaRciPd>