Skip to content

Instantly share code, notes, and snippets.

@hxtree
Created October 3, 2019 15:12
Show Gist options
  • Save hxtree/965040dba8636364f406b468827d59af to your computer and use it in GitHub Desktop.
Save hxtree/965040dba8636364f406b468827d59af to your computer and use it in GitHub Desktop.
How to Burn an ISO to USB Drive (CentOS)
# install wget, if missing
yum install wget
# find a mirror http://isoredirect.centos.org/centos/8/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso
# replace url with your mirror
wget http://centos.mirror.constant.com/8.0.1905/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso
# with usb unplugged check for your current devices
ls /dev/s*
# now plug in USB drive (must be large enough for ISO)
# check once more to and look for the name of device that wasn't listed before (e.g. /dev/sdb)
# you'll need that for the following step
ls /dev/s*
# Use dd package, which stands for data definition, to burn to USB drive
# the progress line is helpful as this will take a while
dd if=CentOs-8.iso of/dev/sdc status=progress
# When USB drive is done, startup (or reboot the if same machine), and during BIOS select boot to USB
# follow the instruction setups and you should be fine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment