friendlyarm / linux-3.4.y

Linux kernel source tree for FriendlyARM NanoPi 2, NanoPi 3
Other
76 stars 103 forks source link

NanoPi M3 read-only filesystem #15

Open PhillippOhlandt opened 7 years ago

PhillippOhlandt commented 7 years ago

Hey,

I got some problems with my NanoPi M3. I installed the ubuntu core image on it but the file system is read-only.

root@FriendlyELEC:~# echo "foo" > foo.txt
-bash: foo.txt: Read-only file system
root@FriendlyELEC:~# mount -o remount,rw /
mount: cannot remount /dev/mmcblk0p2 read-write, is write-protected

I am not sure what caused this and how to fix it. Any logs I should look for and post here?

PhillippOhlandt commented 7 years ago

Same with the debian image.

igorpecovnik commented 7 years ago

What about with some other SD card? https://forum.armbian.com/index.php?/forum/31-sd-card-and-power-supply/

PhillippOhlandt commented 7 years ago

I am using the same SD card and micro USB cable as for my Raspberry Pis.

JamesKingdon commented 7 years ago

I have a pair of Lexar cards that won't work with the M3, at least with the 4.x kernel. I haven't tried them with the factory 3.x kernel. The filesystem will go to read only after repeated failures which you will see in dmesg/kernel.log. It would be worth trying a different make of card to be on the safe side.

PhillippOhlandt commented 7 years ago

I don't really have different cards. I always use Intenso 8GB Class 10.