1/10/2024 0 Comments Zpool send resume openzfs![]() # dd if=/boot/boot1.efifat of=/dev/ada1p2 Write the EFI boot code to the second partition of the second drive : Write the boot code to the boot partition # gpart add -s 205G -a 1M -t freebsd-zfs -l zfsvaulta1 ada1 # gpart add -s 20G -a 1M -t freebsd-zfs -l zfsroot1 ada1 # gpart add -s 4G -a 1M -t freebsd-swap -l swap1 ada1 # gpart add -s 2G -a 1M -t freebsd-zfs -l zfsboot1 ada1 # gpart add -s 512M -a 1M -t efi -l efiboot1 ada1 # gpart add -s 512K -a 1M -t freebsd-boot ada1 Now lets create the necessary partitions with Gpart: Optionally first destroy any current gpart partitions: zpool import is necessary because else the sysctl below will not be available.Ĭheck whether ada1 is indeed the second 250GB SSD:Īda1 at ahcich0 bus 0 scbus0 target 0 lun 0Īda1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)Īda1: 238475MB (488397168 512 byte sectors) If you want to encrypt your FreeBSD installation while being able to boot without a password prompt, make sure you have a 20GB freebsd-zfs partition and the rest of the harddisk (minus 1.5 GB or so) in a second freebsd-zfs partition.īefore any command is issued it is made sure that ZFS will partition disks using 4k sectors.Read why in the chapter Creating a GPart partition. For increased future reliability you are encouraged to Gpart partition you drives instead of using the whole disk.However, make sure that you read these recommendations: Of course you can setup your FreeBSD system using a different method. This article is a follow-up of the preceding article Install FreeBSD on ZFS and add encryption. Read base articleRead the base article (1/4) at: Architecture of this setup.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |