Solved. Re: Dualboot and ZFS

Trond Endrestøl Trond.Endrestol at
Fri Mar 23 10:33:36 UTC 2018

On Thu, 22 Mar 2018 08:50+0700, Victor Sudakov wrote:

> Trond Endrestøl wrote:
> > > Why do you need rEFInd at all if your laptop's UEFI environment can
> > > choose which OS to boot? 
> >
> > Unless I want to boot the default, I have to hit F12 every time I want 
> > to boot something else. This is on a Dell Latitude E5530. If I could 
> > persuade the UEFI boot firmware to always present its menu, I wouldn't 
> > need rEFInd at all. It's nice to have something that presents me with 
> > a menu and remembers what I chose the last time and selects that after 
> > a configureable timeout. It's also nice to have additional means 
> > readily available should rEFInd implode.
> Trond, thanks for the enlightenment, I think I grasp the idea. Two
> more questions if you please:

> 1. If I have more than one freebsd-ufs partition, how can I configure
> boot1.efi (AKA /EFI/BOOT/BOOTX64.EFI) to boot the loader from a
> particular partition, not from the first one?

I doubt you can without modifying the source code. Such has never been 
an issue at my end. Maybe someone else will chime in.

> 2. Why are /boot/boot1.efi and /EFI/BOOT/BOOTX64.EFI (extracted from
> boot1.efifat) so different, even different length? They are supposed
> to be one and the same file, aren't they?

It's done this way to simplify the creation of boot1.efifat which is 
the image for the 800K FAT filesystem. Have a look at the Makefiles in 
stand/efi/boot1 in the source tree.


More information about the freebsd-questions mailing list