Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
install_raspbian_on_f2fs_root [30.01.2017 16:19]
Pascal Suter
install_raspbian_on_f2fs_root [16.05.2018 14:46] (current)
Pascal Suter
Line 16: Line 16:
 </​code>​ </​code>​
   - now copy the os to the sd card <​code>​rsync -aHvx /tmp/image/ /​tmp/​sd/</​code>​   - now copy the os to the sd card <​code>​rsync -aHvx /tmp/image/ /​tmp/​sd/</​code>​
-  - edit fstab: <​code>​nano /​tmp/​sd/​etc/​fstab</​code>​ and replace ''​ext4''​ in the root mount line with ''​f2fs''​+  ​- find the partition uuid by using ''​blkid''​ and copy the "​PARTUUID"​ number¬†
 +  ​- edit fstab: <​code>​nano /​tmp/​sd/​etc/​fstab</​code>​ and replace ''​ext4''​ in the root mount line with ''​f2fs''​, also update the ''​PARTUUID''​ with the one you found in the previous step. 
   - unmount it all again <​code>​umount /tmp/sd /​tmp/​image</​code>​   - unmount it all again <​code>​umount /tmp/sd /​tmp/​image</​code>​
   - mount boot partition and edit boot options:<​code>​mount /dev/sdf1 /tmp/sd   - mount boot partition and edit boot options:<​code>​mount /dev/sdf1 /tmp/sd
-nano /​tmp/​sd/​cmdline.txt</​code>​ and now replace ext4 with f2fs in here as well. +nano /​tmp/​sd/​cmdline.txt</​code>​ and now replace ext4 with f2fs in here and paste the correct ''​PARTUUID'' ​as well. 
   - cleanup: <​code>​umount /tmp/sd   - cleanup: <​code>​umount /tmp/sd
 rmdir /tmp/sd /tmp/image rmdir /tmp/sd /tmp/image
 </​code>​ </​code>​
   - insert the sd card into your raspberry pi and finally start configuring it :)   - insert the sd card into your raspberry pi and finally start configuring it :)