Calculate the downloaded image's checksum. This will take a while!
> $download_checksum = [System.BitConverter]::ToString($sha256.ComputeHash([System.IO.File]::ReadAllBytes("$PWD\$image"))).ToLower() -replace '-', ''
Compare the calculated checksum to the expected checksum.
> echo "Download Checksum: $download_checksum"
> echo "Expected Checksum: $expected_checksum"
> if ( $download_checksum -eq "$expected_checksum" ) {
echo "Checksum test passed!"
} else {
echo "Checksum test failed."
Verifying checksums on Linux and OSX systems
Open a terminal window, and navigate to the directory with the downloaded files.
$ [command]#cd ~/Downloads#
Use the appropriate utility to verify the image checksum.
For Linux:
$ sha256sum -c *CHECKSUM
For OSX:
$ grep '^SHA256' *-CHECKSUM | awk -F '[()=]' '{ print $4 " " $2 }' | shasum -a 256 -c
Writing the images to USB media
Creating USB media with [application]*GNOME Disks*
On a system with [application]*GNOME*, or with the [package]*gnome-disk-utility* package installed, open `Disks` using the system menu.
Click your USB device in the left column.
Click the menu icon in the upper right corner of the window, and choose the `Restore Disk Image` option.
Navigate to your image file and click `Start Restoring`. After a few minutes, it will report the process is complete and your installation media will be ready to use.
Creating USB Media on the Linux command line
Open a terminal window and insert the usb drive.