@@ -12,14 +12,21 @@ Script you have to hack slightly as it runs rpi-update and pulls in the kernel u
12
12
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.
13
13
You can log in via a normal sudo just do things in order and run
14
14
sudo cvt2f2fs
15
+
15
16
after reboot
17
+
16
18
sudo cvt2f2fs --phase2
19
+
17
20
after reboot
21
+
18
22
sudo cvt2f2fs --phase3
23
+
19
24
after reboot
25
+
20
26
sudo cvt2f2fs --phase4
21
27
22
28
So then you need to get f2fs-tools for buster as the script will run rpi-update.
29
+
23
30
sudo vi /etc/apt/sources.list.d/10-buster.list
24
31
25
32
deb http://mirrordirector.raspbian.org/raspbian/ buster main contrib non-free rpi
@@ -37,17 +44,22 @@ Pin-Priority: 750
37
44
sudo apt-get update
38
45
39
46
Now we can grab things from buster when we want
47
+
40
48
sudo apt-get install -t buster f2fs-tools
41
49
42
50
You need to do the above as you will notice in syslog ` fsck.f2fs: invalid option -- 'y' `
51
+
43
52
Systemd seems to be trying to run with an invalid option
53
+
44
54
The above fixes that and fsck.f2fs will run and report everything is fine.
55
+
45
56
Thing is it will do that on every boot as the system thinks there is something wrong with the superblock.
46
57
47
58
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
+
51
63
I presume that we have had kernel updates but not f2fs-tools updates.
52
64
53
65
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