'dd' hack needed - Help

This is a discussion on 'dd' hack needed - Help ; SuSE 9.3 Intel P4. I've got a couple of old Idris floppy disks I'm trying to copy. 3.5 HD, 1.44MB. Block size I believe is 8192. I'm using dd as my best guess of how I could do this: # ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: 'dd' hack needed

  1. 'dd' hack needed

    SuSE 9.3 Intel P4.

    I've got a couple of old Idris floppy disks I'm trying to copy. 3.5
    HD, 1.44MB. Block size I believe is 8192. I'm using dd as my best
    guess of how I could do this:

    # dd ibs=8192 if=/dev/fd0 of=/tmp/disk.0

    ....gets me a /tmp/disk.0 of 8192 bytes

    # dd ibs=1474560 if=/dev/fd0 of=/tmp/disk.0

    ....ALSO gets me a /tmp/disk.0 of 8192 bytes

    Is there a better way, or I am doomed?

  2. Re: 'dd' hack needed

    On Wed, 26 Oct 2005 17:40:23 +0000, entropy wrote:

    > SuSE 9.3 Intel P4.
    >
    > I've got a couple of old Idris floppy disks I'm trying to copy. 3.5
    > HD, 1.44MB. Block size I believe is 8192. I'm using dd as my best
    > guess of how I could do this:
    >
    > # dd ibs=8192 if=/dev/fd0 of=/tmp/disk.0
    >
    > ...gets me a /tmp/disk.0 of 8192 bytes
    >
    > # dd ibs=1474560 if=/dev/fd0 of=/tmp/disk.0
    >
    > ...ALSO gets me a /tmp/disk.0 of 8192 bytes
    >
    > Is there a better way, or I am doomed?


    My best guess is that the second block could have a bad block. Try adding
    'conv=noerror conv=sync' - that will tell dd to keep going through bad
    blocks and also tell it to zero fill for bad blocks encountered.


  3. Re: 'dd' hack needed

    ray@zianet.com wrote...
    > On Wed, 26 Oct 2005 17:40:23 +0000, entropy wrote:
    >
    > > SuSE 9.3 Intel P4.
    > >
    > > I've got a couple of old Idris floppy disks I'm trying to copy. 3.5
    > > HD, 1.44MB. Block size I believe is 8192. I'm using dd as my best
    > > guess of how I could do this:
    > >
    > > # dd ibs=8192 if=/dev/fd0 of=/tmp/disk.0
    > >
    > > ...gets me a /tmp/disk.0 of 8192 bytes
    > >
    > > # dd ibs=1474560 if=/dev/fd0 of=/tmp/disk.0
    > >
    > > ...ALSO gets me a /tmp/disk.0 of 8192 bytes
    > >
    > > Is there a better way, or I am doomed?

    >
    > My best guess is that the second block could have a bad block. Try adding
    > 'conv=noerror conv=sync' - that will tell dd to keep going through bad
    > blocks and also tell it to zero fill for bad blocks encountered.


    Thanks for your suggestion. Unfortunately, /tmp/disk.0 grows without
    bound until I hit dd with a SIGINT. I'll keep R'ing TFM and see what
    else I can come up with.

    Gracias

  4. Re: 'dd' hack needed

    try the COUNT= qualifier.

    "entropy" wrote in message
    news:MPG.1dc9a5be9b20db9398a5d3@news.verizon.net.. .
    > ray@zianet.com wrote...
    > > On Wed, 26 Oct 2005 17:40:23 +0000, entropy wrote:
    > >
    > > > SuSE 9.3 Intel P4.
    > > >
    > > > I've got a couple of old Idris floppy disks I'm trying to copy. 3.5
    > > > HD, 1.44MB. Block size I believe is 8192. I'm using dd as my best
    > > > guess of how I could do this:
    > > >
    > > > # dd ibs=8192 if=/dev/fd0 of=/tmp/disk.0
    > > >
    > > > ...gets me a /tmp/disk.0 of 8192 bytes
    > > >
    > > > # dd ibs=1474560 if=/dev/fd0 of=/tmp/disk.0
    > > >
    > > > ...ALSO gets me a /tmp/disk.0 of 8192 bytes
    > > >
    > > > Is there a better way, or I am doomed?

    > >
    > > My best guess is that the second block could have a bad block. Try

    adding
    > > 'conv=noerror conv=sync' - that will tell dd to keep going through bad
    > > blocks and also tell it to zero fill for bad blocks encountered.

    >
    > Thanks for your suggestion. Unfortunately, /tmp/disk.0 grows without
    > bound until I hit dd with a SIGINT. I'll keep R'ing TFM and see what
    > else I can come up with.
    >
    > Gracias




  5. Re: 'dd' hack needed

    steve.foley@DELETE.att.net wrote...
    > try the COUNT= qualifier.


    Duh.

    > "entropy" wrote in message
    > > ray@zianet.com wrote...
    > > > On Wed, 26 Oct 2005 17:40:23 +0000, entropy wrote:
    > > >
    > > > > SuSE 9.3 Intel P4.
    > > > >
    > > > > I've got a couple of old Idris floppy disks I'm trying to copy. 3.5
    > > > > HD, 1.44MB. Block size I believe is 8192. I'm using dd as my best
    > > > > guess of how I could do this:
    > > > >
    > > > > # dd ibs=8192 if=/dev/fd0 of=/tmp/disk.0
    > > > >
    > > > > ...gets me a /tmp/disk.0 of 8192 bytes
    > > > >
    > > > > # dd ibs=1474560 if=/dev/fd0 of=/tmp/disk.0
    > > > >
    > > > > ...ALSO gets me a /tmp/disk.0 of 8192 bytes
    > > > >
    > > > > Is there a better way, or I am doomed?
    > > >
    > > > My best guess is that the second block could have a bad block. Try
    > > > adding 'conv=noerror conv=sync' - that will tell dd to keep going
    > > > through bad blocks and also tell it to zero fill for bad blocks encountered.

    > >
    > > Thanks for your suggestion. Unfortunately, /tmp/disk.0 grows without
    > > bound until I hit dd with a SIGINT. I'll keep R'ing TFM and see what
    > > else I can come up with.


    --
    BUSH: BIG HAT, NO CATTLE.

+ Reply to Thread