Ubuntu :: Copy ISO CD Image File To USB Flash Drive Using Dd?
Jul 13, 2011
I am pretty much a noob when it comes to Linux. But I desperately need to do exactly what the title of this thread says.I have this ISO file which is a bootable CD image. But instead of booting off of a CD, I want to boot from a USB flash drive. I understand that I can't simply just burn it with ImgBurn or whatever, and then just drag and drop the files and folder to a USB flash drive. Because hidden files, bootloader, etc. would not be visible and not copied. I know I'm in for some special software in order to copy every single byte from that ISO image to my USB flash drive.
I did try extracting the ISO with PeaZip (7-zip based) under Windows Vista, but that didn't work out very well. It resulted in a few files and folders, totaling in at about 2 KB, while the source ISO file is actually some 50 MB. WinRAR, on the other hand, would simply just create an empty folder where to put the files (no files created/extracted), flash before my eyes and call it a day ("complete").I have learned from other posters on other forums that there is this Unilx program/command called DD. How can I use DD to accomplish this task?
I made a persistent install of Ubuntu on a flash drive. I made changes to that installation. The software (Unetboontin) sets this all up. I think it partitions it for you. How do I image that flash drive to another flash drive?
I just got a 2TB drive with the intention of backing up multiple Ubuntu machines to it. What would be the best way to do this, keeping ease of restoration in mind? Should I just copy each drive image to the BU drive, or use a utility like Back in Time?
I installed in my Slackware 13.1 with generic kernel 18.104.22.168-smp VirtualBox packages taken from SlackBuilds.org (acpica, virtualbox-ose and virtualbox-kernel). Then for testing purposes I installed in VirtualBox Windows XP using CD-ROM drive connected to USB port. It's a lot of fun to see Windows as an application in Linux!
Now I'm trying to install in VirtualBox Linux Mint using either USB flash drive prepared with unetbootin or mere ISO image. Without success. It seems VirtualBox 3.2.10 OSE doesn't recognize either USB flash drives or ISO images though it recognizes CD-ROM drive connected to USB port. I found some advices searching Internet but all of them are useless.
I was startng the installation of Fedora Core 3. I got an error saying that it couldn't transfer the installation image. It said probably hard drive doesn't have enough room.Oddly enough, I used a 19gig hard drive specifically for fedora only, and I did choose to format/partition it.Any help on this?(by the way, complete newb to linux)EDIT: god figured out how to pass that, but every freaken ting says there's a corrupt file.
I have some large image files that are 30 gig and more. I am running Ubuntu 9.10 whenever I try to copy one of these files to another drive I get a error saying the file is too large. I am trying to copy from an external Hard Drive or a slave drive does the same thing. I have a friend who has expressed the same issue. This must be a widespread bug.
I am trying to get the dd command to successfully copy a disk image to a remote system.Right now I am testing out the syntax by trying to copy the /dev/sda1 directory of the subject computer. The command syntax that I am using is the following:Code:dd if=/dev/sda1 ibs=4096 conv=notrunc,noerror | (ssh 22.214.171.124 of=/roarchive/test obs=4096)The user account running this command is root, and the account does have key-based authentication between the source and destination computers. The command does not return any error messages, but when I check the directory on the destination system, the expected output is not there.
How can I automate the following: When I insert a flash drive into any of the available USB ports, some kind of script or software, must automatically mount it, delete everything off the flash drive, copy an audio file back to it and then automatically unmount the USB.Maybe I should setup some kind of Kiosk to use the above functionality - would that be easy?
I just installed virtualbox and installed windows xp on it. I need windows xp for compiling my Lazarus (Free Pascal Compiler) projects in it, so that something I program on ubuntu works on Windows too. Windows works correctly on the virtual machine, there is just one problem. How do i copy a file from ubuntu(for example from/home/user/downloads) into the C drive of windows(Windows is installed on the virtual machine)
I would like to copy the entire file system hierarchy from one drive to another..i.e contents of each directory as well as regular files in Linux platform. Would be gratefull to know the best way to do that with possibly Linuxes in-built functions. The file system is a ext family.
I have an 500GB Iomega external drive connected to my iMac and used for the Mac Time Machine back-ups. I want to put a small partition on there that I can use to back-up my Ubuntu files which are on my laptop. I thought that I would be able to just copy the entire Home file on Ubuntu to this drive be drag and drop but this does not work. I get a notice to inform me that I do not have permission to create file there. I can however move files in the other direction (from the external drive to Ubuntu on the laptop. I assume this is because the external drive was formatted for Mac and I hope the problem will be solved if I could format a part of the drive in ext4 to accommodate the linux files.
I have never used rsync before, only DD. But from what I have been reading, rsync is better becasue it will basically mirror your hard drive, thus being able to run the cloned software from the new hard drive. My problem is I do not know what is the best commands or even the basic commands to use in rsync. I am trying to make an image from a external hard drive to a usb drive. That way my chances of messing up he original software is not as risky becasue I'll just restore the image onto another hard drive. Does anyone know the best script to have rsync make an image file of a hard drive and place it on a usb drive and then restore it?
I have Debian 5 XFCE currently installed on my old desktop. I cant open my flash drive, it doesnt pop up on the desktop, nor is it in the file manager. I read that you can add it to the fstab list but I dont know how to do it.
My flash drive shows up as sda1 in lsusb.
get my flash drives working, thats how I install packages.
Here is a way to prepare a USB flash drive to save your kickstart file to it, and then read the kickstart file from the USB drive during a new Fedora installation.A USB flash drive is recognised by the Linux kernel as just another hard drive.This is how I set up my USB flash drive to use it to store my kickstart file on.You will need a working Linux system to set up the USB drive.
I was given a forensic Image which I now know is a DD image of the drive (Vista) and am trying to mount the image or extract the image to another drive. I'm not sure of the extention type or if the image is a partition or the entire drive. I think it is the entire drive.
Is it possible to mount a DD image to a device. If I can't do that I just want to extract the files to run some programs against the drive. Can I view the files under Ubuntu or do I have to remove the drive and stick it into a Vista computer.
I purchased a second drive today and was hoping the command line would be something simple.
Or am I on the wrong track, should I be doing this all in a windows environment. The reason I picked ubuntu was because of the reporting tools.
I have a USB flash drive, which is bootable and I would like to copy the whole drive to a different drive.Can I just do a low level dd copy between both USB memory drives, or do I need to make an ISO of the source, and then put that ISO on the destination? I figured I could ask in less time than trying, and exhaustively testing to make sure I had it right...
I always have a problem in simple user mode when I insert a USB key. Can't mount, can't open with file manager. I'm obliged to open a simultaneous root session, to do what I want to manage the usb key.
In my user manager, I don't know wich group I have to add to this simple user (it's me) so I am allowed to manage the usb key.
can I change the ECC code for a block of a file stored on a flash drive by any means ? of a file stored on a HDD (though I don't think there would be a difference between the two)Maybe , through some hardware interrupts or anything like that?Also if possible I need the solution to be in C/C++.
I have just installed Oracle Enterprise Linux.Please tell me how to mount and copy files from USB drive (Pen drive) and cd drive. Please also tell me how to change the default boot options. Currently as soon as I boot the PC it boots Linux. I want default boot option as Windows.
I did it in 8.04, my question is when I left (opposite) click the desktop CD/DVD icon and select Copy from the pop-up menu where does the extracted image end up.Its always worked well enough I never worried about it, but today I needed some copies of a DVD a coworker authored that had one of those lame "Stomper" labels stuck on. It was applied off center and made the disk so unbalanced it appeared to read at 1X or less I was expecting an option to save the image but didn't get one. Anyone know if its still on my hard drive somewhere so I can avoid the tedium of ripping it again?
How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).
More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.
I have a 120 gig drive that I'd like to clone before it fails completely. I was thinking I'd pull the drive from the server and build a separate machine that has it's own os installed and the source and destination drive. Does anyone know of any linux tools will will do a full drive copy? Additionally, If possible, I'd like to move to a larger drive. how I'd migrate the 120 drive to a 400 or so? 1 idea I have is to install os on 2 new drives to where it they will boot, Then boot with one and copy source to the newly created destination drive.
I have 2 partitions on my hard disk1. sda1 is ext3 partitoins with MINT linux2. sda2 ntfs partitions with my files and movies I want to copy, make backup of my sda1 partitions and store it to file (image) in some folder in sda2.In windows I have made that many times with Acronis and ghost, but I dont know how to make it in MINT.Is there some manual that explain that.
i have installed linux (RHEL4) in a PC and have to do the same process for 150 PC's of same configurationIf i copy the image of the first PC(which i have installed)hard disk to other PCs ..will it works?Or I have to install each PC manually?What is the standard process to do this task.