[comp.sys.amiga.tech] Hard Disk Crash, HELP!!!

noel@uokmax.UUCP (Bamf) (02/14/89)

Arrrgh! 

My harddisk has crashed, but I think its probably fixable:

I was un-arcing a file, and had a system crash, (no suprise, seeing how I 
had all kinds of things running), but the file that I was unarcing
didn't get fully unarced, and when I re-booted, I got:

	Error validating disk
	Key 18036 bad header type

But it still boots (after I hit cancel)

So I whip out diskx, and look at block 18036, and yep, it's the file 
header for that file.  So I figure all I gotta do it fix or delete 
that file header, (or delete whatever is referencing it), no?

How do I go about doing this?  (It's a supra 20meg, so I'm using 
their mounting software 'supramount', in case it matters)

I can't just delete the file, 'cause the disk isn't validated (although if
it's possible somehow, thats the optimal solution.)

Help please!?!?

Noel

-- 
 NEVER date a music major.  At least not one that's named her clarinet "Thor" 
----You want it should sing too?------|    noel@uokmax | ngorelic@uokmax
<Dis-Claimer, Dat-Claimer, to look at |        uokmax!tavern!anyone
 'em, you'd never know the diff...>   | "Beam me up scotty, we're outta beer"

billsey@agora.UUCP (Bill Seymour) (03/05/89)

From article <2382@uokmax.UUCP:, by noel@uokmax.UUCP (Bamf):
: 
: Arrrgh! 
: 
: My harddisk has crashed, but I think its probably fixable:
: 
: I was un-arcing a file, and had a system crash, (no suprise, seeing how I 
: had all kinds of things running), but the file that I was unarcing
: didn't get fully unarced, and when I re-booted, I got:
: 
: 	Error validating disk
: 	Key 18036 bad header type
: 
: But it still boots (after I hit cancel)
: 
: So I whip out diskx, and look at block 18036, and yep, it's the file 
: header for that file.  So I figure all I gotta do it fix or delete 
: that file header, (or delete whatever is referencing it), no?
: 
: How do I go about doing this?  (It's a supra 20meg, so I'm using 
: their mounting software 'supramount', in case it matters)
: 
: I can't just delete the file, 'cause the disk isn't validated (although if
: it's possible somehow, thats the optimal solution.)

	Deleting the file is actually just about what you'll need to do...
Go into DiskX and find the directory block for the parent of the file. 
(ie. if the file is in the directory FOO, find the driectory block for
'FOO'...) in this directory block there will be a pointer to the bad
file. Usually this pointer is easy to spot, since it's just the hex valuse
for the file header. (In this case 4674) Sometimes the pointer is chained
behind another file. Just edit the directory header to take this pointer
out. (Or edit the last file in the chain before the bad file...) then exit
DiskX and do a 'Diskchange'. The validation should then free up the blocks
no longer used for that file.

: Help please!?!?
: 
: Noel
: 
: -- 
:  NEVER date a music major.  At least not one that's named her clarinet "Thor" 
: ----You want it should sing too?------|    noel@uokmax | ngorelic@uokmax
: <Dis-Claimer, Dat-Claimer, to look at |        uokmax!tavern!anyone
:  'em, you'd never know the diff...:   | "Beam me up scotty, we're outta beer"
-- 
     -Bill Seymour             ...tektronix!reed!percival!agora!billsey
                               ...tektronix!sequent!blowpig!billsey
     Creative Microsystems   Northwest Amiga Group    At Home Sometimes
     (503) 691-2552          (503) 656-7393 BBS       (503) 640-0842