Ubuntu Usb Drive

broken image


  1. If you're already on Ubuntu, you don't need a Windows or Mac computer to create a bootable USB drive with Ubuntu – you can do it straight from your current OS. The Ubuntu distribution includes an extremely helpful tool called Startup Disk Creator – this will allow you to create a bootable USB drive from an ISO file.
  2. Select your USB drive letter (the size will appear at the end as seen in the screenshot above). Click on Create. Wait for it to successfully burn the.iso file to the USB stick. Finally, Ubuntu image has been burnt to your USB drive, meaning its now ready to be used in live mode or to be used to run a full installation to your computer.
  3. A bootable USB drive is the best way to install or try Linux. But most Linux distributions—like Ubuntu—only offer an ISO disc image file for download. You'll need a third-party tool to turn that ISO file into a bootable USB drive.

This is a step by step tutorial shows you how to install the real Ubuntu OS on USB stick to create a ‘Windows To Go' style USB drive. Tested with Ubuntu 14.04

Requirements:

Before getting started, you need to prepare something:

  1. A 8GB+ USB Drive.
  2. A Ubuntu Live CD/DVD/USB. In the case below, I created a bootable Ubuntu Live USB from the .iso image.
  3. A computer with an operating system installed.

Follow the steps below to prepare a live USB drive: 1. Download the Ubuntu 20.04 LTS ISO file from the Ubuntu official Downloads page. Insert the USB drive into your system. The USB drive must be a minimum of 4GB. To make a Live USB in your Ubuntu system, open the Startup Disk creator application. If you are using a Windows system, use.

And always backup your data on the USB flash drive!

To get started:

Ubuntu Usb Drive Mac

In my case I have a newly bought 16GB USB stick, a 4GB old USB stick, and a laptop multi-boot with Ubuntu based systems.

1. I don't have a Ubuntu CD/DVD, so I decided to burn the Ubuntu .iso image into the old USB stick. To do so:

  1. Download Ubuntu image: releases.ubuntu.com
  2. Download UNetbootin: unetbootin.sourceforge.net. For Ubuntu, install it from Software Center.
  3. Plug in the USB stick.
  4. Start UNetbootin, and burn the .iso image into USB
If you need more hints, follow this screenshot tutorial to create bootable Ubuntu Live USB

2. Plug in the bootable USB drive to your computer and boot into the Live Ubuntu system.

IMPORTANT: For Windows 8 pre-installed machine, you have to disable 'fast startup' and 'secure boot' features.

To disable 'fast startup', go to Control Panel > Hardware and Sound > Power Options > System Settings > Choose what the power buttons do and uncheck the Turn on fast startup box.

To disable 'secure boot', follow this screenshot tutorial.

3. Now you're in the Ubuntu Live system. Plug in the 8GB+ USB stick. Then launch Gparted from the Unity Dash.

In the top-right drop-down box select the USB drive (16GB in my case), and you should see something like below:

Driver

I have two USB flash drives plugged in the computer, the Hard Disk is /dev/sda, 4GB Live USB is /dev/sdb, and the 16GB USB drive is /dev/sdc.

4. From the right-click context menu, un-mount partitions on the USB drive and then delete them.

Make An Ubuntu Usb

Click the green check mark button to apply changes, finally you have an unallocated flash drive, like:

When done, close Gparted partition manager.

5. Click the desktop shortcut 'Install Ubuntu' to bring up the Ubuntu installation wizard.

Drive

I have two USB flash drives plugged in the computer, the Hard Disk is /dev/sda, 4GB Live USB is /dev/sdb, and the 16GB USB drive is /dev/sdc.

4. From the right-click context menu, un-mount partitions on the USB drive and then delete them.

Make An Ubuntu Usb

Click the green check mark button to apply changes, finally you have an unallocated flash drive, like:

When done, close Gparted partition manager.

5. Click the desktop shortcut 'Install Ubuntu' to bring up the Ubuntu installation wizard.

Follow the wizard until it asks you to choose where to install Ubuntu. Select the last option 'Something else' and click Continue to bring up partition table.

6. In the partition table, scroll down and highlight the 'free space' under the USB drive (/dev/sdc in the case) and click the plus sign to create below partitions one by one:

  • a FAT32 (or fat16) partition (required)
    • must be /dev/sdc1 (or sdX1)
    • mount point /NAME_HERE (/UDISK in the case)
    • set the memory size by yourself, it can be used for normal data storage.
    • leave others default.
  • a EXT4 partition for Ubuntu (required)
    • mount point '/' (without quotes)
    • memory size 5G+
    • leave others default.
  • a swap partition (optional).
    • You can skip this if RAM is large enough and you don't need hibernation feature.

And very important is select install boot-loader to the USB flash drive (/dev/sdc in the case).

7. When everything's done, click Install Now and confirm to format the partitions (Pay attention on which partitions to be formatted).

Click continue and finish the wizard. Once the installation complete, restart your computer and boot with the ‘Ubuntu To Go' USB drive and enjoy!





broken image