[SOLVED]Re: How to create ZFS on Root using MBR slices?

Scot Hetzel swhetzel at gmail.com
Mon Jul 13 00:09:42 UTC 2009


On Sun, Jul 12, 2009 at 7:01 PM, Jason Garrett<kingedgar at gmail.com> wrote:
>
>
>>snip-all
>
> I have a bit of a problem with the instructions, specifically the part
> below...
>
> 1. Fixit# cd src ; ./install.sh all
> 2. Fixit# cd ./kernel ; ./install.sh generic
> 3. Fixit# cd /zroot/boot ; cp -rp GENERIC/* ../kernel
>
>
> Line one works fine and as expected. Line two does not work, spits out this
> error: cd: can't cd to ./kernel.
>
> If I run cd ../kernel; ./install.sh generic it does not error, but the next
> line does, like this...
>
>
> cp: ../kernel is not a directory
>
>
>
> Any ideas on what I might be doing wrong?
>
The instructions were in error, I have updated them to::

8. install FreeBSD to zroot

Fixit# cd /dist/8.0-20090628-SNAP
Fixit# export DESTDIR=/zroot
Fixit# for dir in base catpages dict doc games info lib32 manpages ports; \
          do (cd $dir ; ./install.sh) ; done
Fixit# cd src ; ./install.sh all
Fixit# cd ../kernel ; ./install.sh generic
Fixit# cd /zroot/boot ; cp -rp GENERIC/* /zroot/boot/kernel/

Scot


More information about the freebsd-current mailing list