Old bug in dd


Forum: Apps
Topic: Old bug in dd
started by: The Lightning Stalker

Posted by The Lightning Stalker on Aug. 25 2006,22:36
Hello.  I'm encountering an issue with dd in v0.6 and I was just wondering if it has been fixed since.  Actually I believe it's something with the kernel because I downloaded the gnu-utils.dsl "busybox replacement" and still got the same error.  Anyway, here's my command and the error message:

Code Sample
#dd if=/dev/hdb of=tivokernel3 cout=8192 skip=64477335
dd: /dev/hdb: Invalid argument
#


I'd just download it but I'm on modem so I want to know if it's worth the time.  If someone could test it and let me know?

Thank you,
The Lightning Stalker

Posted by mikshaw on Aug. 26 2006,02:15
wow...0.6?  That was before my DSL time =o)
There have been MANY improvements to DSL in general since then, but i don't know if dd was changed at all.

There is a semi-recent (v5.92, released November of last year) coreutils.uci in the mydsl repository which includes GNU dd, but the one in gnu-utils should still work.

In any case, maybe your command is incorrect.  Maybe a dumb question, but does hdb actually exist?

Posted by The Lightning Stalker on Aug. 26 2006,03:27
Thank you for helping me out, and yes, hdb is connected.  What I'm doing is working on the hard drive from a TiVo.  There are some other tools to view the funny partition table and they can read it just fine.  Also the backup tool MFS Tools did a backup for me without a problem.  I believe the problem to be in the kernel since both busybox and the latest dd from gnu-utils.dsl give the same error.  Anyway I started downloading the latest version of DSL so we'll see if it works.
Posted by The Lightning Stalker on Aug. 26 2006,04:30
Okay, I downloaded the latest version of DSL and guess what: SAME PROBLEM!  It does it with both hard drives.  :(
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.