PDA

View Full Version : [ubuntu] dd from 1 flashdrive to another



TomAbada
June 14th, 2010, 08:21 AM
hi all
can someone remind me
how can i copy 1 USB flash drive to another by using dd ???
p.s i dont remember how can i know which USB is sda / sdb ? ...etc
so if i can reminded to that
that would be great

thanks in advance

anglican
June 14th, 2010, 05:14 PM
hi all
can someone remind me
how can i copy 1 USB flash drive to another by using dd ???
p.s i dont remember how can i know which USB is sda / sdb ? ...etc
so if i can reminded to that
that would be great

thanks in advance
Plug one in and type "dmesg" in a terminal, then plug the other in and do the same. That will also tell you the associated device files which you will need for the dd command.

H

C.S.Cameron
June 14th, 2010, 05:47 PM
dd if=/dev/sda of=/dev/sdb


http://www.linuxquestions.org/questions/linux-newbie-8/learn-the-dd-command-362506/