View previous topic :: View next topic |
Author |
Message |
kris n00b
Joined: 12 Oct 2009 Posts: 31 Location: Thorn Polska
|
Posted: Sun Apr 14, 2024 5:13 pm Post subject: Root filesystem could not be mounted read/write [SOLVED] |
|
|
Hi
When starting the system I get this error:
Code: | * Checking local filesystems ...
/dev/sda1: clean, 356/65536 files, 37216/262144 blok
[ ok ]
* Remounting root filesystem read/write ...
error: unexpected argument '-n' found
tip: to pass '-n' as a value, use '-- -n'
Usage: mount.bcachefs [OPTIONS] <DEV> [MOUNTPOINT]
For more information, try '--help'.
* Root filesystem could not be mounted read/write
[ !! ]
* Remounting filesystems ...
[ ok ] |
my file /etc/fstab
Code: | /dev/sda1 /boot ext4 noauto,noatime,discard 0 2
/dev/sda2 / bcachefs defaults 0 0
/dev/zram0 swap swap pri=16383 0 0
|
Where to add - change -n to -- -n to use the hint:
Quote: | tip: to pass '-n' as a value, use '-- -n' |
Thank you for all your support
Last edited by kris on Sun Apr 14, 2024 6:10 pm; edited 1 time in total |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1915
|
Posted: Sun Apr 14, 2024 5:25 pm Post subject: |
|
|
This is a problem with mount.bcachefs not supporting standard mount options.
Upstream has a bug on it already
As a workaround, it is possible to change /etc/init.d/root to remove the -n (aka --no-mtab) option, but the real issue should be fixed upstream. |
|
Back to top |
|
|
kris n00b
Joined: 12 Oct 2009 Posts: 31 Location: Thorn Polska
|
Posted: Sun Apr 14, 2024 6:10 pm Post subject: |
|
|
Thank you @grknight,
this frustrating error is finally gone |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|