Ubuntu :: Copy A File To A Flash Drive From Terminal?
Jun 2, 2011
how can I either copy a file (say, ~/file.txt) directly to the flash drive? I know that I can use the command
Code:
sudo cp ~/file.txt ???
to copy it, but what goes in the question marks?
View 1 Replies
ADVERTISEMENT
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?
View 2 Replies
View Related
Jun 8, 2010
Is it possible to copy files from Ubuntu Server 9.10s to a USB Flash drive?
View 1 Replies
View Related
May 2, 2011
I want to copy a windows operating system dvd to a usb flash drive. (I want the flash drive to be bootable under windows).
View 2 Replies
View Related
May 12, 2011
I'm on Natty, and I want to know if it is possible to safely remove, or eject usb flash drives via Terminal?
View 1 Replies
View Related
Nov 26, 2010
My terminal cannot detect the flash drive at all time.
View 4 Replies
View Related
Feb 27, 2010
I want to copy a file from my D-drive to E-drive through terminal.How can I do it?Do I've to mount the drives first?
View 1 Replies
View Related
Aug 26, 2010
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?
View 2 Replies
View Related
Oct 26, 2010
I know how to redirect the output of a terminal to a file. For example, if I want to list all the files in ~/Documents and output to a file called test.txt, I would do this: ls ~/Documents > test.txt The question is, can I copy the output to test.txt AFTER I have carried out the command? This would mean that I wouldn't have to know in advance whether I want to copy the output to file. I want to do something like this: ls ~/Documents Then this: <bash command for copying standard output to test.txt>
View 2 Replies
View Related
Jul 31, 2011
I am new to opensuse 11.4. I am trying to copy the flash 11 beta file (libflashplayer.so) into the lib64/browser-plugins folder but i get 'Access Denied. Could not write to (destination).
View 4 Replies
View Related
Sep 10, 2010
I have seen this 3 times now - it's an updated Lucid with EXT4, trying to copy to a 500G USB drive?
View 3 Replies
View Related
Jul 9, 2010
just installed ubuntu couple of days back on my netbook. I am still a beginner, enjoying my adventure exploring ubuntu. I have another desktop which runs on XP. I am able to access XP shared folders through my netbook(linux). However, i wanted to copy files from XP infact folders using TERMINAL in my netbook, not copy and paste using my mouse. Are there any commands for it?
View 1 Replies
View Related
Feb 27, 2010
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)
View 4 Replies
View Related
Jul 7, 2011
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.
View 3 Replies
View Related
Jun 8, 2010
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.
View 7 Replies
View Related
Mar 30, 2011
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.
View 11 Replies
View Related
Dec 1, 2009
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.
View 2 Replies
View Related
Jul 3, 2010
I'm trying to move a tar file from my ext3 linux box onto a FAT32 usb flash drive but keep getting
mv: failed to preserve ownership for `/dir/blah.tar.gz': Operation not permitted
View 3 Replies
View Related
Sep 3, 2010
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...
View 2 Replies
View Related
Jun 22, 2010
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++.
View 4 Replies
View Related
Aug 22, 2010
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.
View 6 Replies
View Related
Mar 29, 2010
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?
View 9 Replies
View Related
Mar 1, 2011
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.
View 1 Replies
View Related
Dec 4, 2009
i want copy files in ftfs drive to ext3 drive. how am I do this?
View 2 Replies
View Related
Mar 22, 2010
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.
View 6 Replies
View Related
Feb 10, 2011
i started using computer when it was all dos driven so thought i was going to be fine using the terminal in ubuntu the problem i am facing is i can not quite get my head round why is it if i load the terminal. and the first this i type is dir or ls it gives me a list off directories. So why is it if i type cd /pictures i get no such file or directory ? Confused
This also bugging the jebus out off me is i am trying to get into my usb pen drive from the terminal to run a program i have on there.
so i type cd /media
then typed ls
is displayed New Volume <-- This being the name off my pen drive
i have tried every this to get into there but the commands i would use in dos are not playing ball.
Can some one please explain how to get into my usb pen then tell me were i can go read on this as i really can not get my head around this at moment.
View 5 Replies
View Related
Jan 17, 2010
I need to copy the contents of one drive to another new drive.I mean EVERYTHING on it including the OS itself. I am thinking Clonezilla at the moment.
View 9 Replies
View Related
Sep 5, 2010
I removed the one I had because of some security alert. But lots of sites don't work with the 32 bit one with the wrapper so I'd like it back.
View 4 Replies
View Related
Jan 23, 2010
I wanted to know if i can install 9.10 onto a usb flash drive--without using my computers hard drive at all when running ubuntu off the flash drive-
View 3 Replies
View Related
Jun 11, 2011
Back in Febuary, my wife bought a Toshiba Satilite from Wal-Mart and a few days ago the hard drive got toasted. So now I'm using an 8gig usb drive as the boot drive. I also have 2 other flash drives for downloads and such but overall I am very pleased.
I'm running 11.04 32 bit and was wandering if 64 bit made a difference. I've got 4 gigs of ddr3. It's slow to boot, but once it's running, it's faster then Windows 7. Very nice.
Is there anything I should chage, use, since I'm running it off a flash drive??
I have 3 seperat drives, 2 x 16 gigs and an 8 gig, and was wandering which one would be best for booting off of? What do I look for??
Here's what I got:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
00:01.0 PCI bridge: Toshiba America Info Systems Device 9602
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
[Code]....
View 5 Replies
View Related