LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-08-2005, 06:30 AM   #1
zener73
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
All partitions are READ ONLY. Cannot do anything !


Hi everybody,
I'm on kubuntu Hoary.
Do not know what happend but now all my devices ( I have the main hard disk and other 2 hard disk for datas) are now in READ ONLY filesystem mode. The problem is that the system cannot boot properly and so I have the luck to enter only in NO GRAPHICAL mode in my login, because when I try he server X it says that need to write something in tmp directories but I am in Readonly mode .

I didn't do any chmod or whatever but anyway this happened.

The problem is that I cannot do nothing. How can restore my filesystem and devices to be in READ WRITE MODE ?

I went into etc/fstab and everything is the same as before . Since I have my main unit /dev/hda1 in READ ONLY, I also have the mounted devices under /media in the same situation, and so I cannot copy on them my important datas that are on the main HDA1 hard disk.
Moreover naturally I cannot edit etc/fstab.

Quite desperate situation, any help is really welcome.

THANKS
 
Old 08-08-2005, 06:54 AM   #2
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 270

Rep: Reputation: 31
I suspect there is an error in your INIT. Filesystems are mounted twice at boot, once read only with chroot defining the root filesystem on the ramdisk, then again for regular use with root filesystem being your defined partition.
If you get into a console, you can remount most partitions with the mount /dev/[partitionname] [mountpoint] -t [type] -rw. try it, if you run into problems report your problems in detail (where at boot do you get into the console (rescue console??) and screen output)
 
Old 08-08-2005, 07:09 AM   #3
zener73
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Original Poster
Rep: Reputation: 0
doesnt' work

HI , I tried again with mount but it says that according to mtab the device resuls already mounted in that position. I tried umount but with no results.

I'm at a stuck point.
 
Old 08-10-2005, 03:24 AM   #4
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 270

Rep: Reputation: 31
So you are in a console, root partition mounted read-only. Sounds like a rescue console during init. Is there anz screen output (root password for error correction etc.) or is there a normal getty wainting for your input? Is it a runlevel or a result from a mishap during or before fsck?
The problem is that you cannot unmount the root partition to remount it in rw-mode. Check out the "chroot" command for that purpose. If there is any other partition mounted than root and it is not in use (say for example you are running a server on it) then you can unmount and remount. There is also an option in mount that lets you do the same thing with one command, I think its "-r" but check the docs to be sure.
 
  


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
How to get XP to read Linux partitions? XxAndyxX General 14 02-06-2005 09:15 PM
fc3 partitions read from Win XP eb2e2 Fedora 16 02-06-2005 05:16 PM
read/write ntfs partitions!!!! mlu Linux - Software 2 01-20-2005 01:42 PM
Howto read raw-partitions? lowtek Linux - Hardware 0 07-16-2004 05:30 PM
Cant write or read ext3 partitions?!?!?! wasabi Linux - General 9 06-17-2004 07:07 AM


All times are GMT -5. The time now is 08:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration