Hylton Conacher (ZR1HPC) wrote:
Carlos E. R. wrote:
The Thursday 2004-02-26 at 15:57 +0200, Hylton Conacher (ZR1HPC) wrote:
....fscking the system and repairing the fs if necessary..... I read the SuSE help on the rescue system and noted there what it had to say about creating and using a rescue disk.
Whenever I use Yast to create the rescue floppy it does the creation fine but it always reports an error on verifying the floppy. And I thought that perhaps I might have the bad floppy in the box so I tried it with two others from different boxes as well. With my current problems and suggestions in creating the necessary rescue floppy disk (Thanks Carlos and others), I decided to try the rescue system under the manual install on the CD ie boot and run everything from CD1. I would like to report that all worked well... until I got to the cli point where I could enter a cli command ie after logging in. What I would like to do is fsck all the unmounted filesystems (entries in the fstab table), how can I get fsck or even e2fsck to do this? And no I cannot remember all the entries in the fstab file....yet. If I can get to the cli, what command and options do you suggest? I would assume fsck but the entries in the man pages and those displayed by the fsck help in the rescue system are different. Bear in mind my above paragraph as to what I want to do. OK, my new understanding so far ie: 1. Don't fsck a mounted partition 2. Boot from a CD to get cli access under rescue 3. Access rescue by booting off CD, selecting manual install and then the rescue option from there, after choosing kb and language. 4. Login as root (no password required 5. Enter ............................... to fsck the system Am I correct in assuming that fsck is like a combination of scandisk and defrag on a Windows system? While I understand it doesn't need to be run nearly as often, except under exceptional circumstances, on a journaling fs, it can normally do no harm, especially after a power outage/hard reboot? About right??? -- The Little Helper ======================================================================== Hylton Conacher - Licenced ex-Windows user (apart from Quicken) Registered Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================