Difference between revisions of "Writing an IMG File to Flash media"

From PC-BSD Wiki
Jump to: navigation, search
m
Line 4: Line 4:
  
  
To write the USB IMG file to a Flash Card or USB pen drive you can do this with the Unix/Linux command '''dd''':
+
To write the USB IMG file to a flash card or USB pen drive you can use the '''dd''' command from a BSD or Linux command system. On a FreeBSD system, this command will write the image to the first plugged in USB device:
  
  '''dd if=<path_to/img_file.img> of=/dev/da0 bs=1m'''
+
  '''dd if=<path_to/img_file.img> of=/dev/da0 bs=5k'''
  
Just substitute da0 with the device name of your USB stick.
+
The device name will be different on a Linux system.
  
NOTE: The USB images are FreeBSD-UFS formatted, and will not show up as a viewable file-system under Windows.
 
  
ADD SECTION ON how-to to flash a USB pen drive with the installer image. On Unix system this can be done with dd(1) and on Windows there's the [http://m0n0.ch/wall/physdiskwrite.php physdiskwrite] gui utility written by the M0n0wall crew.
+
NOTE: The USB images are FreeBSD-UFS formatted, and will not show up as a viewable file-system under Windows.
  
NOTE: If you get a '''dd: invalid number `1m'''' error message, then use the same command but replace '''bs=1m''' with '''bs=1M'''
+
To burn the image on a Windows system, you can use the [http://m0n0.ch/wall/physdiskwrite.php physdiskwrite] graphical utility.

Revision as of 15:33, 13 October 2010

Return to Table of Contents
Previous: Burning the DVD on a Mac OSX system
Next: PC-BSD Live Mode



To write the USB IMG file to a flash card or USB pen drive you can use the dd command from a BSD or Linux command system. On a FreeBSD system, this command will write the image to the first plugged in USB device:

dd if=<path_to/img_file.img> of=/dev/da0 bs=5k

The device name will be different on a Linux system.


NOTE: The USB images are FreeBSD-UFS formatted, and will not show up as a viewable file-system under Windows.

To burn the image on a Windows system, you can use the physdiskwrite graphical utility.