From owner-freebsd-current@FreeBSD.ORG Fri Jul 17 20:14:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC4561065674 for ; Fri, 17 Jul 2009 20:14:18 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtp1.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.freebsd.org (Postfix) with SMTP id 8D9AB8FC16 for ; Fri, 17 Jul 2009 20:14:18 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: (qmail 15091 invoked from network); 17 Jul 2009 13:36:50 -0700 Received: by simscan 1.1.0 ppid: 15067, pid: 15068, t: 2.1754s scanners: regex: 1.1.0 attach: 1.1.0 spam: 3.1.7-deb X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on smtp1.surewest.net X-Spam-Level: X-Spam-Status: No, score=0.0 required=10.0 tests=none autolearn=disabled version=3.1.7-deb X-Spam-CMAE-Analysis: v=1.0 c=1 a=l6znrEm5JCIA:10 a=MitFodcrAAAA:8 a=6I5d2MoRAAAA:8 a=ZdxuAy1PlAmE2X3w4u4A:9 a=dGt5VsnOiX7qEyk47WOww2MsGJYA:4 Received: from unknown (HELO blacklamb.mykitchentable.net) (69.62.230.77) by smtp1 with SMTP; 17 Jul 2009 13:36:48 -0700 Received: from [127.0.0.1] (bigdaddy.mykitchentable.net [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTPA id 9B353164E09; Fri, 17 Jul 2009 13:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1247861655; bh=Y2d2iHAb4TdOakGwlu2ocg1kEJL6vPGHWDdpPW3oedU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=DIjHPjeb0Ox9nUVOtXVCvX7gWx1OdyNg9qZ0BqRXGG2PnmGOM7OnSgQMsQI19uOxd WfTUnaKE99w5h1d359xD1OIERLU7MFbXnWBv6t/EnvIS8R7FdshCOGZkZ1ebOwcmQu ciqghZjaKaKWyRktk4XWtJTrgnXeDUR43QlsqDwA= Message-ID: <4A60DB90.6070303@mykitchentable.net> Date: Fri, 17 Jul 2009 13:14:08 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: "Andrey V. Elsukov" References: <4A57E38B.5050108@mykitchentable.net> <970380130907122109g4e160373m37259a3c40d48373@mail.gmail.com> <4A5B7D28.1080000@mykitchentable.net> <970380130907131500u2d300ben4ddec327cc54d2b4@mail.gmail.com> <4A5BBEC5.200@mykitchentable.net> <970380130907151512k4870af65q55f7ed0545fa6521@mail.gmail.com> <970380130907151733w2f226b37r31a189e73ec54dc2@mail.gmail.com> <4A5ED9AE.4010003@yandex.ru> In-Reply-To: <4A5ED9AE.4010003@yandex.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 090717-0, 07/17/2009), Outbound message X-Antivirus-Status: Clean X-Mailman-Approved-At: Fri, 17 Jul 2009 20:30:21 +0000 Cc: Jason Garrett , freebsd-current , freebsd-questions@freebsd.org Subject: Re: Attempting ZFS Only Install of 7.2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 17 Jul 2009 20:14:19 -0000 Andrey V. Elsukov wrote: > Jason Garrett wrote: >> Top Post, I know... but has anyone on @current tried a full on ZFS on >> ROOT >> with GPTZFSBOOT? >> >> Both Drew and I have both tried the guide at >> http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/ >> (dead >> link now :( ) >> >> I get as far as the message I detailed before using parts from another >> guide. I am hoping for both of us, that someone here knows even a little >> bit. > > I installed 8.0-BETA1 on ZFS 2 days ago. It works. I did following steps: > > 1. Boot from bootable USB-flash (Minimal FreeBSD installation with > copy of install CD). I can't figure out how to create bootable USB from Windows. Do not have FBSD system with USB to create. Thus I have booted from DVD made from 8.0-BETA2-amd64-dvd1.iso > > 2. Create partitions > # gpart show ad0 > => 34 312581741 ad0 GPT (149G) > 34 256 1 freebsd-boot (128K) > 290 4194304 2 freebsd-swap (2.0G) > 4194594 251658240 3 freebsd-zfs (120G) > 255852834 56728941 - free - (27G) > > 3. Create zpool and filesystem hierarchy > > 4. Install FreeBSD from copy of install CD to ZFS. I used sysinstall > with custom > options (Install Root and Media Type) I am stuck at this point. I have my zpool mounted at /zpool in the FixIt environment. Then I exit FixIt and choose "Custom" from sysinstall. I set appropriate "Options". Next I select my distributions. Finally I hit "Commit" but systinstall complains that I haven't labeled any disks. What step am I missing? Thanks, Drew > > 5. Create /etc/fstab, /etc/rc.conf, /etc/src.conf, /boot/loader.conf > http://wiki.freebsd.org/ZFSOnRootWithZFSboot#line-118 > > 6. Install ZFS aware /boot/loader > http://wiki.freebsd.org/ZFSOnRootWithZFSboot#line-144 > > 7. Create zpool.cache > > 8. Install ZFS boot: > # gpart bootcode -b /zroot/boot/pmbr ad0 > # gpart bootcode -p /zroot/boot/gptzfsboot -i 1 ad0 > > 9. Change mount points for zroot pool and reboot. > > It's all.