Somehow I have made my root directory read only -- I think that is what I did. When I reboot I get all kinds of error messages saying root is readonly. What's the best way to fix this? Mark Bannister
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 14 Sep 2003 13:29:21 -0500 mark bannister <mark@injection-moldings.com> wrote:
Somehow I have made my root directory read only -- I think that is what I did. When I reboot I get all kinds of error messages saying root is readonly. What's the best way to fix this? Mark Bannister S/B RWX by owner (root), r-x for group and others.
- -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/ZLiJ+wA+1cUGHqkRAgnkAJ92Yv7ylHJGZ+KSP5EUh1UEj0VGawCfVlM6 m2dmbQkEqAjMK4TD9jINe2c= =nZzj -----END PGP SIGNATURE-----
Jerry Feldman wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, 14 Sep 2003 13:29:21 -0500 mark bannister <mark@injection-moldings.com> wrote:
Somehow I have made my root directory read only -- I think that is what I did. When I reboot I get all kinds of error messages saying root is readonly. What's the best way to fix this? Mark Bannister
S/B RWX by owner (root), r-x for group and others.
<snip>
OK, I'm new at this. What does it mean? when I do a dir list permissions look ok. I've been finding comments about mounting with read only. Could this be the problem?
On Sunday 14 September 2003 19:16, mark bannister wrote:
Jerry Feldman wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, 14 Sep 2003 13:29:21 -0500
mark bannister <mark@injection-moldings.com> wrote:
Somehow I have made my root directory read only -- I think that is what I did. When I reboot I get all kinds of error messages saying root is readonly. What's the best way to fix this? Mark Bannister
S/B RWX by owner (root), r-x for group and others.
<snip>
OK, I'm new at this. What does it mean? when I do a dir list permissions look ok. I've been finding comments about mounting with read only. Could this be the problem?
I had a similar problem (a slew of error messages upon boot about root being read only) in the middle of some intermittent hardware IDE/hard disk problems I was having. If your permissions look ok in the directory listing, and you have exhausted other possibilities you could look into this. As I said, my problems were intermittent, and eventually degenerated enough for me to find the hardware fault, so I never did get to understand the 'root as read only' phase in the middle! Sorry I cannot be of more help. -- Ray
In one instruction book I found something saying that if th fstab file gets corrupted that next reboot will be read-only. it said to do this: mount -n -o remount,rw / I started from a CD using the "rescue" option, issued the above command and I did not get an error, but I still get the same messages on boot up. The fstab entry looks like: /dev/root / ext2 defaults 0 0 Should there be a dir called "root" under dev? There isn't. There is a dir called root at the top directroy level. Mark B mark bannister wrote:
Somehow I have made my root directory read only -- I think that is what I did. When I reboot I get all kinds of error messages saying root is readonly. What's the best way to fix this? Mark Bannister
-- Mark C. Bannister President American Precision Products * 1314 Buford Street * Huntsville, AL 35801 800.889.7674x107 * 256.539.7674x107 fax: 800.341.9725 * 256.533.0750 Cell: 256.509.2052 http://www.injection-moldings.com * ftp.injection-moldings.com/incoming (anonymous) Custom Injection Molding
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 14 Sep 2003 14:36:19 -0500 mark bannister <mark@injection-moldings.com> wrote:
In one instruction book I found something saying that if th fstab file
gets corrupted that next reboot will be read-only. it said to do this: mount -n -o remount,rw / I started from a CD using the "rescue" option, issued the above command and I did not get an error, but I still get the same messages on boot up. The fstab entry looks like: /dev/root / ext2 defaults 0 0 Should there be a dir called "root" under dev? There isn't. There is a dir called root at the top directroy level. Mark B Mark, The fstab is a plain text file. You can easily rebuild it by hand or with YaST. The worst case is to boot the CD into Rescue mode. Mount the root directory, and edit the fstab file. This is what my root looks like in the /etc/fstab file. /dev/hdc5 / reiserfs defaults 1 1
- -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 /dev/hdc5 / reiserfs defaults 1 1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/ZQkv+wA+1cUGHqkRAgXfAJ4o2HPqqoaWOYKBdMQac5IvBElgGACfd9DC BQFLL5LlKK7vIoD609WxVlw= =YJAm -----END PGP SIGNATURE-----
participants (3)
-
Jerry Feldman
-
mark bannister
-
Ray