1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FreeBSD 9 CURRENT on ZFS

Discussion in 'Installing and Upgrading FreeBSD' started by sk8harddiefast, Dec 4, 2011.

  1. sk8harddiefast

    sk8harddiefast Active Member

    Messages:
    2,031
    Thanks Received:
    158
    I follow this article about how to install FreeBSD on ZFS. Everything was fine until section 10 (Install FreeBSD).
    Command just do nothing. I wait 2 hours. No errors but still tar?
     
  2. gkontos

    gkontos Active Member

    Messages:
    1,390
    Thanks Received:
    245
    Try installing them one by one. You can also add a -v switch to make it verbose.

    # do (cat $base.txz | tar --unlink -xpvJf - -C ${DESTDIR:-/}); done
    # do (cat $lib32.txz | tar --unlink -xpvJf - -C ${DESTDIR:-/}); done
    # ...

    You could skip ports.txz and source.txz also.
    Please let me know how it goes,

    George
     
  3. sk8harddiefast

    sk8harddiefast Active Member

    Messages:
    2,031
    Thanks Received:
    158
    Code:
    Syntax error: "do" unexpected

    Witch is the simplest way to extract the sources?
     
  4. sk8harddiefast

    sk8harddiefast Active Member

    Messages:
    2,031
    Thanks Received:
    158
    Code:
    tar -xpvJf base.txz -C /mnt

    Solve my problem :)
    Also on article:
    Code:
    zfs umount -a
    didnt work.
    Code:
    umount -f /mnt
    made the trick :)
    Finally you forgot the first step.
    Code:
    gpart destroy -F ada0

    You must first to destroy Filesystem, slices etc before start build on zfs.
    But article is really good and a very big thanks. Is the first time in my life that I made it :)
    FreeBSD on ZFS :)
     
  5. gkontos

    gkontos Active Member

    Messages:
    1,390
    Thanks Received:
    245
    You probably forgot to run the commands in sh shell

    Only if you are installing over an existing installation.
    Anyway, thanks and welcome to the 9 ZFS club :p
     
  6. gkontos

    gkontos Active Member

    Messages:
    1,390
    Thanks Received:
    245
    You need to be in sh shell !!!

    Anyway I am glad it worked for you.