Closed Thread
 
Thread Tools Display Modes
  #1  
Old 02-26-2010, 02:25 AM
Fatmice Fatmice is offline
Senior Member
 
Join Date: Feb 2008
Location: US
Posts: 888
Thanks: 0
Thanked 1 Time in 1 Post
Default Prepping a USB stick with USB img
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/
Code:
dmesg | tail -n 10
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/
Code:
ls -l
and make sure that it is there.
7/
Code:
su
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.
__________________
|================================================= =====|
|Please search the forum prior to posting. Intellectual laziness is not nice. | (Does not apply to non-offenders =))
|================================================= =====|
  #2  
Old 07-29-2010, 06:53 PM
Fatmice Fatmice is offline
Senior Member
 
Join Date: Feb 2008
Location: US
Posts: 888
Thanks: 0
Thanked 1 Time in 1 Post
Default
All questions regarding this topic please use

http://forums.pcbsd.org/showthread.php?t=13392
__________________
|================================================= =====|
|Please search the forum prior to posting. Intellectual laziness is not nice. | (Does not apply to non-offenders =))
|================================================= =====|

Last edited by Fatmice; 07-29-2010 at 07:00 PM.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing PC BSD from an USB Stick n0r3p1y Installing PC-BSD 4 08-18-2009 09:10 PM
Unable to mount USB stick Doc Drives 11 03-31-2008 03:29 AM
Install PCBSD on a USB stick !!! veli Installing PC-BSD 5 01-28-2008 04:39 PM
USB-WLAN-stick and a router using WPA-PSK as02011961 Networking 1 02-24-2007 01:13 PM
DWL-G122, rev B1 USB-WLAN-Stick as02011961 Networking 2 02-23-2007 01:51 PM


All times are GMT. The time now is 05:56 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.