LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2007, 12:32 PM   #1
tootypegs
LQ Newbie
 
Registered: Nov 2007
Posts: 12

Rep: Reputation: 0
new to linux, question on the dd command


Hi, basically my question involves the dd command. My aim is to copy the entire contents of my usb thumb drive (e to a folder located in (c:myfolder). I have seen a tutorial on this site for dd, which is helpful but no matter what i have tried i dnt seem to be able to get it to work successfully. Im using a windows machine and i downloaded 'cygwin'. Could anyone help me out here?


Thanks
 
Old 11-08-2007, 12:39 PM   #2
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 308

Rep: Reputation: Disabled
why for you try the using of unix native applications on the non unix computer?????


(i can speak English i just did that for dramatic effect)
 
Old 11-08-2007, 12:42 PM   #3
tootypegs
LQ Newbie
 
Registered: Nov 2007
Posts: 12

Original Poster
Rep: Reputation: 0
i am trying to create an identical copy of my thumb drive for a C++ program im trying to create. It has to be a foresically sound copy and this is the only way i know how i could ossibly achieve this - however if you know of another easier way i would like to hear please!!
 
Old 11-08-2007, 12:47 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Using cygwin, you don't have a kernel. The cygwin shell sits on top of windows, so you use windows for access to devices. If you need an image of the thumb drive, then either plug it into a computer running Linux, or boot up with a live distro on the current computer.
 
Old 11-08-2007, 12:52 PM   #5
tootypegs
LQ Newbie
 
Registered: Nov 2007
Posts: 12

Original Poster
Rep: Reputation: 0
ok then, im a little confused , sorry

is there a way to create a dd image of a thumbdrive is im using machines that run on xp as will my program to create an image of the usb device?
 
Old 11-08-2007, 01:01 PM   #6
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 308

Rep: Reputation: Disabled
just use the windows gui???
 
Old 11-08-2007, 01:12 PM   #7
tootypegs
LQ Newbie
 
Registered: Nov 2007
Posts: 12

Original Poster
Rep: Reputation: 0
and will that allow me to create the dd image of my device?



.............sorry but......how do i do that


my apologies for the simple questions - im appreciating the patients and help
 
Old 11-08-2007, 01:46 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,466

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
There are unix utilities for windows (win32) and dd is included.

http://unxutils.sourceforge.net/
http://www.chrysocome.net/dd
 
Old 11-08-2007, 02:08 PM   #9
tootypegs
LQ Newbie
 
Registered: Nov 2007
Posts: 12

Original Poster
Rep: Reputation: 0
IM confused now, ive downloaded unix uilties for win32 and its the same as cygwin isnt it?

Last edited by tootypegs; 11-08-2007 at 02:12 PM.
 
Old 11-08-2007, 02:19 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,466

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
I have never used these utilities and do not know how well they work.
http://sourceforge.net/projects/unxutils
 
Old 11-08-2007, 02:22 PM   #11
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
Ok this is going to be in the form of a question as I'm not sure of this,
Wouldn't he want to use rawwrite in windows to do what he needs to do?
 
Old 11-08-2007, 02:32 PM   #12
tootypegs
LQ Newbie
 
Registered: Nov 2007
Posts: 12

Original Poster
Rep: Reputation: 0
i've downloaded 'dd' from the rawwrite website. when i put in the suggested syntax from the site nothing happens at all? it just echos my command that i typed

Last edited by tootypegs; 11-08-2007 at 02:34 PM.
 
Old 11-08-2007, 03:38 PM   #13
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Windows not only abstracts the hardware, it prevents users from accessing the hardware directly. Contrast this to Linux, which abstracts the hardware, but does allow users to directly hit the hardware, if they really want to.

Two different philosophies, and I'll argue in favor of either of them, depending on the mood I am in.

But the upshot, I think, is that dd is unlikely to work in a Windows environment since it hits the hardware at a pretty low level. I am not positive of that and I have never tried dd from cygwin, but given that cygwin hooks into Windows at a fairly high level using a dll, this is what I would expect.

I would suggest, as someone else suggested, that you make an image of the thumbdrive using a Linux system then copy the image over to Windows.
 
Old 11-08-2007, 04:08 PM   #14
tootypegs
LQ Newbie
 
Registered: Nov 2007
Posts: 12

Original Poster
Rep: Reputation: 0
ok, but in my situation imaging the thumb drive on a linux machine is not an option (unfortunatly), i need to find away to image the thumb drive on the windows machine - maybe i should head away from the dd image idea - are there anymore options for creating an image?
 
Old 11-08-2007, 05:20 PM   #15
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 308

Rep: Reputation: Disabled
i know every thing ive said has been shot down but

winrar??? winzip????
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux command mail question very easy for you not for me ! zonemikel Linux - Newbie 1 09-25-2006 12:59 PM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 03:23 AM
General question on Linux Command jch02140 Linux - Newbie 3 08-02-2005 05:10 AM
linux command question markhod Linux - General 2 06-23-2005 11:49 AM
Linux command question satimis Linux - Newbie 9 09-09-2003 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration