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

From PC-BSD Wiki
Jump to: navigation, search
Line 21: Line 21:
 
To burn the .img file on a Windows system, you can use [http://wiki.pcbsd.org/index.php/ImgBurn ImgBurn]--simply select the .img file as the source and the USB drive as the destination. Beginning with Windows 7 Beta 1, you can [http://technet.microsoft.com/en-us/magazine/dd451080.aspx burn an image] without additional software by right-clicking the file name and selecting "Burn disk image" from the menu.
 
To burn the .img file on a Windows system, you can use [http://wiki.pcbsd.org/index.php/ImgBurn ImgBurn]--simply select the .img file as the source and the USB drive as the destination. Beginning with Windows 7 Beta 1, you can [http://technet.microsoft.com/en-us/magazine/dd451080.aspx burn an image] without additional software by right-clicking the file name and selecting "Burn disk image" from the menu.
  
Once the burn is complete, you can boot from the removable device and proceed with the [http://wiki.pcbsd.org/index.php/Installing_PC-BSD installation]. You will also need to refer to the section on [http://wiki.pcbsd.org/index.php/Install_PC-BSD_Over_a_Network Installing PC-BSD Over a Network] as the boot-only image installation requires an Internet connection to download the rest of the files needed to install PC-BSD.
+
Once the burn is complete, you can boot from the removable device and proceed with the [http://wiki.pcbsd.org/index.php/Installing_PC-BSD installation]. You will also need to refer to the section on [http://wiki.pcbsd.org/index.php/Install_PC-BSD_Over_a_Network Installing PC-BSD Over a Network] as the boot-only image installation requires an Internet connection to download the rest of the files needed to complete the installation of PC-BSD.

Revision as of 11:51, 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
81920+0 records in
81920+0 records out
419430400 bytes transferred in 194.226042 secs (2159496 bytes/sec)

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 ImgBurn--simply select the .img file as the source and the USB drive as the destination. Beginning with Windows 7 Beta 1, you can burn an image without additional software by right-clicking the file name and selecting "Burn disk image" from the menu.

Once the burn is complete, you can boot from the removable device and proceed with the installation. You will also need to refer to the section on Installing PC-BSD Over a Network as the boot-only image installation requires an Internet connection to download the rest of the files needed to complete the installation of PC-BSD.