From owner-freebsd-current@freebsd.org Tue May 17 20:49:56 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 B4E8DB3FDC1 for ; Tue, 17 May 2016 20:49:56 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0:400c:c05::236]) (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 6D9361CEA for ; Tue, 17 May 2016 20:49:56 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-vk0-x236.google.com with SMTP id z184so36187968vkg.0 for ; Tue, 17 May 2016 13:49:56 -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=1dfJcy2RT5ncxttheJ3k7h3m3r4kmsLdHGdG37/7pvI=; b=GGSlTKcvWOCofSCdyeLhgaq5KqnKotyufYDxOfJ0abr370Q0C42ACO9m9NnE7a421x SeoUI9gfB0D+/nDfq9lYiaFmyGVECxt+16ihJwt+HvMU/+S5QFGqWO/Asf0CQgENnbK2 GLEBtcjliSix4E/SyJILsEcLQAVHOh3PiQOidT5mLNPcse5ylaWVwtNKpeR0Fgbkik1j zizrZhsn3SCzZXaAlZfN6AuTWh3GnYgYu/uTlp3/o6ZMYrOn1APTlvnJITdufqN8Mrq8 uLGgXEwrTozV2Ka4rMpZ7x696oYAQBL/pOlr0oPatSt2wT2JzIpTN2h+OQiDQ+3/fdVh IaWw== 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=1dfJcy2RT5ncxttheJ3k7h3m3r4kmsLdHGdG37/7pvI=; b=QO+FCJAMiyOQ45z0xBN+X4mFyFVL3jpoGWXK4xLWc4BbxjRpIw+dawA9pdSrhKp9xg bs9UYRVX44DqvUvOy0CaS4KHg4MqDkKy4MJ3qsgKFTE6VZJY6h7ozbnvfdwhMwvSOB49 33bLtbICxsGgXg+Esy5Aab07qk42xKcVxeNhsJLa2XMp2CqL0GfetmLL+BozSWLggWF2 5X9PMdPm56etqvM1gXmosuJnmfXWiUG6j6j3a5HoisO/0EJLpOXWyWJzFcHyDrJmSLRH xuWQAIrq4iNTbvoCHox5F/b5NjskJJfl0mrvN5Y5xohJuKXmE7K3n90kWa7/HBXXQFv7 7Gvw== X-Gm-Message-State: AOPr4FWunokZ2eF9FjBa8+jPP3+EIDiXzJNrr3KH3F5kzSDd/SXwOawjO15q5DQTx4h2SlSaqylmTs1E/X5tQw== MIME-Version: 1.0 X-Received: by 10.31.70.193 with SMTP id t184mr1863258vka.123.1463518195551; Tue, 17 May 2016 13:49:55 -0700 (PDT) Received: by 10.176.6.136 with HTTP; Tue, 17 May 2016 13:49:55 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 May 2016 22:49:55 +0200 Message-ID: Subject: Re: UEFI dual boot zfs root From: Andreas Nilsson To: Ben Woods Cc: Warren Block , 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 20:49:56 -0000 On Tue, May 17, 2016 at 7:31 PM, Ben Woods wrote: > 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 Thank you both! I'll resume the installation procedures then! Best regards Andreas