Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 46971

Re: Rootfs on f2fs or btrfs, is possible?

$
0
0
You can use f2fs as rootfs, but the /boot needs to be in ext2 or ext3 partition. So

- create 2 partitions on your USB thumb using fdisk. 1st partition is bootable Linux, second is normal Linux.
- format the 1st partition as ext2 or ext3
- format the 2nd partition as f2fs
- extract rootfs to 2nd partition (see rootfs download and instruction in my signature)
- copy /boot to 1st partition as root (asuming they are mounted at /media):
cp -aR /media/part2/boot /media/part1/
- label 2nd partition rootfs
- sync

Boot with this USB key. And let us know!

Viewing all articles
Browse latest Browse all 46971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>