Welcome, Guest. Please login or register.

Author Topic: A1200 partitions vanished  (Read 3659 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Thomas

Re: A1200 partitions vanished
« on: March 15, 2009, 02:13:45 PM »

Quote
Why would this happen if the partitions don't cross the 4GB barrier?


How can you be so sure that it didn't cross the border ? Did you run Check4GB ?

The limit we are talking about is 4,294,967,296 Bytes. It's difficult to tell if you cross it if all programs only show rounded kb, mb or gb. And it's even more difficult because some programs calculate with 1000 bytes per kb and other programs with 1024 bytes per kb.

Although a CF card labelled as 4GB usually has 4,000,000,000 bytes or less.


Quote
What can I do to get the partitions back?


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

Bye,
Thomas

Offline Thomas

Re: A1200 partitions vanished
« Reply #1 on: March 15, 2009, 07:41:27 PM »
Quote
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?


Should be safe. The worst case is that FFS finds something it understands on the wrong partitions and tries to validate it. Only then it could change something. But I think nothing that DiskSalv couldn't repair.

However, if you have the possibility to connect the CF card to a PC your could use WinUAE to create an image of it so that you have a backup for the case that all goes wrong.

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.


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.

Quote
device does not support NSD or TD64 for harddisks >4GB

and that it. Anything else I can do?


Please try C 1040 and CS 8064. This will stay below 4GB.


If nothing else helps please follow these steps:

1. run rdbrecov like this:

rdbrecov scsi.device 0 s 512 c 8388608 cs 1

2. when it says for the first time "possible ffs partition found in cylinder nn", press Ctrl-C. Divide nn by 2 and use the result as the new CS value. Divide 8388608 by the new CS value and use the result as new C value.


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

In any case, please post the output from each run here.

Offline Thomas

Re: A1200 partitions vanished
« Reply #2 on: March 15, 2009, 09:50:43 PM »
Quote

motorollin wrote:

This resulted in:

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


972 cylinders with 8064 blocks of 512 byts each, this is 3.7 GB.


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]

You found a bug :-)

Sorry, please try

rdbrecov scsi.device 0 s 512 c 8388607 cs 1

Obviously if the last cylinder fills the 4 GB exactly, it refuses to use the less-than-4GB commands which it actually should use.


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.

RDBRecov tries to optimise its speed by only reading the first few block of each cylinder. But as cylinders are only a logical thing, it cannot determine how many blocks a cylinder has. Therefore the CS parameter. To recreate the partitions, the number of blocks per logical cylinder must be exactly the same as when the partitions were first created. Unfortunately it is no easy to find this out. Different versions of HDToolbox use different values. Not to mention HDInsttools or other programs.

By using CylSize = 1 you tell it to read every single block of the disk. This could need *very* long. But it will probably find all partitions.

Bye,
Thomas

Offline Thomas

Re: A1200 partitions vanished
« Reply #3 on: March 16, 2009, 05:08:24 PM »

Perhaps the flash memory failed because it was getting hot and now that it's cooled down it works again ?

I'd definitely make a backup ASAP.

Bye,
Thomas

Offline Thomas

Re: A1200 partitions vanished
« Reply #4 on: March 16, 2009, 10:29:30 PM »

Probably the usual removable vs. fixed disk problem. Only cards which are marked as fixed disk work with the Amiga.

Bye,
Thomas

Offline Thomas

Re: A1200 partitions vanished
« Reply #5 on: March 17, 2009, 09:51:01 AM »

This has been discussed very often recently. See one of the other threads: http://www.amiga.org/search.php?query=card+removable&mid=6&action=showall&andor=AND

Bye,
Thomas