Mounting Linux Partition as RW v. RO

Mounting Linux Partition as RW v. RO

Post by E » Thu, 13 Mar 1997 04:00:00



Every time I boot by Linux box (Slackware) when I tell LILO which OS to boot,
if I don't add the 'rw' flag, I get a message telling me that the file system
cannot be verified and that I must mount the root partition as RO in order to
verify the filesystem.  The only problem with this is that if I mount it RO, I
can't do anything with it.

How do I get rid of the message telling me to mount it as RO to check the file
system?  Should I be checking the file system like it's telling me?

- Erik

 
 
 

Mounting Linux Partition as RW v. RO

Post by Alan Cur » Sat, 15 Mar 1997 04:00:00


X-Nutscrape-Go-To-Hell: <body text="#ffffff" bgcolor="#eeffee">

The normal procedure for mounting and fscking filesystems is something like
this (the names of the /etc/rc* files vary between distributions):

1. LILO mounts the root readonly
2. /etc/rc.d/bcheckrc does an fsck on the root filesystem
3. /etc/rc.d/bcheckrc remounts the root filesystem in read-write mode.
   The command is
        mount -o remount -w -n /
4. If you're not booting into single-user mode, /etc/rc.d/rc.multi fscks the
   other filesystems, then mounts them.
--
Alan Curry
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d? s++:-- a-- C++ UB+++L++++ P+ L+++>++++ E--- W-- N++ o K? w--- O? M--
V? PS+ PE+ Y+ PGP-(--) t* 5++ X+++ R- tv++ b-- DI- D++ G+++ !e h! r-->+++ y?
------END GEEK CODE BLOCK------

 
 
 

Mounting Linux Partition as RW v. RO

Post by B.A.McCau.. » Wed, 19 Mar 1997 04:00:00



>Every time I boot by Linux box (Slackware) when I tell LILO which OS to boot,
>if I don't add the 'rw' flag, I get a message telling me that the file system
>cannot be verified and that I must mount the root partition as RO in order to
>verify the filesystem.

True.

Quote:>  The only problem with this is that if I mount it RO, I
>can't do anything with it.

Except check it and then remount it RW.

Quote:>How do I get rid of the message telling me to mount it as RO to check the file>system?

Either take the attempt to check it out of the start up scripts or
mount it RO and fix whatever it preventing it remounting RW (you give
no details so I can't be more specific).  

Quote:>  Should I be checking the file system like it's telling me?

Yes.

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/

 
 
 

1. mount ro then rw then ro...??

I went through the slackware install using net boot and
color144 root just fine except for it said that util.tgz was
missing from a2 and keytbls.tgz from a3. I looked for these
files on several sunsite mirrors and did not find them.

Figuring that the index file had not been updated or something
I proceded.

When booting the hd using lilo it said I needed to mount
/dev/hda1  read only. I did this and it said to do it read
write. I did this and it said to do it read only. Whats up with
this?

I am new to this linux thing and would appreciate any help.

2. 2.4.19: nosmp=1 => hde: lost interrupt

3. fstab mounting FAT16 FS's ro - want rw

4. free shell

5. Mounting a disk RO and RW

6. Xfree86 and PCI MB

7. mount ro/rw

8. Sony CDU-55E support?

9. How to change a ro mounted disk to rw?

10. Export NFS share as rw but is being mounted as ro?

11. share as rw but mounts only as ro

12. 'mount' reporting rw when ro?

13. Why vfat partition mounted as ro?