I use ArchLinux on Raspberry Pi B+. If I reboot it using shutdown -r
, I always get readonly filesystem after reboot and I have to remoung it using sudo mount -o remount,rw /
. Isn't shutdown -r
graceful reboot regarding to filesystems? The version is Linux computer001 3.18.3-3-ARCH #1 PREEMPT Mon Jan 26 20:10:28 MST 2015 armv6l GNU/Linux
.
Asked
Active
Viewed 1.4k times
11

KernelPanic
- 438
- 1
- 11
- 23
-
1You should have a look in your logs and see if there's some explanation there. I've noticed some inconsistencies WRT to shutdown/reboot behaviour following firmware upgrades, although not this specifically. – goldilocks Jan 28 '15 at 17:31
-
@goldilocks, I haven't found anything relevant regarding filesystem. – KernelPanic Jan 28 '15 at 18:28
1 Answers
21
In /boot/cmdline.txt, add rw just before rootwait

admin
- 224
- 2
- 2
-
1
-
2This also fixed my problem. I got this issue after updating Raspbian from Wheezy to Jessie. Jessie moved me over to systemd, so I suspect there was something at boot that had previously remounted my filesystem as rw automatically. In my understanding, it isn't abnormal to mount
/
asro
then later in the boot process remounting it asrw
(so that the system canfsck
the filesystem if it wants). Perhaps/etc/init.d/checkroot.sh
or/etc/init.d/mountkernfs.sh
was where it was getting remounted? – johnboiles May 31 '15 at 18:54