From owner-freebsd-current@freebsd.org Tue May 17 17:31:14 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97F34B3FB6F for ; Tue, 17 May 2016 17:31:14 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 399D21739 for ; Tue, 17 May 2016 17:31:14 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id e201so149209672wme.0 for ; Tue, 17 May 2016 10:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=uYSVbkLryKEVbhlVf5fyRvLalQEI35DNgYSSfyDke9E=; b=Eb6vP9skU2avMyr+uwMR83xMMOGH32qAdsnC7Jv+3Z0BP1FzooiNQvHqyI3PN2z2qm AwH2O3e8OdN4W+108ZnYDL2eGLwaFanUEXOLvjcGtKX7H4BU37a2OEQOshC89n3qCuYD IadXHx4BXBXVdfN4XSChXnf50g6Oy8togww0cERVpoPN98AmkyB4GFE8qctCWxL7uKff POfCewBInbRjU6NznEJuxS3r9fA8WyFk2TAmlxlPnKoCmEs0q1yF62iGRFnt/kVgVA4Q n/qS5dFWABWgKIRm4et5rgkvgB8ZpCfWY3mDX9rdTYU1zERlPsikLMspuZHhCeF+SSps qrnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=uYSVbkLryKEVbhlVf5fyRvLalQEI35DNgYSSfyDke9E=; b=XqqfTsPMaR2hpngyu3tJcC4dgm95x0+v8uD5Q673FOYZobmnxMsWp3TGf15Uwjfcmc MBFSOc5gymNMbUw59dNKh2prlMTUpnZ/LS0E1f4oJNjR1lGPS8a1Ow91iqo5lN1mtu9X X87ibb2XiD0NGiBaKYa37Pw1Ai73XE0tO4aKJQ9ChQ6iv17AupXrIBuaKkXtDVGYLltJ w2KTL21Ynzj6xnNuDI+k/6xxox3sxvfBr3lkkvIrx6XdfUlCKklpXCWTRybhL2sJFDqh TTfHz/Ew+PpPJY+IbgpDxohHjY0CxVCywFjve/3whQWuF8BTEwl+q3/xL/EOcEVZw6q+ tCfg== X-Gm-Message-State: AOPr4FWcjYAreWwid+6NH1yVc3dbZ6poa0cUNX016mO46LKsePqYh824TIb5OHdCSd2UMtT6014OnQaQX5Xx8g== MIME-Version: 1.0 X-Received: by 10.28.161.198 with SMTP id k189mr25308947wme.23.1463506272674; Tue, 17 May 2016 10:31:12 -0700 (PDT) Received: by 10.194.16.201 with HTTP; Tue, 17 May 2016 10:31:12 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 May 2016 19:31:12 +0200 Message-ID: Subject: Re: UEFI dual boot zfs root From: Ben Woods To: Warren Block Cc: Andreas Nilsson , Current FreeBSD Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 17:31:14 -0000 On Tuesday, 17 May 2016, Warren Block wrote: > 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. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > 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 woodsb02@gmail.com