Converting root to BTRFS

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Converting root to BTRFS

Postby lockheed » Thu May 29, 2014 1:28 pm

I just dd'ed Arch image to SD card and resized the partition with Gparted to take the entirety of its 8GB.

However, it is ext4, and I would like to use BTRFS instead. Can I simply convert it and it will still boot in Raspberry, or do I need to do something more?
lockheed
 
Posts: 26
Joined: Sat May 24, 2014 5:46 am

Re: Converting root to BTRFS

Postby WarheadsSE » Thu May 29, 2014 2:37 pm

You'd probably want to make sure that the filesystem is built into the kernel and not a module, or it would be pretty hard to boot off that.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Converting root to BTRFS

Postby lockheed » Thu May 29, 2014 2:57 pm

And how is it in the kernel inside the latest Arch ARM image for Raspberry?
lockheed
 
Posts: 26
Joined: Sat May 24, 2014 5:46 am

Re: Converting root to BTRFS

Postby pepedog » Thu May 29, 2014 3:13 pm

zcat /proc/config | grep BTRFS
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Converting root to BTRFS

Postby WarheadsSE » Thu May 29, 2014 3:14 pm

And
$this->bbcode_second_pass_code('', 'cat /proc/filesystems')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Converting root to BTRFS

Postby lockheed » Thu May 29, 2014 3:15 pm

Yes, but that would require me running Raspberry, and I do not have it yet. I wanted to know if I can prepare it before putting it in.
lockheed
 
Posts: 26
Joined: Sat May 24, 2014 5:46 am

Re: Converting root to BTRFS

Postby lockheed » Fri May 30, 2014 10:34 am

Turns out btrfs is in the Arch ARM kernel by default, so after converting the partition and then changing the appropriate settings in txt config files and fstab, it booted without glitch upon first try.
lockheed
 
Posts: 26
Joined: Sat May 24, 2014 5:46 am

Re: Converting root to BTRFS

Postby WarheadsSE » Fri May 30, 2014 6:59 pm

Win
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 4 guests