Sudo dd bs=4M if=/path/to/ISOfile of=/dev/sdx status=progress oflag=sync This is how you enter this command in the terminal. Now we will make this USB drive bootable for Ubuntu 20.04 using one single command.
Startup disk creator ubuntu terminal iso#
Our USB disk has been unmounted and our ISO file is already downloaded on our system. Now that the device has been unmounted, we will make a bootable drive using it. In this particular case, we will use the command as given below to unmount the USB disk. This will unmount the USB disk from our system.Īlternatively, we can use the device’s name in this format. In this particular case, we will use the command as given below. The first method will involve using the path at which our USB device has been mounted. This action can be executed in two different methods. We use the umount command for this purpose. Since Ubuntu automounts any external device that’s connected, we need to unmount it so we can proceed to write the ISO to the USB. With Ubuntu, the default mount point is in the /media/ directory.
You’ll see a separate section with just a single disk path like /dev/sdb1 with a mount path that’s different from the common ones in Linux (like /home/, /etc/, /boot/ etc.). This will give you a list of all the disk drives that are available on the system. One that’s done, our next step is to figure out the drive name using the Linux fdisk -l command Once we have downloaded the correct disk image file, we will open the terminal and connect our USB drive.
Startup disk creator ubuntu terminal download#
You can either directly download the file by clicking on the Download link on the page or use the wget command to get the file on your system. For this demonstration, we are using the Ubuntu 20.04 ( Codename Focal Fossa). Select the package which you wish to set up your bootable USB drive with. You can follow this link to reach the Ubuntu download page – You can choose to download the ISO for another operating system that you want to write to USB. In my case, I’m downloading the Ubuntu ISO file for version 20.04. To create a bootable USB disk from the Ubuntu terminal, we need to download the ISO file first. If you’re working with any other ISO or operating system, the storage requirements will be different.
For Ubuntu, we need a USB disk that’s 8GB so we can have all the files.