LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2014, 09:27 AM   #1
AmYisraelChai
LQ Newbie
 
Registered: Aug 2014
Posts: 2

Rep: Reputation: Disabled
Getting system out of "read-only" file system.


Hi all, I had an error while online so my laptop kicked me off chromium and switched to read only file system. I am currently in the grub system recover screen. I have typed in the following command(s):

Mount-o remount, rw/

Mount-o rw/dev/sda1/mnt/sda1

Mount/proc

When I just typed mount -o remount, rw
it seemed to actually acknowledge it by spitting back the following: EXT4-fs (sda2): re-mounted. Opts: (null)

But I honestly do not know what I am doing. Am I on the right path? Help!

Thank you- Rachel Yahalom
 
Old 08-07-2014, 11:16 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,024

Rep: Reputation: 801Reputation: 801Reputation: 801Reputation: 801Reputation: 801Reputation: 801Reputation: 801
Yeah, that wasn't too far off
Code:
 mount  -o  rw,remount  /
remounts the / drive with the options rw, and remount.

It dropped you into a ro shell because of some disk error, in all likelihood. It sounds like it needs a disk check. You can do it in read only mode, not write mode, as that messes up the disk.
 
Old 08-07-2014, 11:51 AM   #3
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,292

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Also, in my experience, when a disk goes read-only, something is bad. If you have important things on the disk, copy it elsewhere while in read only mode. Running disk-checking can make matters worse if it's hardware errors and the disk is nearly dying.
 
Old 08-07-2014, 12:36 PM   #4
AmYisraelChai
LQ Newbie
 
Registered: Aug 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you very much. I was able to restore it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dd, chmod usb external cause "Read-only file system" AmazingTrans Linux - Newbie 4 09-17-2013 03:43 PM
Failed to overwrite statefile "Read only file-system" Bviper Linux - Networking 5 01-05-2010 07:40 PM
Dual display and "read-only file system" in Hardy rgalaway Ubuntu 5 10-28-2008 01:00 AM
chmod command fails with "Read-only file system" huklBerry Linux - General 8 06-13-2008 03:35 PM
Can't boot Mandrake 10.0, "Cannot touch, Read-Only File System" RasutoIbuki Mandriva 5 07-23-2004 08:57 PM


All times are GMT -5. The time now is 04:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration