From owner-freebsd-questions@FreeBSD.ORG Fri Jul 17 20:25:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BDE3106582F; Fri, 17 Jul 2009 20:25:18 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id 2967F8FC1A; Fri, 17 Jul 2009 20:25:17 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: by an-out-0708.google.com with SMTP id d14so522050and.13 for ; Fri, 17 Jul 2009 13:25:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Lf1dPlBeXgH4FBhCg2nPFbufeuwoB7RjRTEQ5/mrXc8=; b=g+xgsXjTyE8+9lJHilwXIbSHWLYmaGoXvQ8uXTIJPURAERJujFlKD8VKzcj761JVbA ZY9N6LIvU+8EnoZE/3B41ALlYe3CXnm0Syo4Izr3tRCag8G/WU5NOC59bSl1y9DXd357 068HBTnzRHg51unjssdGSK5tHqxp8L82B+f7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=IEyvh7QUdmgvaeO1iPcDYI+f9EjopCIRRWjDpHHKbLdJzyAOeNX5tkFd60lRa8Ckef OZh2o6p8BFRxM2Dus59n60+RF0A3uhNlGu3NhAaKfFJHtWlSZ0tKXiHUxTSlvkutzGmA c/uMY0oaAIFJn/4L2Cb3pAanoX8DN9FGQNpQc= MIME-Version: 1.0 Received: by 10.100.110.19 with SMTP id i19mr2167547anc.1.1247862317384; Fri, 17 Jul 2009 13:25:17 -0700 (PDT) In-Reply-To: <4A60DB90.6070303@mykitchentable.net> 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> <4A60DB90.6070303@mykitchentable.net> Date: Fri, 17 Jul 2009 15:25:16 -0500 Message-ID: <970380130907171325q72f82013k778db5bcf9fcba67@mail.gmail.com> From: Jason Garrett To: Drew Tomlinson , "Andrey V. Elsukov" , freebsd-current , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Attempting ZFS Only Install of 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2009 20:25:20 -0000 I will post my exact steps around 1800 CDT, and probably put it up on my webserve later on. Do only @freebsd.org members have access to the FreeBSD wiki? I'm posting from my bb at work so sorry if this top posts or messes anything else up. On 7/17/09, Drew Tomlinson wrote: > 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. >