Hello, I wasn't able to boot on a ZFS pool without using GPT slices. My MBR partitioned disk has a type 0xa5 (165) active slice "ad0s2". I tried the following : copy zfsboot # dd if=/boot/zfsboot of=/dev/ad0s2 count=1 # dd if=/boot/zfsboot of=/dev/ad0s2 skip=1 seek=1024 create pool and root filesystem # zpool create -o altroot=/mnt pool ad0s2 # zfs create pool/freebsd # zpool set bootfs=pool/freebsd pool install base system # cd /usr/src/ # make installworld DESTDIR=/mnt/freebsd/ # make installkernel DESTDIR=/mnt/freebsd/ # make distribution DESTDIR=/mnt/freebsd/ # cp /boot/zfs/zpool.cache /mnt/freebsd/boot/zfs/ # cp /boot/loader.conf /mnt/freebsd/boot/ # echo 'vfs.root.mountfrom="zfs:pool/freebsd"' >> /mnt/freebsd/boot/loader.conf # touch /mnt/freebsd/etc/fstab # cp /etc/rc.conf /mnt/freebsd/etc/ reboot... I also tried with a bsdlabel, created the pool on ad0s2a (fstype ZFS), still no luck... No problem with another disk and a GPT partition scheme. But I can't convert this one to GPT cause it's big and I don't have enough backup space. Anyone here having a working ZFS-only root with MBR slices, or more informations ? Thanks -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier_at_gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."Received on Fri Feb 13 2009 - 21:49:40 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC