FreeBSD 9 CURRENT on ZFS

Installing and upgrading FreeBSD.

FreeBSD 9 CURRENT on ZFS

Postby sk8harddiefast » 04 Dec 2011, 07:10

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?
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1982
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece

Postby gkontos » 04 Dec 2011, 10:27

sk8harddiefast wrote: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?


Try installing them one by one. You can also add a -v switch to make it verbose.

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

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

George
Powered by BareBSD
User avatar
gkontos
Senior Member
 
Posts: 1370
Joined: 09 Dec 2009, 08:36
Location: Polidendri, GR

Postby sk8harddiefast » 04 Dec 2011, 15:12

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

Code: Select all
Syntax error: "do" unexpected

Witch is the simplest way to extract the sources?
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1982
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece

Postby sk8harddiefast » 04 Dec 2011, 17:21

Code: Select all
tar -xpvJf base.txz -C /mnt

Solve my problem :)
Also on article:
Code: Select all
zfs umount -a
didnt work.
Code: Select all
umount -f /mnt
made the trick :)
Finally you forgot the first step.
Code: Select all
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 :)
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1982
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece

Postby gkontos » 04 Dec 2011, 18:55

sk8harddiefast wrote:
Code: Select all
tar -xpvJf base.txz -C /mnt

Solve my problem :)


You probably forgot to run the commands in [FILE]sh[/FILE] shell

sk8harddiefast wrote:Also on article:
Code: Select all
zfs umount -a
didnt work.
Code: Select all
umount -f /mnt
made the trick :)/QUOTE]

I thought this was solved because I had it in my previous guide. I should mention it again maybe, sometimes it refuses to unmount without force ;)

sk8harddiefast wrote:Finally you forgot the first step.
Code: Select all
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 :)


Only if you are installing over an existing installation.
Anyway, thanks and welcome to the 9 ZFS club :P
Powered by BareBSD
User avatar
gkontos
Senior Member
 
Posts: 1370
Joined: 09 Dec 2009, 08:36
Location: Polidendri, GR

Postby gkontos » 04 Dec 2011, 18:56

sk8harddiefast wrote:
Code: Select all
Syntax error: "do" unexpected

Witch is the simplest way to extract the sources?


You need to be in [FILE]sh[/FILE] shell !!!

Anyway I am glad it worked for you.
Powered by BareBSD
User avatar
gkontos
Senior Member
 
Posts: 1370
Joined: 09 Dec 2009, 08:36
Location: Polidendri, GR


Return to Installing & Upgrading

Who is online

Users browsing this forum: No registered users and 0 guests