Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read-Only file system #103

Closed
ihavenick opened this issue Jul 23, 2013 · 10 comments
Closed

Read-Only file system #103

ihavenick opened this issue Jul 23, 2013 · 10 comments

Comments

@ihavenick
Copy link

i made sudo rpi-update.It finished succesfull but i cant do anything right now...
i can ssh to rpi but if i try to modify a file it saying Read-only file system (/dev/root)
and now i cant fix it

i am installed hf debian wheezy to usb 8 gb /dev/sda2

@Stonie
Copy link

Stonie commented Jul 23, 2013

Make sure you are mounting your USB key writable.
Check by typing "mount" at the command prompt... then modify fstab to mount the USB key with rw.

If that does not make sense Google for something like "mounting usb writable fstab debian"

@ihavenick
Copy link
Author

i cant change anything
its made itself ro
my usb flashdisc doesnt have ro option
i can change files in partedmagic
but cant modify fstab in raspberry and there is nothing like ro in fstab only data=writeback

@Stonie
Copy link

Stonie commented Jul 23, 2013

why can't you modify your fstab?

@ihavenick
Copy link
Author

raspberry sayin its read-only

@ihavenick
Copy link
Author

pi@raspberry:$ sudo mount -a -f
[mntent]: warning: no final newline at the end of /etc/fstab
pi@raspberry:
$ sudo mount -o remount,rw /
[mntent]: warning: no final newline at the end of /etc/fstab
mount: / not mounted or bad option

@Stonie
Copy link

Stonie commented Jul 24, 2013

looks like your fstab is mangled.

open it and have a look:

sudo nano /etc/fstab

@ihavenick
Copy link
Author

i opened it i dont see any error shall i post to you ? and i cant save it with nano

@Stonie
Copy link

Stonie commented Jul 24, 2013

Probably best to wait and hear from the repo maintainer as to whether or not this is related to rpi-update. Before posting too much more here.

@popcornmix
Copy link
Collaborator

I'm pretty sure this is not related to rpi-update.
Sounds like a problem in /etc/fstab (either from an incorrect edit, or sdcard corruption).

@ihavenick
Copy link
Author

i deleted fstab it fixxed :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants