A request was made that I make a quick howto on "burning" a USB img onto USB stick. This howto is divided into two sections, UNIX-like and non-UNIX environment. Of course, if you are already using UNIX-like, then chances are you won't need to read this howto.
Things you need: <USB>.img (DUH!) and USB stick with size greater than <USB>.img
*Notice* Be sure you download the right <USB>.img for your architecture! 32-bit img for 32-bit processor, 64-bit img for 64-bit processor. 8)
UNIX-like (BSD)
1/ open your favorite terminal (Konsole, xterm, whatever)
2/ Insert your USB stick. If PCBSD mounts it then un-mount it! Usually it will just inform you that a usb device "name" was plugged in.
3/ and read the bottom few line for the device assignment to your USB stick. Should look something like this
|
Code:
|
umass1: <LEXAR MEDIA JUMPDRIVE PRO, class 0/0, rev 2.00/0.00, addr 3> on uhub4
da1 at umass-sim1 bus 1 target 0 lun 0
da1: <LEXAR JUMPDRIVE PRO 0> Removable Direct Access SCSI-2 device
da1: 40.000MB/s transfers
da1: 983MB (2014992 512 byte sectors: 64H 32S/T 983C) |
4/ the above told us that
umass1 (the recently inserted USB stick) is connected to the device
/dev/da1
5/ cd your way to the path of <USB>.img
6/
and make sure that it is there.
7/
8/ type in administrative (root) password
9/
|
Code:
|
dd bs=4096 if=./<USB>.img of=/dev/da1 |
10/ wait patiently. If everything went well it will return you to prompt.
11/ USB stick is now ready to boot.
**Linux users**
dmesg will give similar information like below
|
Code:
|
usb 1-6: new high speed USB device using ehci_hcd and address 3
usb 1-6: configuration #1 chosen from 1 choice
scsi9 : SCSI emulation for USB Mass Storage devices
usb 1-6: New USB device found, idVendor=05dc, idProduct=0200
usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-6: Product: JUMPDRIVE PRO
usb 1-6: Manufacturer: LEXAR MEDIA
usb 1-6: SerialNumber: H158081127070315AA
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 9:0:0:0: Direct-Access LEXAR JUMPDRIVE PRO 0 PQ: 0 ANSI: 2
sd 9:0:0:0: [sdg] 2014992 512-byte hardware sectors (1032 MB)
sd 9:0:0:0: [sdg] Write Protect is off
sd 9:0:0:0: [sdg] Mode Sense: 6b 00 00 00
sd 9:0:0:0: [sdg] Assuming drive cache: write through
sd 9:0:0:0: [sdg] 2014992 512-byte hardware sectors (1032 MB)
sd 9:0:0:0: [sdg] Write Protect is off
sd 9:0:0:0: [sdg] Mode Sense: 6b 00 00 00
sd 9:0:0:0: [sdg] Assuming drive cache: write through
sdg: sdg1
sdg1: <bsd: >
sd 9:0:0:0: [sdg] Attached SCSI removable disk
sd 9:0:0:0: Attached scsi generic sg7 type 0 |
So in this case the USB stick is attached at
/dev/sdg1
non-Unix (Windows)
1/ choose one of the following (choice) softwares (I will use Win32imager in this howto):
win32diskimager. Link to the
32bit executable.
Roadkil's Disk Image
Dsfo
dd for windows
2/ get the archive file and extract the content to a folder of choice in a location of choice
3/ insert USB stick
4/ open Win32DiskImager.exe
5/ where it said Image file, click on the folder icon, locate the img file and select it
6/ where it said device, select the drive letter Windows assigned to your USB stick
7/ Select "Write" button
8/ wait patiently for the progress bar to get to 100%
9/ your USB stick is now ready to boot.