Hi,
I upgraded my hardware from 500mhz/320mb memory, 500gb IDE harddrive to a Atom based Intel Board 1,6ghz with 2GB memory and a 1TB harddisk SATA.
Since I have a running and configured operating system on my old harddrive, I want to move it to the new bigger disk and also want to move from ufs to zfs. I've read a lot of articles and howtos how to set up ZFS but some confusion left in my head.
Most of the howto's I've found are based on older FreeBSD versions, and all the howtos say "make this and this" but they don't explain why they do so or what are the circumstances to do it that way and not another one.
Anyway... My first point of confusion is: What kind of disk layout do I need?! GPT? MBR? BSD?!
In my new BIOS I found a option called "UEFI Support", does this have any influence on the decision of having a "special" boot partition or not?
My current try is to have my terabyte on ad6, created a GPT disklayout with gpart (of course), created with gpart a freebsd-zfs partition which resulted in having a ad6p1. I boot from a "quick and dirty setted up freebsd to recover my old system" from ad4, where I can use the ZFS filesystem with no problem.
I tried to install bootstuff with
This results in: ad6 (or ad6p1) has bootcode
but I can't boot from ad6, it says: "missing boot code".
Is it possible to have just one zfs partition on the disk, without having a explicit freebsd-boot partition?
I have to admit that I'm new to "gpart" and "zfs"... using gpart is a lot easier to use fdisk and disklabel, but I don't get it up 'n running...
Thanks in advance.
- mirko
I upgraded my hardware from 500mhz/320mb memory, 500gb IDE harddrive to a Atom based Intel Board 1,6ghz with 2GB memory and a 1TB harddisk SATA.
Since I have a running and configured operating system on my old harddrive, I want to move it to the new bigger disk and also want to move from ufs to zfs. I've read a lot of articles and howtos how to set up ZFS but some confusion left in my head.
Most of the howto's I've found are based on older FreeBSD versions, and all the howtos say "make this and this" but they don't explain why they do so or what are the circumstances to do it that way and not another one.
Anyway... My first point of confusion is: What kind of disk layout do I need?! GPT? MBR? BSD?!
In my new BIOS I found a option called "UEFI Support", does this have any influence on the decision of having a "special" boot partition or not?
My current try is to have my terabyte on ad6, created a GPT disklayout with gpart (of course), created with gpart a freebsd-zfs partition which resulted in having a ad6p1. I boot from a "quick and dirty setted up freebsd to recover my old system" from ad4, where I can use the ZFS filesystem with no problem.
I tried to install bootstuff with
# gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad6
This results in: ad6 (or ad6p1) has bootcode
but I can't boot from ad6, it says: "missing boot code".
Is it possible to have just one zfs partition on the disk, without having a explicit freebsd-boot partition?
I have to admit that I'm new to "gpart" and "zfs"... using gpart is a lot easier to use fdisk and disklabel, but I don't get it up 'n running...
Thanks in advance.
- mirko