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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
11-08-2007, 12:32 PM
|
#1
|
LQ Newbie
Registered: Nov 2007
Posts: 12
Rep:
|
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
|
|
|
11-08-2007, 12:39 PM
|
#2
|
Member
Registered: Sep 2007
Distribution: debian based
Posts: 308
Rep:
|
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)
|
|
|
11-08-2007, 12:42 PM
|
#3
|
LQ Newbie
Registered: Nov 2007
Posts: 12
Original Poster
Rep:
|
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!!
|
|
|
11-08-2007, 12:47 PM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
11-08-2007, 12:52 PM
|
#5
|
LQ Newbie
Registered: Nov 2007
Posts: 12
Original Poster
Rep:
|
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?
|
|
|
11-08-2007, 01:01 PM
|
#6
|
Member
Registered: Sep 2007
Distribution: debian based
Posts: 308
Rep:
|
just use the windows gui???
|
|
|
11-08-2007, 01:12 PM
|
#7
|
LQ Newbie
Registered: Nov 2007
Posts: 12
Original Poster
Rep:
|
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
|
|
|
11-08-2007, 02:08 PM
|
#9
|
LQ Newbie
Registered: Nov 2007
Posts: 12
Original Poster
Rep:
|
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.
|
|
|
11-08-2007, 02:22 PM
|
#11
|
Member
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528
Rep:
|
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?
|
|
|
11-08-2007, 02:32 PM
|
#12
|
LQ Newbie
Registered: Nov 2007
Posts: 12
Original Poster
Rep:
|
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.
|
|
|
11-08-2007, 03:38 PM
|
#13
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep:
|
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.
|
|
|
11-08-2007, 04:08 PM
|
#14
|
LQ Newbie
Registered: Nov 2007
Posts: 12
Original Poster
Rep:
|
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?
|
|
|
11-08-2007, 05:20 PM
|
#15
|
Member
Registered: Sep 2007
Distribution: debian based
Posts: 308
Rep:
|
i know every thing ive said has been shot down but
winrar??? winzip????
|
|
|
All times are GMT -5. The time now is 11:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|