Welcome, Guest. Please login or register.

Author Topic: A1200 partitions vanished  (Read 3668 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
A1200 partitions vanished
« on: March 15, 2009, 12:33:19 PM »
I've got an A1200 with 3.1 with a Blizzard 1230 and a 4GB compact flash card. It has a small FFS Workbench partition and a FFS Work partition which doesn't cross the 4GB barrier. I was using it just now and I got a checksum error on the Work partition when I tried to save a file in Ed. It didn't seem to be validating as there was no disk activity. I rebooted, and got the kickstart screen. Went in to early startup and there were no partitions showing. I booted from a Workbench floppy and the ran HDToolBox. The drive was visible, but the only option available was to change the drive type.

Why would this happen if the partitions don't cross the 4GB barrier? What can I do to get the partitions back?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: A1200 partitions vanished
« Reply #1 on: March 15, 2009, 05:36:12 PM »
Quote
Thomas wrote:
How can you be so sure that it didn't cross the border ? Did you run Check4GB ?

No, but I left some space unused at the end of the drive so I didn't quite use the whole 4GB. That should avoid problems shouldn't it?

Quote
Thomas wrote:
Quote
What can I do to get the partitions back?

This one could probably help you: http://aminet.net/package/disk/salv/RDBrecov

Ahh, brilliant. I had a look at RDBSalv but apparently it's useless without a (no longer available) keyfile. I'm just backing up a Workbench floppy so I can install the PCMCIA CF drivers on it from my EasyADF floppy, then I should be able to get RDBrecov copied over and give it a try.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: A1200 partitions vanished
« Reply #2 on: March 15, 2009, 05:53:31 PM »
Ok, I followed the instructions in the RDBRecov guide and used HDToolBox to get the cylinders (3019) and blocks per cylinder (8064) values. The manual also asks for bytes per block, but this information was not shown in HDToolBox so I guessed 512. I ran RDBRecov like this:

> rdbrecov scsi.device 0 s 512 c 3019 cs 8064

and this is the result:

Trying to open scsi.device unit 0
Sectorsize = 0 (overridden by parameter: 512)
Cylinders = -1 (overridden by parameter: 3019)
CylSectors = 0 (overridden by parameter 8064)
Allocated partition table for 100 entries.
device does not support NSD or TD64 for harddisks >4GB

and that it. Anything else I can do? :-?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: A1200 partitions vanished
« Reply #3 on: March 15, 2009, 07:01:29 PM »
Ok,  have just run RDB-Salv and it got 31% of the way along and started reporting "Error: read error 3 while reading block 7831100 to 7831199", many times with different block numbers each time. I noticed in the background that it had found my Workbench and Work partitions so I cancelled the scan.

The Workbench partition was reported as 511MB and the Work partition as 2048MB. Can I safely create partitions on the drive of those sizes? If those values are wrong, will anything be lost? Can I just try again?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: A1200 partitions vanished
« Reply #4 on: March 15, 2009, 07:54:53 PM »
Quote
Thomas wrote:
Note that megabyte sizes are not enough information to recreate the partitions. Only if RDBSalv told you the number of blocks per cylinder, the first and the last cylinder, you can enter these information into HDToolbox and get back your partitions. If you don't have these information, you've got a problem.

RDBSalv doesn't give this info as it is not registered :-( If anyone has a registered copy and would like to help me, please go ahead...!


Quote
Thomas wrote:
Quote
I followed the instructions in the RDBRecov guide and used HDToolBox to get the cylinders (3019) and blocks per cylinder (8064) values.

How big is the CF card ? These value result in 12 GB.

It's 4GB. Perhaps the geometry info is corrupt :-?

Quote
Thomas wrote:
Please try C 1040 and CS 8064. This will stay below 4GB.

This resulted in:

Allocated partition table for 100 entries.
Reading cylinder 972
TD_READ (1) Error = 3

Quote
Thomas wrote:
1. run rdbrecov like this:

rdbrecov scsi.device 0 s 512 c 8388608 cs 1

This resulted in the same output I first posted from RDBRecov.

Quote
Thomas wrote:
If this fails to find your partitions, too, use the call from 1. and let it run 'till the end.

Could you explain what you mean? I don't understand.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: A1200 partitions vanished
« Reply #5 on: March 16, 2009, 06:36:25 AM »
Thanks Thomas. I will try your suggestions out of curiosity. But first, somebody on EAB helped me out with a full copy of RDBSalv. This successfully found and mounted my partitions, so I can back up my data before experimenting with RDBRecov.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: A1200 partitions vanished
« Reply #6 on: March 16, 2009, 04:43:32 PM »
Well this is really weird. I powered the Amiga on just now to attempt a backup, and it booted. Both partitions are visible and accessible. Is it possible that scanning the disk with RDBSalv or mounting the partitions somehow righted the problem? I definitely didn't write anything back to the disk after scanning for partitions.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: A1200 partitions vanished
« Reply #7 on: March 16, 2009, 05:26:52 PM »
Hmmm, maybe. I'm backing up now. Will have to to it in 'shifts' though, as I can't get anything other than a 128MB card to work in my PCMCIA adapter. I even plugged it via USB in to a Linux machine and created a MBR and a FAT16 partition, but it still won't see it on the Amiga :-(

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: A1200 partitions vanished
« Reply #8 on: March 17, 2009, 08:48:08 AM »
Just checked in diskpart and my Lexar Platinum II 80x 2GB card is indeed set to removeable. Do I need a tool specific to this card to change it, or is there a generic tool I can use?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: A1200 partitions vanished
« Reply #9 on: March 17, 2009, 11:11:50 AM »
I had looked at those posts, but they only mention Sandisk cards. I was wondering whether there is a more generic tool which could work on any brand of card.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10