Ubuntu Create Live Usb

Posted on  by

How to easily Create an Ubuntu Live Bootable USB with persistence from a running Live CD. In the following segment I show you how to use the Official Startup Disk Creator, created by the Ubuntu team to put Ubuntu on a USB Flash Drive. Ubuntu's Casper Persistent feature can also be used for saving and restoring changes on subsequent boots. Ubuntu is a very popular Open Source Linux distribution created by Canonical Ltd. It is originally based upon and derived from Debian. As such, it continues to share many of the same upstream roots.

  1. Create A Live Usb Ubuntu From Windows 10
  2. Create Ubuntu Live Usb Windows
  3. Ubuntu Create Live Usb Windows 10

Download the Ubuntu ISO file you want to place on the USB drive and the Linux Live USB Creator application. Insert the USB drive you want to use into your computer’s USB port and launch the “LiLi USB Creator” application you just installed. Select the USB drive you want to use in the “Step 1: Choose Your Key” box. ISO and USB selection. When launched, Startup Disk Creator will look for the ISO files in your Downloads folder, as well as any attached USB storage it can write to. It’s likely that both your Ubuntu ISO and the correct USB device will have been detected and set as ‘Source disc image’ and ‘Disk to use’ in the application window. LinuxLive USB Creator Powerful yet easy-to-use. LinuxLive USB Creator is a free and open-source software for Windows. It will help you in your journey of discovery with Linux. For you, LiLi creates portable, bootable and virtualized USB stick running Linux. Download and Discover. How to easily Create an Ubuntu Live Bootable USB with persistence from a running Live CD. In the following segment I show you how to use the Official Startup Disk Creator, created by the Ubuntu team to put Ubuntu on a USB Flash Drive. Ubuntu's Casper Persistent feature can also be used for saving and restoring changes on subsequent boots.

The following method creates a Live Ubuntu USB that utilizes a compressed Squashfs file system. See How to Fully Install Ubuntu on USB, if you'd rather install and run Ubuntu from an external drive using a method that works exactly like it would running from an internal drive.

Distribution Home Page: Ubuntu

Offers a Persistent Feature: Yes

Basic essentials:

  • A computer with a functional CD/DVD Drive
  • An Ubuntu Live CD (up and running)
  • A USB flash drive

Create an Ubuntu Bootable USB from CD

Note: You will need to Back up ALL data from your Flash Drive before proceeding!

  1. Insert your Ubuntu CD and restart your computer, booting from the Live CD
  2. Insert a USB flash drive
  3. Navigate to System > Administration > Startup Disk Creator:
  4. Next, (1) Select your Flash Drive from Disk to use. (2) Then choose Erase Disk (Make sure you have backed up any important data first)
  5. Now, (1) Select the partition related to your Flash Drive, (2) For Persistence, select the option Stored in reserved extra space and adjust the slider to desired capacity (4) Click the Make Startup Disk button:
  6. A progress bar should appears indicating the progression of the install.
  7. Once the installation has finished, remove the CD. Then proceed to restart your computer. As your PC begins to reboot, enter your Boot Menu or system BIOS. Finally, set your system to boot from your USB device. Save and then exit.

If all went well, you should now be booting directly from Ubuntu Live on your USB. 🙂

Create Ubuntu Bootable USB from CD published under Flash drive installs using Live CD

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

Usb

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.

Ubuntu

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.

Create A Live Usb Ubuntu From 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

Create Ubuntu Live Usb Windows

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.

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.

Ubuntu Create Live Usb Windows 10

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.