[SOLVED] Read-only filesystem after upgrade

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

[SOLVED] Read-only filesystem after upgrade

Postby fasolens » Sun Feb 08, 2015 9:44 am

Hi,
Yesterday I upgraded my arch on RPi. After reboot I have read-only file system. I noticed that in my fstab I have one entry:
$this->bbcode_second_pass_code('', '
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat defaults 0 0
')
I think that before upgrade I had two entry here. Could you help me to restore correct settings here?
Maybe read-only fs is not caused by wrong fstab entries but by something else?

my blkid look is here:
$this->bbcode_second_pass_code('', '
[root@fasolki ~]# blkid
/dev/mmcblk0: PTUUID="417ee54b" PTTYPE="dos"
/dev/mmcblk0p1: SEC_TYPE="msdos" UUID="2300-4E18" TYPE="vfat" PARTUUID="417ee54b-01"
/dev/mmcblk0p5: UUID="b471cde8-2a15-44e7-acce-e9a2a54511a6" TYPE="ext4" PARTUUID="417ee54b-05"
')

SOLUSION
That was after upgrade.
in file /boot/cmdline.txt
add
$this->bbcode_second_pass_code('', 'rw')
before
$this->bbcode_second_pass_code('', 'rootwait')
at the end of file
Last edited by fasolens on Sun Feb 08, 2015 11:32 am, edited 1 time in total.
fasolens
 
Posts: 5
Joined: Sat Nov 30, 2013 8:18 am

Re: Read-only filesystem after upgrade

Postby moonman » Sun Feb 08, 2015 11:17 am

viewtopic.php?f=31&t=8321

Need to add rw to /boot/cmdline.txt
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Read-only filesystem after upgrade

Postby pepedog » Sun Feb 08, 2015 11:27 am

You should always consider pacnew files, and consider what to use/merge
/boot/cmdline.txt.pacnew
This advice is not just for kernels
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to Raspberry Pi

Who is online

Users browsing this forum: Google [Bot] and 67 guests