Native ZFS + rootfs + GPT on Gentoo Linux System

Native ZFS + rootfs + GPT on Gentoo

Step by step: Boot install CD (i.e. Gentoo 12.1 LiveDVD) Parted disk using gpt mode (i.e. GPTFDISK, make sure "BIOS boot partition" being parted, zfs partition set type "Solaris zfs") create zpool and zfs partitions zpool create -f -o ashift=12 -o cachefile=/tmp/zpool.cache -O normalization=formD -m none -R /mnt/gentoo zdisk /dev/sda2 zfs create -o mountpoint=none zdisk/ROOT zfs create -o mountpoint=/ zdisk/ROOT/gentoo zfs create -o mountpoint=/home zdisk/HOME zfs create -o mountpoint=none zdisk/PORTS zfs create -o mountpoint=/usr/portage zdisk/PORTS/portage zfs create -o mountpoint=/usr/portage/distfiles zdisk/PORTS/portage/distfiles...
阅读全文