Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

UEFI dual boot zfs root

72 views
Skip to first unread message

Andreas Nilsson

unread,
May 15, 2016, 4:24:26 PM5/15/16
to
Hello,

I'm trying to install current on my lenovo x1 yoga ( and keeping it dual
boot for now).

I have a fair amount of disk free after resizing. I can't seem to workout
how to do the partitioning. Do I only need the freebsd-zfs partition (
assuming no/zvol-swap?

Do I manually copy boot1.efi to the existing EFI partition?

Best regards
Andreas
_______________________________________________
freebsd...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"

Warren Block

unread,
May 17, 2016, 12:51:26 PM5/17/16
to
On Sun, 15 May 2016, Andreas Nilsson wrote:

> Hello,
>
> I'm trying to install current on my lenovo x1 yoga ( and keeping it dual
> boot for now).
>
> I have a fair amount of disk free after resizing. I can't seem to workout
> how to do the partitioning. Do I only need the freebsd-zfs partition (
> assuming no/zvol-swap?

I would think, but have not tested ZFS with UEFI.

> Do I manually copy boot1.efi to the existing EFI partition?

Yes. Mount the EFI partition with msdosfs, then copy boot1.efi to
/EFI/BOOT/. Then comes the tricky part, getting the UEFI firmware to
add that as a boot option. In a Dell UEFI system, it could be added to
the boot options, and the firmware has the user select the file from the
EFI partition for that option.

Ben Woods

unread,
May 17, 2016, 1:31:38 PM5/17/16
to
Indeed, just 4 days ago I installed a recent snapshot of FreeBSD 11
current, with root on ZFS and UEFI.

I had to do 2 steps manually, as they were not supported by the installer
as an auto option:

1. The auto root on ZFS settings don't let you use a partition or spare
space... You must give it a full disk. But because I was dual booting
Windows I chose manual partitioning, dropped to a shell and setup the zpool
and zfs datasets manually, with altroot=/mnt. Rather than follow one of the
outdated wiki manuals, I used them as a general guide, but read the
bsdinstall auto shell script to set it up with the same datasets and
properties.

2. After the install had completed, I had to mount my efi partition as
msdosfs and copy the boot1.efi to it. For me, I have installed the rEFInd
boot loader, so I just copy the file into /EFI/Boot/ and it shows up in the
menu upon boot.
http://www.rodsbooks.com/refind/

The FreeBSD EFI loading of a ZFS file system works great!

Cheers,
Ben


--

--
From: Benjamin Woods
wood...@gmail.com

Andreas Nilsson

unread,
May 17, 2016, 4:50:21 PM5/17/16
to
Thank you both! I'll resume the installation procedures then!

Best regards
Andreas
0 new messages