How to write/create a Ubuntu .iso to a bootable USB device on Linux using dd command

‮.www‬lautturi.com
How to write/create a Ubuntu .iso to a bootable USB device on Linux using dd command

To write an Ubuntu ISO file to a bootable USB device on Linux using the dd command, follow these steps:

  1. Insert the USB drive into your Linux system.

  2. Open a terminal and use the lsblk command to list all available block devices. Look for the USB drive and note its device name, which will be something like /dev/sdb or /dev/sdc.

  3. Use the umount command to unmount the USB drive if it is currently mounted:

sudo umount /dev/sdb

Replace /dev/sdb with the actual device name of your USB drive.

  1. Use the dd command to write the ISO file to the USB drive. Make sure to replace /path/to/ubuntu.iso with the actual path to the ISO file and /dev/sdb with the actual device name of your USB drive:
sudo dd if=/path/to/ubuntu.iso of=/dev/sdb bs=4M status=progress oflag=sync
  1. Wait for the dd command to complete. This may take a few minutes, depending on the size of the ISO file and the speed of your USB drive.

  2. Once the dd command has completed, the USB drive should be bootable and you should be able to boot from it to install Ubuntu.

Note: The dd command can be dangerous if used improperly, as it can overwrite important data on your system. Make sure that you have specified the correct device name for your USB drive and that you have a backup of any important data before using dd.

Created Time:2017-10-29 22:08:41  Author:lautturi