Archive

Posts Tagged ‘mfsbsd’

How To Install FREEBSD support ZFS?

May 31, 2011 1 comment

For the quick reference, you can go to the mfsBSD site.

What is mfsBSD?
mfsBSD compiled by Martin Matuška <mm@FreeBSD.org>. mfsBSD is a set of scripts that generates a bootable image (and/or ISO file), that creates a working minimal installation of FreeBSD. It is completely loaded into memory.

Ok, cut it off, and let’s start.

This is the step by step procedure:

1. download mfsBSD iso from http://mfsbsd.vx.sk/, download it according to your arch (i386 or amd64)

2. burn the iso, and start booting from the CD you’d burned.

boot menu on pc

boot menu

3.  you’ll get the FREEBSD boot menu, and choose 1. Boot FreeBSD [default]
FREEBSD's Boot Menu

4. After succesfull booting, you’lll get login prompt like the picture below
FreeBSD Login

5. use this username and password for login
login : root
password : mfsroot

6.  after successfull login, you’ll get prompt like picture below
FreeBSD Login Success

7. about partition on hdd
# gpart show
notes: to show partition on our hdd
# gpart destroy -F ad4
function: destory all parttion on our hdd, which my hdd listed as ad4 (our hdd listed maybe diffrent, so use gpart show to get list of your hdd)

8. mount the cd-rom
# mount_cd9660 /dev/cd0 /cdrom
notes: mounting cd-rom, i use usb cd-rom, and yours maybe different

9. start install FreeBSD with support ZFS
zfsinstall -d /dev/ad4 -t /cdrom/8.2-RELEASE-amd64.tar.xz -s 2G -V 15
notes: install FreeBSD with support ZFS on my /dev/ad4 (HDD) from my usb-cdrom with -s 2G (memory 2 GB) and -V 15 (ZFS Version)

10. type below command on console
# chroot /mnt
# passwd root

11. success install FreeBSD with ZFS support, and reboot
# reboot
notes: reboot the machine, after success installing