Jump to content

Converting rootfs to BTRFS


Recommended Posts

Armbianmonitor:

If I convert rootfs to btrfs do I need to rebuild /boot/initrd.img-5.4.20-sunxi.

 

E.g. is it enough to convert ext4 to btrfs on another PC and replace rootfstype=ext4 by rootfstype=btrfs in /boot/armbianEnv.txt?

 

Armbian 2020.02.1 mainline with default kernel, orange pi plus

 

I need a compression because OPI+ supports cards up to 32 Gb only.

 

Thanks in advance.
 

Link to comment
Share on other sites

15 hours ago, Crossplatform Vlad said:

If I convert rootfs to btrfs do I need to rebuild /boot/initrd.img-5.4.20-sunxi.


AFAIK U-boot doesn't support BTRFS which means you need to start from scratch and create an image that has separate boot partition where your kernel is loaded from ...

 

15 hours ago, Crossplatform Vlad said:

OPI+ supports cards up to 32 Gb only.

 

That is ofc not true. This should work just fine, I have tested with 128 Gb.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines