Re: UEFI booting survey

2017-12-24 Thread Arno de Vries
On Sun, Dec 17, 2017 at 8:52 PM, Warner Losh wrote: > Greetings > > If you are booting off UEFI and have a bit of an unusual setup, I'd like > you to drop me a line. > > The setup that I'm looking for is any case where you load boot1.efi off one > drive (cd, ssd, hdd, nvme,

Re: UEFI booting survey [and compared ubldr.bin booting behavior]

2017-12-23 Thread Mark Millard
[Just adding notes about what ubldr.bin does with and without loaderdev being specified (correctly). Overall it does not appear to me that the ubldr.bin based contexts can fully avoid the "systems with multiple partitions that might be right" issue.] On 2017-Dec-20, at 2:47 AM, Mark Millard

Re: UEFI booting survey

2017-12-20 Thread Mark Millard
On 2017-Dec-19, at 9:10 PM, Warner Losh wrote: > On Tue, Dec 19, 2017 at 9:06 PM, Mark Millard wrote: > [The usdcard in my rpi2 example does not contain any kernel files, > nor any dtb files. Only the USB SSD stick does. The kernel and dtb > do not come from the usdcard. This is what I'm not

Re: UEFI booting survey

2017-12-19 Thread Warner Losh
On Tue, Dec 19, 2017 at 9:06 PM, Mark Millard wrote: > [The usdcard in my rpi2 example does not contain any kernel files, > nor any dtb files. Only the USB SSD stick does. The kernel and dtb > do not come from the usdcard. This is what I'm not sure if it is > generally

Re: UEFI booting survey

2017-12-19 Thread Mark Millard
[The usdcard in my rpi2 example does not contain any kernel files, nor any dtb files. Only the USB SSD stick does. The kernel and dtb do not come from the usdcard. This is what I'm not sure if it is generally supported or not.] On 2017-Dec-19, at 7:26 PM, Warner Losh wrote: > On Dec 19, 2017

Re: UEFI booting survey

2017-12-19 Thread Warner Losh
On Dec 19, 2017 4:26 PM, "Mark Millard" wrote: On 2017-Dec-19, at 1:49 PM, Warner Losh wrote: > > > On Dec 19, 2017 10:58 AM, "Mark Millard" wrote: >> On 2017-Dec-18, at 2:37 PM, Warner Losh wrote: >> >> > . . . >> > >> > Or the following pseudo-code with all the weird

Re: UEFI booting survey

2017-12-19 Thread Warner Losh
On Dec 19, 2017 3:38 PM, "Oliver Pinter" wrote: On Tuesday, December 19, 2017, Warner Losh wrote: > On Dec 18, 2017 6:06 PM, "Rodney W. Grimes" < > freebsd-...@pdx.rh.cn85.dnsmgr.net> wrote: > > > On Mon, Dec 18, 2017 at 3:12 PM, Mark Millard

Re: UEFI booting survey

2017-12-19 Thread Mark Millard
On 2017-Dec-19, at 1:49 PM, Warner Losh wrote: > > > On Dec 19, 2017 10:58 AM, "Mark Millard" wrote: >> On 2017-Dec-18, at 2:37 PM, Warner Losh wrote: >> >> > . . . >> > >> > Or the following pseudo-code with all the weird special cases removed for >> > clarity >> > >> > load loader.efi

Re: UEFI booting survey

2017-12-19 Thread Nathan Whitehorn
On 12/19/17 14:38, Oliver Pinter wrote: On Tuesday, December 19, 2017, Warner Losh wrote: [snip] Or the following pseudo-code with all the weird special cases removed for clarity load loader.efi from ESP if Boot uefi variable holds a second path, use that for

Re: UEFI booting survey

2017-12-19 Thread Oliver Pinter
On Tuesday, December 19, 2017, Warner Losh wrote: > On Dec 18, 2017 6:06 PM, "Rodney W. Grimes" < > freebsd-...@pdx.rh.cn85.dnsmgr.net> wrote: > > > On Mon, Dec 18, 2017 at 3:12 PM, Mark Millard > wrote: > > > > > Warner Losh imp at bsdimp.com wrote on > >

Re: UEFI booting survey

2017-12-19 Thread Warner Losh
On Dec 19, 2017 12:26 PM, "Mark Millard" wrote: [I forgot to list the .dtb file with the kernel and world.] On 2017-Dec-19, at 9:58 AM, Mark Millard wrote: > On 2017-Dec-18, at 2:37 PM, Warner Losh wrote: > >> . . . >> >> Or the following pseudo-code with all the weird

Re: UEFI booting survey

2017-12-19 Thread Warner Losh
On Dec 19, 2017 10:58 AM, "Mark Millard" wrote: On 2017-Dec-18, at 2:37 PM, Warner Losh wrote: > . . . > > Or the following pseudo-code with all the weird special cases removed for clarity > > load loader.efi from ESP > if Boot uefi variable holds a second path, use

Re: UEFI booting survey

2017-12-19 Thread Warner Losh
On Dec 18, 2017 6:06 PM, "Rodney W. Grimes" < freebsd-...@pdx.rh.cn85.dnsmgr.net> wrote: > On Mon, Dec 18, 2017 at 3:12 PM, Mark Millard wrote: > > > Warner Losh imp at bsdimp.com wrote on > > Mon Dec 18 20:29:45 UTC 2017 : > > > > > The specific thing we will stop doing is

Re: UEFI booting survey

2017-12-19 Thread Mark Millard
[I forgot to list the .dtb file with the kernel and world.] On 2017-Dec-19, at 9:58 AM, Mark Millard wrote: > On 2017-Dec-18, at 2:37 PM, Warner Losh wrote: > >> . . . >> >> Or the following pseudo-code with all the weird special cases removed for >> clarity >> >> load loader.efi from ESP

Re: UEFI booting survey

2017-12-19 Thread Mark Millard
On 2017-Dec-18, at 2:37 PM, Warner Losh wrote: > . . . > > Or the following pseudo-code with all the weird special cases removed for > clarity > > load loader.efi from ESP > if Boot uefi variable holds a second path, use that for root/kernel > otherwise if an override variable holds a

Re: UEFI booting survey

2017-12-18 Thread Rodney W. Grimes
> On Mon, Dec 18, 2017 at 3:12 PM, Mark Millard wrote: > > > Warner Losh imp at bsdimp.com wrote on > > Mon Dec 18 20:29:45 UTC 2017 : > > > > > The specific thing we will stop doing is that in the absence of > > > instructions to the contrary, we will no longer search for

Re: UEFI booting survey

2017-12-18 Thread Mark Millard
Warner Losh imp at bsdimp.com wrote on Mon Dec 18 20:29:45 UTC 2017 : > The specific thing we will stop doing is that in the absence of > instructions to the contrary, we will no longer search for root on a device > other than the one the loader.efi came from. Warner Losh imp at bsdimp.com

Re: UEFI booting survey

2017-12-18 Thread Warner Losh
On Mon, Dec 18, 2017 at 3:12 PM, Mark Millard wrote: > Warner Losh imp at bsdimp.com wrote on > Mon Dec 18 20:29:45 UTC 2017 : > > > The specific thing we will stop doing is that in the absence of > > instructions to the contrary, we will no longer search for root on a >

Re: UEFI booting survey

2017-12-18 Thread Warner Losh
On Mon, Dec 18, 2017 at 1:21 PM, Maxim Sobolev wrote: > Not really specific to UEFI, but when ZFS is in use the /boot might be > partially or fully located on the drive that does not correspond to your > boot drive. We've bumped into this issue on AWS recently when our

Re: UEFI booting survey

2017-12-18 Thread Maxim Sobolev
Not really specific to UEFI, but when ZFS is in use the /boot might be partially or fully located on the drive that does not correspond to your boot drive. We've bumped into this issue on AWS recently when our kernel ended up on second drive after upgrade in a pool that were spanning two EBS

Re: UEFI booting survey

2017-12-18 Thread Jakob Alvermark
On 12/17/17 20:52, Warner Losh wrote: Greetings If you are booting off UEFI and have a bit of an unusual setup, I'd like you to drop me a line. The setup that I'm looking for is any case where you load boot1.efi off one drive (cd, ssd, hdd, nvme, etc), but don't have a FreeBSD system on that

UEFI booting survey

2017-12-17 Thread Warner Losh
Greetings If you are booting off UEFI and have a bit of an unusual setup, I'd like you to drop me a line. The setup that I'm looking for is any case where you load boot1.efi off one drive (cd, ssd, hdd, nvme, etc), but don't have a FreeBSD system on that drive, but on a different drive on the