1. fsck'ing the / partition in 0.99pl9 during bootup
Hi all: Just a short question. With the new patchlevel release of the kernel,
there is a very nice option for mounting the root filesystem readonly at first.
I assume the intention of this is to allow an [e2]fsck of the root partition.
My root partition is an ext2fs partition, 16MB.
How does one remount a partition that has been mounted readonly as a
read/write partition? And what is the correct file to put the [e2]fsck
in? /etc/rc? Or does /etc/init have to be modified somehow?
Attempts at Answer:
I have tried doing an e2fsck of / (on /dev/hda2) at the beginning of
/etc/rc. This works. However, when I do e2fsck on other partitions,
the output from '/bin/e2fsck -mrv /dev/hdaX' says that /dev/hdaX is
already mounted! So when are the filesystems being mounted -- before
/etc/rc is run? Then I try to mount the root filesystem, and that
*doesn't* work. My version of 'mount' doesn't appear to support the '-u'
option. The man page says something about this. But if there is no way
to remount the root partition as read/write, why do it at all?
Does anyone know if there is a /bin/mount that *does* support the '-u'
option? And what is the correct syntax for 'mount -u'?
In short, if anyone is able to run e2fsck on their /, /user, etc. paritions at
boot-time with 0.99pl9, and then remount / as read-write, could you let me know
how you did it? Like, what do your /etc/rc, /etc/fstab, /bin/mount files look
like (or what size and date are they)?
L.G. 'Ted' Stern --- | The scientific method enables ordinary
2. Disk quota setup
3. fsck'ing the root partition
4. Linux OS as Network Client
5. ext2 always fsck'ing on boot up
6. Trapping Bus error
7. Problem during bootup with fsck.ext2 - Operation not permitted
8. Automatic filename expansion - passing paramaters (file*) to script
9. fsck during boot question
10. SDS 4.2 / Solaris 7 / boot with fsck error
11. Need Help: fsck error on root partition, won't boot.
12. FSCK with '-t' option during Autoboot