From: Geert U. <ge...@li...> - 2003-01-09 09:35:19
|
On 8 Jan 2003, Kulwant Bhogal wrote: > > 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. Looks like the driver itself has problems. > 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 mount -t affs /dev/<amiga_partition> /mnt > 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 hope you didn't format that target partition? > 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? ls -l (`man ls' or `ls -- help') Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |