Can't work with btrfs roofs on SdCard. Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Posts: 1
Joined: Wed Jan 06, 2021 6:35 pm

Can't work with btrfs roofs on SdCard.

Post by slaversbond »

I apologize right away, I tried to find the right information, but I couldn't.

The essence of the problem. I want to have btrfs rootfs on my RaspberryPi Zero on the SdCard.

By the way, now, everything works fine on btrfs if I use USB Flash (transferred and formatted through dietpi-drivemanager) but I would like exactly on the internal SdCard.

I already tried on my laptop to convert the filesystem format of rootfs SdCard to btrfs (and change /etc/fstab). I have also transferred the system to a USB Flash with btrfs, and after reloading it with dietpi-drivemanager, transferred it back to a SdCard formatted in btrfs. But without success. Did I miss some guidance or does anyone know how to make btrfs on a SdCard rootfs?

Please help me. :?
User avatar
Posts: 743
Joined: Thu Jul 20, 2017 8:55 am

Re: Can't work with btrfs roofs on SdCard.

Post by WarHawk »

simply converting "the boot media" over the btrfs formatting won't work...

it needs to create a /boot/initrd.img for the kernel with brtrs support built in, in order to boot, otherwise the original doesn't know how to use BTRFS to boot initially ... n-raspbian
Post Reply