RPi-Distro / pi-gen

Tool used to create the official Raspberry Pi OS images
BSD 3-Clause "New" or "Revised" License
2.59k stars 1.62k forks source link

Use gpt and btrfs as root filesystem #751

Closed sithmein closed 7 months ago

sithmein commented 7 months ago

It should be possible to use btrfs instead of ext4 as the root file system. There are several instruction on the internet how an existing installation can be converted but they are complicated and error-prone. Therefore having an image that uses btrfs in the first place would be quite useful. In addition using storage devices with more then 2TB (the Raspberry Pi 5's new PCIe interface makes this possible easily) is currently not possible since MBR does not support partitions with more than 2TB. Therefore changing to gpt is required.

XECDesign commented 7 months ago

GPT is not officially supported by the bootloader and Raspberry Pi OS currently only supports ext4 or nfs.

We may come back to btrfs at some point in the future, but that's not currently on the task list.

sithmein commented 7 months ago

What exactly do you mean with only supports ext4 or nfs? btrfs clearly works on Raspberry Pi OS.