Skip to content

Commit ac5dfec

Browse files
Update README.md
1 parent 7aa37de commit ac5dfec

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

cvt2f2fs/README.md

+15-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,21 @@ Script you have to hack slightly as it runs rpi-update and pulls in the kernel u
1212
Buster is only a couple of month away but the biggest problem is that if the kernel version and f2fs version beome out of sync you will get errors.
1313
You can log in via a normal sudo just do things in order and run
1414
sudo cvt2f2fs
15+
1516
after reboot
17+
1618
sudo cvt2f2fs --phase2
19+
1720
after reboot
21+
1822
sudo cvt2f2fs --phase3
23+
1924
after reboot
25+
2026
sudo cvt2f2fs --phase4
2127

2228
So then you need to get f2fs-tools for buster as the script will run rpi-update.
29+
2330
sudo vi /etc/apt/sources.list.d/10-buster.list
2431

2532
deb http://mirrordirector.raspbian.org/raspbian/ buster main contrib non-free rpi
@@ -37,17 +44,22 @@ Pin-Priority: 750
3744
sudo apt-get update
3845

3946
Now we can grab things from buster when we want
47+
4048
sudo apt-get install -t buster f2fs-tools
4149

4250
You need to do the above as you will notice in syslog `fsck.f2fs: invalid option -- 'y'`
51+
4352
Systemd seems to be trying to run with an invalid option
53+
4454
The above fixes that and fsck.f2fs will run and report everything is fine.
55+
4556
Thing is it will do that on every boot as the system thinks there is something wrong with the superblock.
4657

4758
I thought OK dunno why this script is doing an rpi-update anyway and I know there where a lot of f2fs commits in 4.18 but lets hack the
48-
not to do the rpi-update bit.
49-
Strangely you get the same syslog messages invalid option -- 'y'` as the initramfs fsck.f2fs fails as it would seem the tools & kernel
50-
in stretch are not in version sync.
59+
cript not to do the rpi-update bit.
60+
Strangely you get the same syslog messages `invalid option -- 'y'` as the initramfs fsck.f2fs fails as it would seem the tools & kernel
61+
in Raspbian Stretch are not in version sync.
62+
5163
I presume that we have had kernel updates but not f2fs-tools updates.
5264

5365
Haven't done much more as f2fs was like I say an after thought that what is a huge over-provision of 10-20% is only approx 1-2gb

0 commit comments

Comments
 (0)