Create A Bootable Usb Drive Ubuntu

broken image


  1. Create Ubuntu Live Usb
  2. Ubuntu Bootable Usb Windows 10
  3. Make Bootable Usb From Iso Ubuntu
  4. Create Windows 10 Bootable Usb

Learn how to create a bootable Windows 10 USB on Ubuntu and Linux Mint using a free application called ‘WoeUSB'.

Now make sure that the USB drive is unmounted using the following command. USB Drive Unmounted Successfully. Enter the following command to create a bootable Ubuntu Live USB. Make sure to replace the path of the download ISO image with your download path in the below command. Sudo apt-get install unetbootin Once installed, open UNetbootin from Ubuntu Dash or Terminal. Specify the path of your live CD image, select the USB drive which you want to make as a bootable USB. Click OK to begin creating a bootable USB drive. If you are an Ubuntu user then you don't need any third-party software to create a bootable USB drive. Yes, this Linux already has an easy to use a software called ' StartUp Disk Creato r'. Ubuntu's official Startup Disk creator is a very lightweight tool available since Ubuntu 8.04, even on the latest 20.04/18.04 LTS versions.

While I don't use Windows 10 often I do know that, every now and then, I might have need to. And should I need to create a bootable Windows 10 USB I'd like do it from my Ubuntu desktop.

Now, the method I show you in this post is just one of several ways to perform this particular task. So while I think it's the easy way to create a bootable Windows 10 USB (one that actually boots) it's not the only way.

How to Create Bootable Windows 10 USB on Ubuntu

WoeUSB is the (oddly named) app we are going use to make a bootable Windows 10 USB stick on the Ubuntu desktop. It's a fork of an earlier tool called WinUSB.

This tool is free, open-source software. It is available as both a GUI app and CLI client. In this tutorial we only focus on the GUI steps.

WoeUSB lets you make a bootable USB for most modern Windows releases, including Windows Vista, Windows 7, Window 8, and Windows 10. The tool supports all languages and all versions of Windows, including pro, home, N, 32-bit, etc. It will work with both ‘legacy' and ‘UEFI' bootmodes, too.

For advanced usage you can dive in to the WoeUSB CLI which has all sorts of flags and switches. Most of you will be fine using the GUI client though.

To create a bootable Windows 10 USB on Ubuntu you will need:

  • WoeUSB app
  • USB flash drive (4GB minimum)
  • Windows 10 .iso file

Microsoft lets you download Windows 10 disc images from their website so if you don't have one, you can go grab one. Be aware that you will need a valid Windows license to activate and use the OS, but you don't need one to create an install USB or install it.

1. Install WoeUSB on Ubuntu

WoeUSB is no longer actively maintained so you can no longer download the tool from its Github page. My external hard drive wont work.

The easiest way to install WoeUSB on Ubuntu is to use the following PPA. This repo provides pre-built packages of WoeUSB for Ubuntu 18.04 LTS and 20.04 LTS:

Installers for Ubuntu 16.04 LTS (32-bit) are also available.

Ubuntu

2. Run WoeUSB

Once WoeUSB is installed you can launch the app from the applications menu on your desktop.

The app is very easy to use.

First, select a valid Windows 10 ISO image using the file selector, and then select the correct USB drive you want to install it to from the ‘Target device' section.

If you don't see your USB device listed in the ‘Target device' section make sure it's attached and then click the ‘refresh' button to update the list of attached devices.

3. Create Windows 10 Bootable USB

Once you're ready to roll you can go ahead and hit install.

But before you do this please, please double-check that you've selected the correct drive first. The install process will reformat and wipe the contents of the selected USB drive. You will lose any data stored on it.

Other than that, the tool will do the rest. Just let it run its course. Once done you can close the app, eject the USB and use it to install Windows 10 on a different device.

Everything should work as normal — though I'm told the app may spit an error out but the USB will still boot/install fine — but if it doesn't you can file bugs on the WoeUSB Github page.

CDs are long gone and if you want to reinstall an operating system, a bootable USB drive is the one required. Let's learn how to create a bootable USB disk from Ubuntu using terminal today. We'll be creating a bootable USB of the Ubuntu ISO file, but you can work with any ISO file that was designed to be written to a CD to be bootable.

The Steps to Create a Bootable USB Disk

So as I mentioned, we're working with the Ubuntu ISO file here to create a bootable USB disk, but you can replace the ISO with any other ISO that's built to be bootable and then follow the tutorial exactly as is.

For Ubuntu, we need a USB disk that's 8GB so we can have all the files. If you're working with any other ISO or operating system, the storage requirements will be different.

1. Download the ISO File

To create a bootable USB disk from the Ubuntu terminal, we need to download the ISO file first. In my case, I'm downloading the Ubuntu ISO file for version 20.04. You can choose to download the ISO for another operating system that you want to write to USB. You can follow this link to reach the Ubuntu download page – https://ubuntu.com/download/desktop

Select the package which you wish to set up your bootable USB drive with. For this demonstration, we are using the Ubuntu 20.04 (Codename Focal Fossa). 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.

2. Connect the USB drive

Once we have downloaded the correct disk image file, we will open the terminal and connect our USB drive. One that's done, our next step is to figure out the drive name using the Linux fdisk -l command

This will give you a list of all the disk drives that are available on the system. 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.). With Ubuntu, the default mount point is in the /media/ directory. Mine was mounted on the /mnt/

3. Unmount the USB stick

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. We use the umountcommand for this purpose. This action can be executed in two different methods.

Create Ubuntu Live Usb

The first method will involve using the path at which our USB device has been mounted. This command should look like this.

In this particular case, we will use the command as given below.

This will unmount the USB disk from our system.

Alternatively, we can use the device's name in this format.

Ubuntu Bootable Usb Windows 10

In this particular case, we will use the command as given below to unmount the USB disk.

Now that the device has been unmounted, we will make a bootable drive using it.

4. Write the ISO to the USB Disk

Our USB disk has been unmounted and our ISO file is already downloaded on our system. Now we will make this USB drive bootable for Ubuntu 20.04 using one single command. This is how you enter this command in the terminal.

  • This command requires us to use sudo privileges.
  • The bstag reads the number of bytes which will be read from the source and written to the destination at a time.
  • The second tag, if denotes the path of the input file for the function
  • Whereas ofdenotes the path where the file has to be output to.

The thing about the dd command in Linux is that it will do anything you ask it to do without asking any questions. Hence, we need to use the command carefully. Before you begin writing, ensure that the output path is the path that you want to write the data to. There's no turning back once the data has been written.

For our system, we will use the command as given below to create our bootable USB disk for Ubuntu 20.04.

This should start the process of writing the ISO image file on your USB disk and converting it into a bootable drive. You should see a screen as given below. Once you are done, which should take only a few minutes, your USB disk is ready to work as a USB bootable disk for Ubuntu 20.04.

Make Bootable Usb From Iso Ubuntu

Wrapping up

There are multiple methods to create a bootable USB disk for the Ubuntu OS. Using the terminal for the task is a commonly used method because it eliminates the need for you to install any additional software. Further, it often takes less time to create a bootable USB disk from the Ubuntu terminal as compared to other methods like using the Startup Disk Creator or installing some other software.

Create Windows 10 Bootable Usb

Hence this method is advisable even if you are not much comfortable with the terminal-based commands. It eliminates the need for any GUI software, which may be unavailable in some situations. The only major flaw in this method is the lack of a safe-check with the dd command, but it can be eliminated by carefully entering the command. This tutorial aimed to help you create a bootable USB disk from the Ubuntu terminal. If you have any feedback, queries or suggestions, feel free to reach out to us in the comments below.





broken image