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

From PC-BSD Wiki
Jump to: navigation, search
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:home.png|link=http://wiki.pcbsd.org/index.php/PC-BSD_Users_Handbook|center|Return to Table of Contents]] [[Image:previous1.png|left|link=http://wiki.pcbsd.org/index.php/Burning_the_DVD_on_a_Mac_OSX_system|Previous: Burning the DVD on a Mac OSX system]] [[Image:next1.png|right|link=http://wiki.pcbsd.org/index.php/PC-BSD_Live_Mode|Next: PC-BSD Live Mode]]
+
{{givechoiceVers|Burning the Installation Media#Writing an IMG File to USB}}
 
+
[[category:orphan]]
 
+
 
+
 
+
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. You may have to increment the number in the name if it is not the first USB device. On Linux, use "/dev/sda" to refer to the first USB device.
+
 
+
* '''bs=''' refers to the block size
+
 
+
To burn the .img file on a Windows system, you can use the [http://m0n0.ch/wall/physdiskwrite.php physdiskwrite] graphical utility.
+
 
+
'''NOTE:''' The USB images are FreeBSD-UFS formatted, and will not show up as a viewable file-system under Windows.
+

Latest revision as of 00:51, 23 December 2013

NOTE: This page or its content was moved. The handbook portion of the wiki now primarily focuses on two versions, the most recent release and the upcoming (work-in-progress). This is an imperfect solution to a recurring problem which may not always be solved by the provided links below.

[edit] Which would you like?

Release (10.0)
Burning the Installation Media#Writing an IMG File to USB
Upcoming (10.1)
Burning the Installation Media#Writing an IMG File to USB