Closed johr closed 7 years ago
Hmmm. I missed this, when testing, because I always use f2fs
on SD-cards.
But the option has always been there. So, it kind of is surprising that it should now become a problem.
Further, data=writeback
is a valid mount option for ext4. So, it is unlikely that it is the cause of your problem. More like a symptom.
Have you tried using another SD-card? The current one may have expired.
And also I see you're setting the parameter rootsize=+1024
.
You might want to try leaving it empty or setting that as rootsize=+1024M
.
just used the defaults which is ext4 ... it is a valid option but only if the filesystem supports journaling. maybe the filesystem was not created with has_journal ... but thats no expert knowledge from my side, but just what i found out searching. so it may be more of a symptom ...
tested with 2 different sd-cards and raspis.
will try your proposed change for rootsize ... maybe some strange side-effect.
but using not writeback should only be relevant for the installer not the installed system, cause the installed system will be mount with other options, right?
cause the installed system will be mount with other options, right?
Yes, those are errors=remount-ro,noatime
changed: rootsize=+1024M exactly that way with appended 'M' (seems the other form was from some very old installer-config ...) it worked without special handling of mount-options resp. mkfs options!
many thanks for the hint.
tried to install type "server" with raspbian-ua-netinst v1.1.1-beta3 release. installer stopped when trying to mount the rootfs with: "Mounting new filesystems... mount: mounting /dev/mmcblk0p2 on /rootfs failed: Invalid argument"
I did not connect a screen to check it directly on the raspi (1,3) but tested it on my desktop, seems that data=writeback was the reason for the problem. At least when I set the
rootfs_install_mount_options=noatime,nobarrier,noinit_itable
the error did not happen!details:
installer-config.txt:
and the log-file:
putting
without data=writeback worked.