Hi Tony.
Hmm. It was simpler when I did it before?
I just did RW then RWM, then one line to fix everything, then RO ROM'd again.
It can be done in a simpler way, but rw/rwm then some line, then ro/rom is certainly not the way to go. The partition you want to check should not be mounted at the moment (
) of checking, and most certainly not mounted read/write. It is possible to check partitions that are mounted r/o, but do never check a partition that is mounted r/w.
Well, to make the long story short, if you are willing to take a little risk (of the system not noticing a fixed FS, which can be easily fixed by a reboot), you could boil that script down to:
#!/bin/bash
export PATH=/bin:/sbin:/usr/local/bin:/usr/local/sbin
# start here if doing this manually:
fsck -a -f /dev/hda4 /dev/hda5 /dev/hdc5
I just had the script check everything that could be checked, just to make sure.
Oh well, this is the point where I have to admit that I made a mistake in my previous post: I didn't check the actual device files on the empeg, and assumed /dev/hdb*
was available on the MkII. Well, it isn't, so one should change any reference to /dev/hdb*
to /dev/hdc*
, but do not change the references to /proc/ide/hdb
.
cu,
sven
proud MkII owner (12GB blue/green/smoked, was #080000113 is #090001010)