Re: [Freedos-user] command line sector read and write tool?

2008-12-23 Thread Jim Hall
On Thu, Dec 11, 2008 at 9:58 AM, Travis Siegel tsie...@softcon.com wrote:
 If copying raw sector information is all you're after, then you can
 use rawrite, I used it many times to write out boot disks for booting
 linux file systems.
 I don't know of a dd version for dos (thought I'd used one, but it
 wasn't dd), though it shouldn't be difficult to make one.
 Don't know if this helps or not, but hope it at least offers another
 option.


BTW, if anyone is still looking for a DOS port of 'dd', there's a
version 2.1 (1990) available in the GNUish archive at ibiblio:

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/gnuish/gnufut21.zip

--
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] command line sector read and write tool?

2008-12-11 Thread Eric Auer

Hi!

 Is there a command line tool to read a sector from harddisk,
 store it somewhere and write it back later?

While not user-friendly at all, you can use DEBUG for
this as long as the sector is inside a FAT formatted
partition. Old DEBUG versions do not support FAT32.

If the sector is the MBR, then you probably find quite
a few free existing tools for backup and restore of MBR.

Eric




--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] command line sector read and write tool?

2008-12-11 Thread Michael Reichenbach
Eric schrieb:
 Alternatively, you could search for a dos port of dd

dd for DOS sounds interesting. Was there ever a DOS port?

There is dd for Windows, does someone got it to run under HX DOS Extender?

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] command line sector read and write tool?

2008-12-11 Thread Eric Auer

Hi!

Of course there are DOS versions of DD, as for many
GNU tools, for example on www.delorie.com - however,
there is a misunderstanding: DD alone does not help
you editing disks. The trick is that the Linux kernel
lets you access disk devices (for whole disks and for
partitions) as if they were files... This is not the
case with the DOS kernel. To access DOS block devices,
you would use other tools... Which certainly do exist
but I know no good example apart from DEBUG ;-). You
have similar problems in Windows. Of course you can
still do all the fun stuff that DD can do if you have
a diskimage as a file, even in DOS and Windows, with
the DOS and Windows versions of DD ;-).

 Alternatively, you could search for a dos port of dd

 dd for DOS sounds interesting. Was there ever a DOS port?

 There is dd for Windows, does someone got it to run
 under HX DOS Extender?




--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] command line sector read and write tool?

2008-12-11 Thread Travis Siegel
If copying raw sector information is all you're after, then you can  
use rawrite, I used it many times to write out boot disks for booting  
linux file systems.
I don't know of a dd version for dos (thought I'd used one, but it  
wasn't dd), though it shouldn't be difficult to make one.
Don't know if this helps or not, but hope it at least offers another  
option.


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user