I have been trying to install using 8.0-RELEASE-amd64-memstick to a system according to these directions: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror
The only ways I have deviated from the instructions are:
1. dd'ing the first 1M with /dev/zero for each HDD (otherwise gpart will complain)
2.
(instead of explicitly entering the size and beginning in blocks)
3. Not having so many ZFS partitions, including /var/empty (only /tmp, /var, /usr, /usr/home).
The first issue to occur is that I cannot mirror the swap - /dev/gpt only contains disk0 and disk4, and /dev/mirror contains swap0 (already mirrored?). The most important issue, however, is that the system simply cannot boot from either HDD, as if the MBR is nonexistent/incorrect.
Any ideas? Thanks in advance.
The only ways I have deviated from the instructions are:
1. dd'ing the first 1M with /dev/zero for each HDD (otherwise gpart will complain)
2.
Code:
Fixit# gpart add -s 128 -t freebsd-boot ad0
Fixit# gpart add -s 5g -t freebsd-swap -l swap0 ad0
Fixit# gpart add -t freebsd-zfs -l disk0 ad0
Fixit# gpart add -s 128 -t freebsd-boot ad4
Fixit# gpart add -s 5g -t freebsd-swap -l swap4 ad4
Fixit# gpart add -t freebsd-zfs -l disk4 ad4
3. Not having so many ZFS partitions, including /var/empty (only /tmp, /var, /usr, /usr/home).
The first issue to occur is that I cannot mirror the swap - /dev/gpt only contains disk0 and disk4, and /dev/mirror contains swap0 (already mirrored?). The most important issue, however, is that the system simply cannot boot from either HDD, as if the MBR is nonexistent/incorrect.
Any ideas? Thanks in advance.