View Single Post
  #2   (View Single Post)  
Old 9th October 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Assumed: I have seleicted sd7 at random as a device number. Please watch your kernel messages when inserting the device to discover the actual drive number, and replace accordingly.
Code:
# dd if=/path/to/the/file of=/dev/rsd7c
Q: What the heck is rsd7c?

A:

r = raw device
sd7: drive number
c = the reserved partition letter that means "the entire drive, starting with LBA (sector) number 0"

You may add a blocksize to the dd(1) command, such as bs=1m.

Last edited by jggimi; 9th October 2017 at 04:06 PM. Reason: typo
Reply With Quote