![]() Warning: Keep in mind that most modern devices use a 4096 byte physical sector size, even though some report 512. ZFS will manage the first, and your bootloader the second. Do not do anything to the Solaris partition nor to the BIOS boot partition. If you have opted for a boot partition as well as any other non-ZFS system partitions then format them. If you are creating an EFI system partition then that should have the boot flag set instead of the root partition. # parted -script /dev/sd x mklabel gpt mkpart non-fs 0% 2 mkpart primary 2 100% set 1 bios_grub on set 2 boot on You can achieve the above in a single command like so: Here are some example commands to partition a drive for the second scenario above ie using BIOS/legacy boot mode with a GPT partition table and a (slighty more than) 1MB BIOS boot partition for GRUB: ![]() Warning: Several GRUB bugs ( bug #42861, zfsonlinux/grub/issues/5) complicate installing it on ZFS partitions, see #Install and configure the bootloader for a workaround Example parted commands ![]() If you require a swap partition, see ZFS#Swap volume for creating a swap ZVOL. Using GRUB on a BIOS (or UEFI machine in legacy boot mode) machine but using a GPT partition table:Īnother example, this time using a UEFI-specific bootloader (such as rEFInd) with an GPT partition table: Here is an example of a basic partition scheme that could be employed for your ZFS root install on a BIOS/MBR installation using GRUB: Consult Arch boot process#Boot loader for more information. On a BIOS machine (or a UEFI machine booting in legacy mode), an EFI system partition is not required. GRUB on BIOS/GPT configurations require a small (1~2MiB) BIOS boot partition to embed its image of boot code.ĭepending upon your machine's firmware or your choice of boot mode, booting may or may not require an EFI system partition. The partition that will contain the ZFS filesystem should be of the type bf00, or "Solaris Root".ĭrives larger than 2TB require a GPT partition table. ZFS manages its own partitions, so only a basic partition table scheme is required. ZFS supports GPT and MBR partition tables. Review Partitioning for information on determining the partition table type to use for ZFS. To build a custom archiso, see ZFS article. To install Arch Linux on ZFS, you need to boot archiso system with ZFS module.Ī script to easily install and load the ZFS module on running archiso system. Aaron Toponce Install ZFS on Debian GNU/Linux.It is necessary to take the time to understand the boot process, and what is done when creating the pool and datasets. Warning: Blindly copying and pasting this wiki will not work.
0 Comments
Leave a Reply. |