Date: Fri, 17 Jul 2009 15:25:16 -0500 From: Jason Garrett <kingedgar@gmail.com> To: Drew Tomlinson <drew@mykitchentable.net>, "Andrey V. Elsukov" <bu7cher@yandex.ru>, freebsd-current <freebsd-current@freebsd.org>, freebsd-questions@freebsd.org Subject: Re: Attempting ZFS Only Install of 7.2 Message-ID: <970380130907171325q72f82013k778db5bcf9fcba67@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <drew@mykitchentable.net> 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. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?970380130907171325q72f82013k778db5bcf9fcba67>