Code to change from read-only file system to read/write file system?
Hakan Koseoglu
hakan.koseoglu at gmail.com
Tue Apr 21 20:09:28 UTC 2009
Hi Steven,
Please reply to the kubuntu list as well to keep everything on the list.
On Tue, Apr 21, 2009 at 8:45 PM, <stevenvollom at sbcglobal.net> wrote:
> steven at Yesua:~$ mount -o rw.remount /
> mount: only root can do that
That's normal.
> steven @Yesua:~$ sudo su
> [sudo] password for steven:
> root at Yesua:/home/steven# mount -o rw.remount /
> warning: can't open /etc/fstab: No such file or directory
> mount: /dev/sda1 already mounted or / busy
> mount: according to mtab, /dev/sda1 is already mounted on /
> root at Yesua:/home/steven#
and from an other mail:
>root at Yesua:/home/steven# touch /etc/X11/test
>touch: cannot touch `/etc/X11/test': Read-only file system
Ah, that's interesting.
You appear to have a very nicely borked system here I'm afraid.
I think I have started to understand at least some of your problems.
You have lost your /etc/fstab. I think the system is going into
recovery mode. The /etc/mtab appears to be out of date hence the mount
-l output is a lie.
Let's try this ( as root)
mount -o rw,remount -force /dev/sda1 /
Do you know how to use vi? If so, vi /etc/fstab
and paste the following:
proc /proc proc defaults 0 0
/dev/sda1 / ext3 relatime,errors=remount-ro 0 1
Good luck.
--
Hakan (m1fcj) - http://www.hititgunesi.org
More information about the kubuntu-users
mailing list