From: dwyer@what.csl.uiuc.edu (Dane Dwyer) Subject: [Q]:How to remount root rw w/out '-o remount' or '-u'? Date: 28 Apr 1993 00:28:05 GMT
Don't you hate it when you see a thread go by that really doesn't
interest you, only to find out that 1 month later you wish you had
read it? I feel like this topic was discussed recently...
I have installed SLS 1.01 and successfully recompiled the kernel. One
of the configuration options I selected was to mount the root filesystem
read only, so I could run e2fsck in /etc/rc before remounting it read/write.
Well, I'm having trouble getting it to remount read/write. The man
page for mount eludes to a -u option (similar to '-o remount' in sunos),
but in the BUGS section it says -u doesn't work for linux. Nothing
works when linux comes up with root read only.
Is there another way to remount the root filesystem read/write in the
/etc/rc script? I've tried mount -a, mount -aw, etc., but it doesn't
work. When I try mount -w it says it is unable to change /etc/mtab
because it is read only.
Thanks for your help,
Dane Dwyer
ddwyer@uiuc.edu