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

From PC-BSD Wiki
Jump to: navigation, search
Line 4: Line 4:
  
  
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:
+
If you selected to download a "Boot only USB for network & internet installs" .img file, you can write the image file to a flash card or removable USB drive using the built-in '''dd''' command line utility on a BSD or Linux command system. On a FreeBSD system, the superuser can use this command to write the specified image in the current directory to the first plugged in USB device:
  
  '''dd if=<path_to/img_file.img> of=/dev/da0 bs=5k'''
+
  '''dd if=PCBSD8.1-x86-USB-bootonly.img of=/dev/da0 bs=5k'''
 +
 
 +
When using the '''dd''' command:
 +
 
 +
* '''if=''' refers to the input file; in our case, the name of the file to be written
 +
 
 +
* '''of=''' refers to the output file; in our case, the device name of the flash card or removable USB drive
 +
 
 +
* '''bs=''' refers to the block size
  
 
The device name will be different on a Linux system. To determine your device name:
 
The device name will be different on a Linux system. To determine your device name:

Revision as of 08:27, 19 October 2010

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



If you selected to download a "Boot only USB for network & internet installs" .img file, you can write the image file to a flash card or removable USB drive using the built-in dd command line utility on a BSD or Linux command system. On a FreeBSD system, the superuser can use this command to write the specified image in the current directory to the first plugged in USB device:

dd if=PCBSD8.1-x86-USB-bootonly.img of=/dev/da0 bs=5k

When using the dd command:

  • if= refers to the input file; in our case, the name of the file to be written
  • of= refers to the output file; in our case, the device name of the flash card or removable USB drive
  • bs= refers to the block size

The device name will be different on a Linux system. To determine your device name:


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

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

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox