All partitions are READ ONLY. Cannot do anything !
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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)
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.