Booting Unraid from XFS/BTRFS¶
Warning
This is an experimental configuration. It is not supported by Limetech. It might not work for your system.
Note
This process only works for EFI boot.
Required Files¶
Instructions¶
- Create backup of flash drive, or install second flash drive if running instructions on Unraid. Determine device path of target flash drive.
-
Partition flash drive:
sgdisk -Z /dev/sdX sgdisk -n 0:0:+512MiB -t 0:ef00 -c 0:efi /dev/sdX sgdisk -n 0:0:0 -t 0:8300 -c 0:UNRAID /dev/sdX
-
Create filesystems:
mkfs.vfat /dev/sdX1 mkfs.xfs -L UNRAID /dev/sdX2 -or- mkfs.btrfs -L UNRAID /dev/sdX2
-
Mount filesystems:
mkdir -p /mnt/unraid-flash/efi mkdir -p /mnt/unraid-flash/data mount /dev/sdX1 /mnt/unraid-flash/efi mount /dev/sdX2 /mnt/unraid-flash/data
-
Copy backup of flash drive to
/mnt/unraid-flash/data
- Extract GRUB files to
/mnt/unraid-flash/efi
. This should result in a/mnt/unraid-flash/efi/EFI
and/mnt/unraid-flash/efi/grub
folder. - Unmount flash drive:
umount /mnt/unraid-flash/efi umount /mnt/unraid-flash/data