Linux - NewbieThis 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.
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.
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?
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!!
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.
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
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.