From: Kulwant B. <kul...@bt...> - 2003-01-08 22:55:32
|
Hello Geert, > If it's the RDSK partition code, we can probably fix it by looking at > your RDB. You can extract the RDB by dumping the first 2 cylinders to a > file: > dd if=/dev/sdb of=rdb.dump bs=4k count=xxx > Set `xxx' such that `xxx*4096' equals the number of bytes in the first 2 > cylinders of the disk (use HdToolBox to find out the cylinder size). > Then sent us the output of `hexdump rdb.dump'. OK, because I got a count of 615 blocks per cylinder, I used 615*2*4096=5,038,080 as the count. So the commandline I used was: # dd if=/dev/sdb of=rdb.dump bs=4k count=5038080 After a few moments I got back: dd: /dev/sdb: Input/output error ho hum. The other question I have is, how do I then copy the rdb.dump file to the Amiga side for mailing? I tried to mount another Amiga partition (sda2) as target/amigaside and tried to copy the rdb.dump file (which I could see if I did an ls) by using cp rdb.dump target/amigaside, but I do not see the file when I get back to AmigaOS. I also do not know how big this file is (it may be 0 bytes). What is the way to get a file listing with sizes? Dir doesn't seem to work - I get not found. I could see it in one of the bin directories, but trying to run that came back with some sort of error trying to load shared libraries. Apologies for all the simpleton questions, but as you can probably guess, I am very new to LINUX. I am moderately proficient with AmigaOS, MSDOS and Windows and quite basic on emulated 68k Macintosh but this is my first foray into LINUX. Kind regards, Kulwant |