Create ubuntu installation usb in windows

Contents

Contents

  1. Outline
  2. Introduction
  3. Prerequisites

    1. Dummy headlines

      1. Notes about speed
      2. Notes about size
      3. Notes about bootability
      4. The flash hardware
  4. Creating a bootable Ubuntu USB flash drive from Windows

    1. Rufus

      1. balenaEtcher
      2. Pendrivelinux’s Universal USB Installer
      3. UNetbootin
      4. Win32 Disk Imager
  5. Creating a bootable Ubuntu USB flash drive from Ubuntu

    1. Install and run Startup Disk Creator alias usb-creator

      1. UNetbootin
      2. mkusb — dd image of iso file to USB device safely
  6. Creating a bootable Ubuntu USB flash drive from Mac OSX
  7. UEFI

    1. Test if running in UEFI mode

      1. Boot and install
      2. Stable portable systems — good for USB sticks
      3. Creating an EFI-only image
      4. Ubuntu single boot in UEFI mode
  8. Alternative methods

    1. ‘Do it yourself’

      1. Portable installed system booting from UEFI and BIOS
      2. Multiboot pendrives
      3. Booting ISO files on internal drive
      4. Booting USB drives with grub2 and iso files ‘grub-n-iso’
  9. Booting the Computer from USB

    1. Boot menu
    2. Edit the BIOS settings
    3. Select ‘hard disk/USB-HDD0’

      1. Chainloading
      2. PLoP Boot Manager
      3. Flow chart for trouble-shooting
  10. Known Issues
  11. Postrequisites — restore the USB stick

      1. gparted
      2. Disks
      3. mkusb
  12. See also

Outline

The general procedure to install Ubuntu (or Ubuntu flavour, Kubuntu, Lubuntu, Xubuntu, …) from a USB flash drive is:

  • Get the correct Ubuntu installation file, ‘the iso file’, via this link or Ubuntu flavour via this link. Download the iso file into your running computer (for example into the directory Downloads in the internal drive, not into the USB flash drive that you want to make into a USB boot drive).

  • Check with md5sum (or another checksum tool) that the download was good.

  • Put Ubuntu onto your USB flash drive alias ‘stick’ alias ‘pendrive’ alias ‘thumb’. Tools for this purpose are described in this help page.
  • Configure your computer to boot from USB flash drive and boot from it.
  • Try Ubuntu (Kubuntu, Lubuntu, Xubuntu, …) before installing it.

  • Install Ubuntu to your internal drive (hard disk drive or solid state drive or external drive).

See also: Installation/FromUSBStickQuick for beginners starting from Windows.

Introduction

Ubuntu can be installed from a USB flash drive. This may be necessary for most new portable computers without DVD drives and is handy for others because a USB flash drive is so convenient. Also, you can configure Ubuntu on the USB flash drive to save changes you make, unlike a read-only CD/DVD disk.

Booting from a USB flash drive created with usb-creator alias Startup Disk Creator and mkusb will behave just as if you had booted from the install CD. It will show the language selection and then the install menu, from which you can install Ubuntu onto the computer’s hard drive or launch the LiveCD environment. Other utilities, e.g. UNetbootin, may create slightly different boot drives or if on UEFI might not work at all with Debian iso files due to a bug

Note: This article uses the term «USB flash drive» alongside USB stick, USB drive, USB device, USB pendrive and thumb drive.

Prerequisites

To create a USB installation device, you will need:

  • a 4 GB USB flash device/drive/stick. If the iso file is smaller than 2 GB, it is possible to use a 2 GB USB device, at least with some of the methods. Files on this USB device will be erased, so backup the files you want to keep before making the device bootable. Some of the tools require that this USB device is properly formatted and mounted while other tools will overwrite whatever is on the target device. Please follow the instructions for each tool.

  • an Ubuntu flavour ISO file downloaded from an official web page, ubuntu.com/download or http://releases.ubuntu.com, stored in your running computer (for example in the directory Downloads in the internal drive, not in the USB flash drive that you want to make into a USB boot drive).

  • Check with md5sum (or another checksum tool) that the download was good. In Linux there is the tool ‘md5sum’. In Windows you can do it with Rufus: click on the circle with a tick mark (more about Rufus here.)

Dummy headlines

After a major remake of this help page the following headlines are kept here because they may be linked to from other web sites. Several other headlines further down in the page are also kept for this reason.

Notes about speed

Notes about size

Notes about bootability

The flash hardware

There is a detailed description at the sub-page /pre

Creating a bootable Ubuntu USB flash drive from Windows

There are various methods available for Windows to create a bootable Ubuntu USB flash drive.

NEVER try to use one of your hard disk drives or partitions in this process unless you really know what you are doing, as data will get erased.

Rufus

Rufus is the tool in Windows that is recommended officially by Ubuntu. A tutorial is available from here.

Download Rufus.

balenaEtcher

Download balenaEtcher

Pendrivelinux’s Universal USB Installer

Download Universal USB Installer

UNetbootin

Download UNetbootin

Win32 Disk Imager

Download Win32 Disk Imager

There is a detailed description at /fromWindows including Rufus, balena Etcher, Universal USB Installer, Unetbootin and Win32 Disk Imager.

Creating a bootable Ubuntu USB flash drive from Ubuntu

Install and run Startup Disk Creator alias usb-creator

  • The Ubuntu Startup Disk Creator is dedicated to creating USB boot drives for Ubuntu and Ubuntu family flavours (Kubuntu, Lubuntu … Xubuntu).

  • Use another tool (e.g. ‘UNetbootin’ or ‘mkusb’), if you want to create a USB boot drive with another Linux distro (alias Linux operating system).

You can find usb-creator-gtk by typing «Startup Disk Creator» (Ubuntu Desktop) or usb-creator-kde in K-Menu—>Applications—>System—>Startup Disk Creator (Kubuntu). If it is not there, then you can install it using the Ubuntu Software Center.

  • Insert and mount the USB drive. Inserting the USB drive should auto-mount it.
  • Start the Startup Disk Creator
  • In the top pane of the Startup Disk Creator, pick the .iso file that you downloaded.
  • If the .iso file isn’t listed, click «Other» to locate and select the .iso file that you downloaded.
  • In the bottom pane of the Startup Disk Creator, pick the target device, the USB flash drive. If more than one choice, please check carefully, until you are sure that you will be writing to the correct device.
  • After checking that you are pointing to the correct target device, the USB flash drive, you can start the action.
  • You must enter a password because this is a risky operation. Use the password of the current user ID (the same as for login and running tasks with ‘sudo’. Password is not required when installing from a ‘live’ system (booted from a DVD disk or another USB flash drive).

The Startup Disk Creator clones the iso file, which means that you need neither erase nor format the target drive. It will be completely overwritten anyway by the cloning process. The Startup Disk Creator looks like this in Ubuntu 18.04 LTS:

Screenshots: Startup Disk Creator — to SSD or pendrive

Notes

  • NEVER try to use one of your hard disk drives or SSDs or partitions in this process unless you really know what you are doing, as data will get erased.

  • There are bugs that affect the Ubuntu Startup Disk Creator, when you run it in old Ubuntu versions in BIOS mode and try to create USB boot drives with other versions. In the Ubuntu Startup Disk Creator version 0.3.2 in Ubuntu 16.04 LTS, these bugs are no longer a problem, so you can install any version of the Ubuntu flavours from 16.04 LTS and newer versions.

UNetbootin

  • Download UNetbootin

  • UNetbootin works in and with most Linux distros.
  • It is an extracting tool (not a cloning tool).
  • It can make a persistence file up to 4GB in size to save data and defaults.

mkusb — dd image of iso file to USB device safely

  • Install mkusb via PPA

  • If you want to clone from a general image file to a drive, you can use mkusb. It lets you clone to any drive that is not busy, also an internal drive, and there are very obvious warnings to prevent mistakes.

  • mkusb can also
    • run in Debian and many linux distros that are similar to Ubuntu and Debian,
    • clone from iso files of most Linux distros to create USB boot drives,
    • create persistent live drives of the Ubuntu family and Debian, using all available drive space for persistence and/or data storage,
    • restore a USB boot drive to a standard storage device.

There is a detailed description at /fromUbuntu including the Startup Disk Creator, UNetbootin and mkusb.

Creating a bootable Ubuntu USB flash drive from Mac OSX

See How to install Ubuntu on MacBook using USB flash drive and this Ubuntu Forum thread by Quackers

UEFI

There is a good wiki page about booting with UEFI, and a good tutorial thread, UEFI Installing — Tips.

Test if running in UEFI mode

You may want to test if your Ubuntu flavour is running in [U]EFI mode. An installed system and a live system too is using the directory /sys/firmware/efi, so you can run the following command line,

test -d /sys/firmware/efi && echo efi || echo bios

The following command line is more robust and also easier to understand, so you may prefer it (if you copy & paste and are not bothered by typing a long command line),

if test -d /sys/firmware/efi; then echo efi; else echo bios; fi

Boot and install

Stable portable systems — good for USB sticks

Creating an EFI-only image

Ubuntu single boot in UEFI mode

There are more details at the sub-page /uefi

Alternative methods

‘Do it yourself’

When the boot structure is modified in Ubuntu or the booting software, there can be problems until the extracting tools are modified to manage the modification. It is worthwhile to find a method that is as simple as possible and to learn how to use it in order to manage the extraction also when the boot structure is modified.

  • For an UEFI only boot flash drive you need no installer
  • Make the drive boot both in UEFI mode and BIOS mode

See this link: Installation/iso2usb#Do_it_yourself

Portable installed system booting from UEFI and BIOS

Multiboot pendrives

Booting ISO files on internal drive

Booting USB drives with grub2 and iso files ‘grub-n-iso’

There are more details at the sub-page /alt

Booting the Computer from USB

Remove all unneeded USB items, but keep the network cable attached.

Instead of editing BIOS settings, you can choose a boot device from the boot menu. Press the function key to enter the boot menu when your computer is booting. Typically, the boot screen displays which key you need to press. It maybe one of F12, F10, F9.

Edit the BIOS settings

Insert the bootable USB flash drive that you just created in your target computer and restart it. Most newer computers can boot from a USB flash drive. If your computer does not automatically do so, you might need to edit the BIOS settings.

Restart your computer, and watch for a message telling you which key, hotkey to press to enter the BIOS setup.

  • It will usually be one of F1, F2, F9, F10, DEL, Enter or ESC.
  • The hotkey should be described in the user manual provided by the manufacturer of the computer (a printed or electronic document).
  • You can also search your hardware on boot-keys.org.

Press this hotkey continuously or tap repeatedly (different between computers) while your computer is booting to edit your BIOS settings. (On HP Mini Netbooks, the correct key is usually F9.)

Select ‘hard disk/USB-HDD0’

Note: with some motherboards you have to select ‘hard disk/USB-HDD0’ to choose the USB flash disk. It may work like this because the system sees the USB drive ‘a mass storage device’ as a hard disk drive, and it should be at the top of the boot order list.

So you need to edit the Boot Order. Depending on your computer, and how your USB key was formatted, you should see an entry for «removable drive» or «USB media». Move this to the top of the list to make the computer attempt to boot from the USB device before booting from the hard disk.

Chainloading

PLoP Boot Manager

  • For old computers that cannot boot from USB

Flow chart for trouble-shooting

  • See this link: Why Doesn’t a Bootable USB Boot

There are more details at the sub-page /bootUSB

Known Issues

  • There are problems with the versions of the Startup Disk Creator alias usb-creator in versions of Ubuntu older than 16.04 LTS. There are similar problems with old versions of Unetbootin. Until these problems are solved other tools work, for example mkusb and Win32DiskImager described in the following links, https://help.ubuntu.com/community/mkusb and https://wiki.ubuntu.com/Win32DiskImager/iso2usb

  • The version 0.3.2 (and newer versions) of the Startup Disk Creator alias usb-creator in Ubuntu 16.04 LTS (and newer versions) clones the iso file and creates a read-only file system. This method is very robust, but if you want to re-use the USB stick as a storage drive, you must restore it. Two methods are described in the next paragraph.

Postrequisites — restore the USB stick

‘Postrequisites’ — after installation: how to restore the USB stick to a standard storage drive. The standard is an MSDOS partition table (MBR) and a partition with the FAT32 file system.

gparted

Disks

mkusb

There is a detailed description at the sub-page /post


See also

  • FromUSBStickQuick for beginners starting from Windows

  • USB Installation Media: custom, manual, older versions, and technical instructions and troubleshooting. There are also network installation options available.

  • Why Doesn’t a Bootable USB Boot: flowchart and lists of possible causes to help troubleshooting

  • MinimalCD alias mini.iso

  • booting with grub2

  • booting with UEFI

  • Ubuntu Forums tutorial «Howto make USB boot drives»

  • Ubuntu Forums tutorial «Howto help USB boot drives»

  • Ubuntu Forums tutorial «How to create an external USB bootable Linux hard drive (without dual-boot)»

  • Unetbootin for Linux, Windows, Mac OS X

  • Paul Sutton’s Unetbootin how to

  • Rufus — Create bootable USB drives the easy way (from Windows)

  • Pendrivelinux about Multisystem

  • Pendrivelinux about grub2

  • YUMI – Multiboot USB Creator

  • Choosing between Live USB and Full USB Installation

  • Try Ubuntu (Kubuntu, Lubuntu, Xubuntu, …) before installing it

  • LiveCD/Persistence

  • Dual Boot with Windows

  • Discussion about tools to create USB boot drives at the Ubuntu Forums «http://ubuntuforums.org/showthread.php?t=2291946»


CategoryLive CategoryInstallation CategoryInstallation CategoryInstallation

1. Overview

With a bootable Ubuntu USB stick, you can:

  • Install or upgrade Ubuntu
  • Test out the Ubuntu desktop experience without touching your PC configuration
  • Boot into Ubuntu on a borrowed machine or from an internet cafe
  • Use tools installed by default on the USB stick to repair or fix a broken configuration

This tutorial will show you how to create a bootable USB stick on Microsoft Windows using Rufus.

For most users we recommend balenaEtcher instead of Rufus which is simpler to use and also available on MacOS and Ubuntu. Instructions are now included in the primary Install Ubuntu Desktop tutorial.

Creating a bootable Ubuntu USB stick from Microsoft Windows is very simple and we’re going to cover the process in the next few steps.

Alternatively, we also have tutorials to help you create a bootable USB stick from both Ubuntu and Apple macOS.

image


2. Requirements

You will need:

  • A 4GB or larger USB stick/flash drive
  • Microsoft Windows XP or later
  • Rufus, a free and open source USB stick writing tool
  • An Ubuntu ISO file. See Get Ubuntu for download links

ubuntu-download-18_04_1

Take note of where your browser saves downloads: this is normally a directory called ‘Downloads’ on your Windows PC. Don’t download the ISO image directly to the USB stick! If using Windows XP or Vista, download version 2.18 of Rufus.


3. USB selection

Perform the following to configure your USB device in Rufus:

  1. Launch Rufus
  2. Insert your USB stick
  3. Rufus will update to set the device within the Device field
  4. If the Device selected is incorrect (perhaps you have multiple USB storage devices), select the correct one from the device field’s drop-down menu

ubuntu-rufus-00

You can avoid the hassle of selecting from a list of USB devices by ensuring no other devices are connected.


4. Select the Ubuntu ISO file

To select the Ubuntu ISO file you downloaded previously, click the SELECT to the right of “Boot selection”. If this is the only ISO file present in the Downloads folder you will only see one file listed.

Select the appropriate ISO file and click on Open.

ubuntu-rufus-01


5. Write the ISO

The Volume label will be updated to reflect the ISO selected.

Leave all other parameters with their default values and click START to initiate the write process.

ubuntu-rufus-02


6. Additional downloads

You may be alerted that Rufus requires additional files to complete writing the ISO. If this dialog box appears, select Yes to continue.

windows-rufus3-additional-downloads


7. Write warnings

You will then be alerted that Rufus has detected that the Ubuntu ISO is an ISOHybrid image. This means the same image file can be used as the source for both a DVD and a USB stick without requiring conversion.

Keep Write in ISO Image mode selected and click on OK to continue.

ubuntu-rufus-03

Rufus will also warn you that all data on your selected USB device is about to be destroyed. This is a good moment to double check you’ve selected the correct device before clicking OK when you’re confident you have.

ubuntu-rufus-04

If your USB stick contains multiple partitions Rufus will warn you in a separate pane that these will also be destroyed.


8. Writing the ISO

The ISO will now be written to your USB stick, and the progress bar in Rufus will give you some indication of where you are in the process. With a reasonably modern machine, this should take around 10 minutes. Total elapsed time is shown in the lower right corner of the Rufus window.

ubuntu-rufus-05


9. Installation complete

When Rufus has finished writing the USB device, the Status bar will be filled green and the word READY will appear in the center. Select CLOSE to complete the write process.

ubuntu-rufus-06

Congratulations! You now have Ubuntu on a USB stick, bootable and ready to go.

To use it you need to insert the stick into your target PC or laptop and reboot the device. It should recognise the installation media automatically during startup but you may need to hold down a specific key (usually F12) to bring up the boot menu and choose to boot from USB.

For a full walkthrough of installing Ubuntu, take a look at our install Ubuntu desktop tutorial.

Finding help

If you get stuck, help is always at hand:

  • Ask Ubuntu
  • Ubuntu Forums
  • IRC-based support

Was this tutorial useful?

Thank you for your feedback.


Brief: The tutorial shows the steps to create a bootable Ubuntu USB in Windows. Instructions are valid for all versions of Ubuntu Linux and Windows.

One of the first few steps for installing Ubuntu is to create bootable USB of Ubuntu.

There are several free live USB creation tools available in Windows. You may use any of these free applications.

In this tutorial, I’ll show two methods using two different applications for creating live Ubuntu USB:

  • Rufus (recommended)
  • Universal USB Installer

With a live USB, you can try Ubuntu without installing it on your computer. You can, of course, use the same live USB to install Ubuntu on a computer as well.

Let’s see the methods in detail.

Creating a live bootable Ubuntu USB in Windows

How to create live USB in Windows

Before you start creating the bootable USB, let’s see get the essentials first.

Getting things ready

Make sure that you have the following:

  • A USB key (pen drive) with at least 4 GB of size with no important data on it (the USB key will be formatted)
  • Internet connection to download Ubuntu ISO (this could be done on any computer)
  • It would be a good idea to know if your system uses MBR or GPT (Rufus will create live USB accordingly)
  • You should also check if your system uses UEFI or legacy BIOS

Download Ubuntu ISO

ISO is basically an image file. You download this single file of around 2.4 GB and it consists of an “image” of Ubuntu Linux. You then use a tool to extract the content of the ISO file in a such a manner that you can boot the Ubuntu operating system from the USB itself.

Go to the Ubuntu website and choose the version of your choice. You may choose Ubuntu LTS if you do not want to upgrade your system every six to nine months.

download ubuntu

You can also download Ubuntu via torrents from the alternative downloads link located on the same page.

Method 1: Make a live Ubuntu USB with Rufus (recommended)

Rufus is an excellent free and open source tool for making bootable Linux USB disks. On Windows, I prefer and recommend using Rufus.

If you prefer videos to text, I have made this video to show the steps in action.

Step 1: Download Rufus

Go to the website of Rufus and download the .exe file:

This is an exe file so you do not need to install Rufus. Just double-click on it to run it.

Step 2: Creating the live Ubuntu USB

Plug in your USB key (pen drive) to the computer. Now double click on the download Rufus exe file which should be in the Downloads folder.

When you run Rufus with the USB plugged in, it automatically recognizes it. If there are more than one USB keys plugged in, please ensure to select the correct USB under Device.

It may also automatically find the Ubuntu ISO. If not, you can always browse to the ISO by clicking on the SELECT button.

I hope you have checked the partitioning scheme and BIOS type as I mentioned in the prerequisite section. Based on that, select the Partition Scheme and Target System in Rufus.

Everything looks good? Hit the START button.

Make Live Usb With Rufus

You may be asked to choose how to write the image. Choose ‘Write in ISO Image mode’:

Making Live Usb With Rufus

It will take a few minutes to complete the process. You’ll see a green signal when the live USB is ready.

I’ll show you how to boot from the live USB in a moment. Let’s see another method of creating bootable Linux USB.

Method 2: Using Universal USB Installer for making bootable Linux USB

Go to the project website and download the latest version of Universal USB Installer.

Plugin the USB drive in the computer and run Universal USB Installer. You need to do the following things now:

  • Select Ubuntu under step 1
  • Browse to the location of downloaded Ubuntu ISO in Step 2 section
  • In Step 3, select the USB drive and also check the option to format it.
Create live USB of Ubuntu 14.04 in Windows 8

It will present you with obvious warnings, click Yes.

Create_Live_USB_Ubuntu_1404_1

Wait for sometime for the process to complete. You can push it to background, if you like.

creating live usb of ubuntu

That said, your Ubuntu USB should be created in few minutes.

Create_Live_USB_Ubuntu_1404_3

That’s it.

How to boot from live Ubuntu USB

Once the live USB is created, you can proceed with testing Ubuntu in live mode. The bootable USB can be used on any system, not only on the one where you created it.

Plug in the live USB on the desired computer. What you need to do is restart or power on your computer.

At the screen that shows the logo of your system manufacturer, press the F2 or F10 or F12 key. You may try pressing all of them one by one if you are not sure of the key. But be quick when you do that otherwise it will boot into the operating system.

This key is different for different brand of computers. Some may even use Esc or Del keys for this purpose.

acer predator boot

Quickly press F2, F10 or F12 keys at the screen showing your system manufacturer’s logo

In some rare cases, you may have to access the UEFI boot settings from within Windows.

In the BIOS settings, normally, you should see a screen like this. Here, you use the arrow keys to move down to USB option and press enter to boot from the USB. Please note that the screen may look different in different systems.

select boot from live usb

If things go right, you should see a screen like below that gives you the option to “Try Ubuntu without installing” and “Install Ubuntu”. Both methods will provide you the option to install Ubuntu.

I prefer choosing “Try Ubuntu without installing”. That’s the live mode, and you can take the look and feel of the system. If you like it, you can choose to install Ubuntu. Note that if you make any changes to the live Ubuntu system like saving some files or installing applications, your changes will be lost if you boot from the live USB again.

Ubuntu Live Install Screen

Please keep in mind that some systems may not allow you to boot from a bootable USB. If you see some error (like PCIe initialization on Dell systems) or cannot boot from the USB, you should disable secure boot and the try booting from the USB again.

Considering that you are just starting, I advise to follow this beginner’s guide to Ubuntu and learn how to use Ubuntu. Let me know if you need some help.

I tried to use the usb-creator.exe from Ubuntu 10.10 desktop i386 ISO image and it does create an USB stick that doesn’t boot. When I try to boot from it I get:

Operating System not found.

I try to do this from Windows 7 x64. I’m not looking to create a live Ubuntu media, only an installation USB disk.

I repeated the process several times and I even tried to reformat the USB drive (FAT32), no success yet.

The USB stick is a 8GB one.

Braiam's user avatar

Braiam

66.2k30 gold badges174 silver badges262 bronze badges

asked Feb 14, 2011 at 9:03

sorin's user avatar

0

Well you can create a Live-USB disk that can be used for installing the operating system with unetbootin. Here is the official documentation on USB installation.

Make sure that you boot the USB disk at system startup, i.e. when you on your computer. That means the BIOS of your computer has to be set to try to boot from USB before it boots from hard drive and the stick has to be inserted before hard drive booting takes place.

The usual procedure from within Ubuntu is to use Startup Disk Creator. With that you just select the Ubuntu image or LiveCD and the USB-Media and go ahead. See picture below:

Startup Disk Creator usage

con-f-use's user avatar

con-f-use

18.4k20 gold badges87 silver badges142 bronze badges

answered Feb 14, 2011 at 9:10

sagarchalise's user avatar

sagarchalisesagarchalise

23.4k11 gold badges71 silver badges85 bronze badges

0

I like the Universal USB installer. Download it from here

Then run the program double-clicking it with admin privilege. The program will run and you have to direct it to the downloaded iso file. Here is a screenshot below (credit goes to the site owner)

enter image description here

Please take caution to select the actual drive letter of the USB drive.

enter image description here

Now restart your PC to boot from the USB drive

answered Sep 25, 2012 at 7:04

Anwar's user avatar

AnwarAnwar

74.8k31 gold badges189 silver badges306 bronze badges

There are lot of programs,
My personal Fav:

  • LILI

  • Universal usb installer

  • Unetbootin

All does same to create the usb from windows machine.

You point to the ISO, choose the usb and start. They will prepare the USB in 5-10 min.

answered Jun 9, 2012 at 11:10

Web-E's user avatar

Web-EWeb-E

21.2k12 gold badges52 silver badges93 bronze badges

2

Quoted: The recommended way to install Ubuntu from a USB flash drive is to use the usb-creator program, point it at a ISO image of a Ubuntu installation CD that you have downloaded, and let it create a bootable USB that you can use instead of the CD.

Source: Ubuntu

Below you can find more information that can help you in your process.

Installation/FromUSBStick

UNetbootin

How to Put Ubuntu on a USB Thumb Drive

Community's user avatar

answered Jun 9, 2012 at 11:11

Mitch's user avatar

MitchMitch

105k23 gold badges206 silver badges265 bronze badges

From what I see, you have downloaded an ISO file and burnt it to a USB stick. In other words, you have created a liveUSB. And, you expect it to install Ubuntu inside of Windows 7. That is only possible if you have downloaded a WUbI installer. To install Ubuntu using a WUbI, you can follow this link.

If you are trying to install using a LiveUSB, check how to boot from USB for a better idea.

answered Jan 15, 2012 at 5:26

jokerdino's user avatar

jokerdinojokerdino

40.7k24 gold badges131 silver badges201 bronze badges

2

I prefer using Startup Disk Creator on the Live CD, (or usb-creator for Windows, extracted from the Ubuntu iso).
Unetbootin should also work if the version is up to date.

The first thing you should do with either, is check the MD5SUM of the downloaded iso to confirm the download was not corrupted.

If the MD5SUM checks out try the Live USB on a second computer.
Some computers just will not boot Ubuntu.

answered Jan 29, 2012 at 4:05

C.S.Cameron's user avatar

C.S.CameronC.S.Cameron

18.1k10 gold badges56 silver badges99 bronze badges

Get a pendrive 8gb or larger then:

  • Partition using GPARTED on LiveCD. 4GB / — 3gb home rest for swap.
  • Grub on sdx (first partition of your pendrive)
  • Install on usb.
  • Configure your bios to boot from usb.
    If you have fast usb 3.0 pendrive it should be quite quick and work fine.

If you need any further details/how to explanations, please ask ahead in the comments.

Oyibo's user avatar

Oyibo

1,9095 gold badges23 silver badges40 bronze badges

answered Mar 25, 2012 at 12:18

Oldrifle's user avatar

Set to boot from USB in BIOS. that is if you haven’t set to it.

answered Jan 15, 2012 at 4:49

Jesse's user avatar

1

Содержание

  1. Create a bootable USB stick with Rufus on Windows
  2. 1. Overview
  3. 2. Requirements
  4. 3. USB selection
  5. 4. Select the Ubuntu ISO file
  6. 5. Write the ISO
  7. 6. Additional downloads
  8. 7. Write warnings
  9. 8. Writing the ISO
  10. 9. Installation complete
  11. Ubuntu Documentation
  12. Outline
  13. Introduction
  14. Prerequisites
  15. Dummy headlines
  16. Notes about speed
  17. Notes about size
  18. Notes about bootability
  19. The flash hardware
  20. Creating a bootable Ubuntu USB flash drive from Windows
  21. Rufus
  22. balenaEtcher
  23. Pendrivelinux’s Universal USB Installer
  24. UNetbootin
  25. Win32 Disk Imager
  26. Creating a bootable Ubuntu USB flash drive from Ubuntu
  27. Install and run Startup Disk Creator alias usb-creator
  28. UNetbootin
  29. mkusb — dd image of iso file to USB device safely
  30. Creating a bootable Ubuntu USB flash drive from Mac OSX
  31. Test if running in UEFI mode

Create a bootable USB stick with Rufus on Windows

1. Overview

With a bootable Ubuntu USB stick, you can:

  • Install or upgrade Ubuntu
  • Test out the Ubuntu desktop experience without touching your PC configuration
  • Boot into Ubuntu on a borrowed machine or from an internet cafe
  • Use tools installed by default on the USB stick to repair or fix a broken configuration

This tutorial will show you how to create a bootable USB stick on Microsoft Windows using Rufus.

For most users we recommend balenaEtcher instead of Rufus which is simpler to use and also available on MacOS and Ubuntu. Instructions are now included in the primary Install Ubuntu Desktop tutorial.

Creating a bootable Ubuntu USB stick from Microsoft Windows is very simple and we’re going to cover the process in the next few steps.

Alternatively, we also have tutorials to help you create a bootable USB stick from both Ubuntu and Apple macOS.

2. Requirements

  • A 4GB or larger USB stick/flash drive
  • Microsoft Windows XP or later
  • Rufus, a free and open source USB stick writing tool
  • An Ubuntu ISO file. See Get Ubuntu for download links

Take note of where your browser saves downloads: this is normally a directory called ‘Downloads’ on your Windows PC. Don’t download the ISO image directly to the USB stick! If using Windows XP or Vista, download version 2.18 of Rufus.

3. USB selection

Perform the following to configure your USB device in Rufus:

  1. Launch Rufus
  2. Insert your USB stick
  3. Rufus will update to set the device within the Device field
  4. If the Device selected is incorrect (perhaps you have multiple USB storage devices), select the correct one from the device field’s drop-down menu

You can avoid the hassle of selecting from a list of USB devices by ensuring no other devices are connected.

4. Select the Ubuntu ISO file

To select the Ubuntu ISO file you downloaded previously, click the SELECT to the right of “Boot selection”. If this is the only ISO file present in the Downloads folder you will only see one file listed.

Select the appropriate ISO file and click on Open.

5. Write the ISO

The Volume label will be updated to reflect the ISO selected.

Leave all other parameters with their default values and click START to initiate the write process.

6. Additional downloads

You may be alerted that Rufus requires additional files to complete writing the ISO. If this dialog box appears, select Yes to continue.

7. Write warnings

You will then be alerted that Rufus has detected that the Ubuntu ISO is an ISOHybrid image. This means the same image file can be used as the source for both a DVD and a USB stick without requiring conversion.

Keep Write in ISO Image mode selected and click on OK to continue.

Rufus will also warn you that all data on your selected USB device is about to be destroyed. This is a good moment to double check you’ve selected the correct device before clicking OK when you’re confident you have.

If your USB stick contains multiple partitions Rufus will warn you in a separate pane that these will also be destroyed.

8. Writing the ISO

The ISO will now be written to your USB stick, and the progress bar in Rufus will give you some indication of where you are in the process. With a reasonably modern machine, this should take around 10 minutes. Total elapsed time is shown in the lower right corner of the Rufus window.

9. Installation complete

When Rufus has finished writing the USB device, the Status bar will be filled green and the word READY will appear in the center. Select CLOSE to complete the write process.

Congratulations! You now have Ubuntu on a USB stick, bootable and ready to go.

To use it you need to insert the stick into your target PC or laptop and reboot the device. It should recognise the installation media automatically during startup but you may need to hold down a specific key (usually F12) to bring up the boot menu and choose to boot from USB.

For a full walkthrough of installing Ubuntu, take a look at our install Ubuntu desktop tutorial.

Источник

Ubuntu Documentation

Outline

The general procedure to install Ubuntu (or Ubuntu flavour, Kubuntu, Lubuntu, Xubuntu, . ) from a USB flash drive is:

Get the correct Ubuntu installation file, ‘the iso file’, via this link or Ubuntu flavour via this link. Download the iso file into your running computer (for example into the directory Downloads in the internal drive, not into the USB flash drive that you want to make into a USB boot drive).

Check with md5sum (or another checksum tool) that the download was good.

  • Put Ubuntu onto your USB flash drive alias ‘stick’ alias ‘pendrive’ alias ‘thumb’. Tools for this purpose are described in this help page.
  • Configure your computer to boot from USB flash drive and boot from it.

    Try Ubuntu (Kubuntu, Lubuntu, Xubuntu, . ) before installing it.

  • Install Ubuntu to your internal drive (hard disk drive or solid state drive or external drive).
  • See also: Installation/FromUSBStickQuick for beginners starting from Windows.

    Introduction

    Ubuntu can be installed from a USB flash drive. This may be necessary for most new portable computers without DVD drives and is handy for others because a USB flash drive is so convenient. Also, you can configure Ubuntu on the USB flash drive to save changes you make, unlike a read-only CD/DVD disk.

    Booting from a USB flash drive created with usb-creator alias Startup Disk Creator and mkusb will behave just as if you had booted from the install CD. It will show the language selection and then the install menu, from which you can install Ubuntu onto the computer’s hard drive or launch the LiveCD environment. Other utilities, e.g. UNetbootin, may create slightly different boot drives or if on UEFI might not work at all with Debian iso files due to a bug

    Note: This article uses the term «USB flash drive» alongside USB stick, USB drive, USB device, USB pendrive and thumb drive.

    Prerequisites

    To create a USB installation device, you will need:

    a 4 GB USB flash device/drive/stick. If the iso file is smaller than 2 GB, it is possible to use a 2 GB USB device, at least with some of the methods. Files on this USB device will be erased, so backup the files you want to keep before making the device bootable. Some of the tools require that this USB device is properly formatted and mounted while other tools will overwrite whatever is on the target device. Please follow the instructions for each tool.

    an Ubuntu flavour ISO file downloaded from an official web page, ubuntu.com/download or http://releases.ubuntu.com, stored in your running computer (for example in the directory Downloads in the internal drive, not in the USB flash drive that you want to make into a USB boot drive).

    Check with md5sum (or another checksum tool) that the download was good. In Linux there is the tool ‘md5sum’. In Windows you can do it with Rufus: click on the circle with a tick mark (more about Rufus here.)

    Dummy headlines

    After a major remake of this help page the following headlines are kept here because they may be linked to from other web sites. Several other headlines further down in the page are also kept for this reason.

    Notes about speed

    Notes about size

    Notes about bootability

    The flash hardware

    There is a detailed description at the sub-page /pre

    Creating a bootable Ubuntu USB flash drive from Windows

    There are various methods available for Windows to create a bootable Ubuntu USB flash drive.

    NEVER try to use one of your hard disk drives or partitions in this process unless you really know what you are doing, as data will get erased.

    Rufus

    Rufus is the tool in Windows that is recommended officially by Ubuntu. A tutorial is available from here.

    balenaEtcher

    Pendrivelinux’s Universal USB Installer

    UNetbootin

    Win32 Disk Imager

    There is a detailed description at /fromWindows including Rufus, balena Etcher, Universal USB Installer, Unetbootin and Win32 Disk Imager.

    Creating a bootable Ubuntu USB flash drive from Ubuntu

    Install and run Startup Disk Creator alias usb-creator

    The Ubuntu Startup Disk Creator is dedicated to creating USB boot drives for Ubuntu and Ubuntu family flavours (Kubuntu, Lubuntu . Xubuntu).

  • Use another tool (e.g. ‘UNetbootin’ or ‘mkusb’), if you want to create a USB boot drive with another Linux distro (alias Linux operating system).
  • You can find usb-creator-gtk by typing «Startup Disk Creator» (Ubuntu Desktop) or usb-creator-kde in K-Menu—>Applications—>System—>Startup Disk Creator (Kubuntu). If it is not there, then you can install it using the Ubuntu Software Center.

    • Insert and mount the USB drive. Inserting the USB drive should auto-mount it.
    • Start the Startup Disk Creator
    • In the top pane of the Startup Disk Creator, pick the .iso file that you downloaded.
    • If the .iso file isn’t listed, click «Other» to locate and select the .iso file that you downloaded.
    • In the bottom pane of the Startup Disk Creator, pick the target device, the USB flash drive. If more than one choice, please check carefully, until you are sure that you will be writing to the correct device.
    • After checking that you are pointing to the correct target device, the USB flash drive, you can start the action.

    You must enter a password because this is a risky operation. Use the password of the current user ID (the same as for login and running tasks with ‘sudo’. Password is not required when installing from a ‘live’ system (booted from a DVD disk or another USB flash drive).

    The Startup Disk Creator clones the iso file, which means that you need neither erase nor format the target drive. It will be completely overwritten anyway by the cloning process. The Startup Disk Creator looks like this in Ubuntu 18.04 LTS:

    Notes

    NEVER try to use one of your hard disk drives or SSDs or partitions in this process unless you really know what you are doing, as data will get erased.

    There are bugs that affect the Ubuntu Startup Disk Creator, when you run it in old Ubuntu versions in BIOS mode and try to create USB boot drives with other versions. In the Ubuntu Startup Disk Creator version 0.3.2 in Ubuntu 16.04 LTS, these bugs are no longer a problem, so you can install any version of the Ubuntu flavours from 16.04 LTS and newer versions.

    UNetbootin

    Download UNetbootin

  • UNetbootin works in and with most Linux distros.
  • It is an extracting tool (not a cloning tool).
  • It can make a persistence file up to 4GB in size to save data and defaults.
  • mkusb — dd image of iso file to USB device safely

    If you want to clone from a general image file to a drive, you can use mkusb. It lets you clone to any drive that is not busy, also an internal drive, and there are very obvious warnings to prevent mistakes.

  • mkusb can also
    • run in Debian and many linux distros that are similar to Ubuntu and Debian,
    • clone from iso files of most Linux distros to create USB boot drives,
    • create persistent live drives of the Ubuntu family and Debian, using all available drive space for persistence and/or data storage,
    • restore a USB boot drive to a standard storage device.
  • There is a detailed description at /fromUbuntu including the Startup Disk Creator, UNetbootin and mkusb.

    Creating a bootable Ubuntu USB flash drive from Mac OSX

    There is a good wiki page about booting with UEFI, and a good tutorial thread, UEFI Installing — Tips.

    Test if running in UEFI mode

    You may want to test if your Ubuntu flavour is running in [U]EFI mode. An installed system and a live system too is using the directory /sys/firmware/efi, so you can run the following command line,

    The following command line is more robust and also easier to understand, so you may prefer it (if you copy & paste and are not bothered by typing a long command line),

    Источник

    This tutorial will help you to create a bootable USB drive of Ubuntu in Windows 8/8.1 or Windows 10. After creating a bootable USB you can use this as Live USB or install it on disk.

    Requirements

    You are required following things to create Ubuntu bootable USB in Windows systems.

    • An USB Drive
    • Ubuntu ISO Image
    • Universal USB Installer application
    • A Windows System to create boot disk

    Step 1 – Download Ubuntu ISO

    You can easily download the Ubuntu ISO image from its official website. Download the Ubuntu Desktop or server edition as per your requirements.

    Download Ubuntu ISO Image

    Step 2 – Install Universal USB Installer

    For this tutorial, I am going to use the Universal USB Installer utility on Windows to create a bootable USB drive. Use the below link to download this tool and install it on your Windows system.

    Download Universal USB Installer

    At this stage, You have installed Universal USB Installer on your system. Also have downloaded the Ubuntu ISO image. Now start the process of creating an Ubuntu bootable USB.

    Start Universal USB Installer and select following options.

    • Step 1: Select Ubuntu
    • Step 2: Browse and select Ubuntu ISO image from your system.
    • Step 3: Select the USB drive

    Now click on Create button:

    The installation process is in progress.

    Wait for the installer to complete the process. This process will take time as per your operating system speed.

    After completing the process, You will see a screen like this.

    Your Ubuntu bootable USB is ready to use. Use this USB to use as live Ubuntu media or install Ubuntu operating system on your system.

    Оптические диски уходят в прошлое. Многие модели ноутбуков и все нетбуки уже выпускаются без встроенного оптического привода. И всё чаще для установки операционных систем используются USB-флешки. Это связано с их дешевизной и возможностью выполнять перезапись много раз.

    Мы разберёмся, как сделать загрузочную флешку Ubuntu в окружении дистрибутива Linux, причём неважно какого — интересные нам утилиты легко устанавливаются из официальных репозиториев. Также мы рассмотрим создание загрузочной флешки Ubuntu в Windows.

    Я уточню: образ Ubuntu — это то, о чём мы говорим в статье, но на месте этого дистрибутива может быть любой другой образ Linux. Ничего не изменится, кроме размера USB-накопителя: в самом конце статьи мы затронем тему, как установить полноценную Ubuntu на флешку и получить полностью рабочую систему. Для этих целей нужно будет устройство с большим объёмом памяти.

    Как создать загрузочную флешку Ubuntu в Windows

    Допустим, скачали вы образ Ubuntu с официального сайта и хотите его записать на флешку. Если это нужно сделать в Windows, то вы, скорее всего, ещё не использовали Linux и не знаете, как записывать образы. Поэтому скажу, что просто скопировать образ на флешку не поможет, нужно именно записать образ Ubuntu на флешку.

    Лучшей программой для создания загрузочной флешки Ubuntu в Windows, да и вообще для записи образов на флешку, я считаю Rufus. Программа отлично работает, проста в использовании, и ничего не нужно устанавливать. Скачать её можно по ссылке.

    Шаг 1. Запуск

    Подключите флешку к компьютеру и запустите программу:

    Шаг 2. Выбор флешки

    Выберите устройство, на которое будет идти запись, то есть вашу флешку. Если к компьютеру подключена только одна флешка, утилита определит её автоматически:

    Шаг 3. Выбор образа

    В поле Метод загрузки выберите Диск или ISO образ:

    Затем кликните по кнопке выбрать для выбора ISO образа. В проводнике выберите образ Ubuntu или любого другого Linux дистрибутива:

    Шаг 4. Запуск записи

    Все остальные параметры можно оставить по умолчанию. Нажмите кнопку Старт для начала записи:

    Если утилита спросит нужно ли загружать новую версию загрузчика Linux, согласитесь, это избавит от возможных проблем:

    Шаг 5. Тип записи

    Утилита Rufus поддерживает два режима записи образа на флешку. Это режим DD и режим ISO образа. В режиме DD образа всё содержимое ISO файла побайтово копируется на флешку. На флешке не создается никакой файловой системы или таблицы разделов, просто переносится та структура, которая была в образе. Это может быть полезно для записи образов с файловыми системами семейства ext, которые не поддерживает Windows.

    В режиме ISO образа на флешке создается раздел, затем он форматируется в FAT32 и туда копируются все файлы из образа. Затем утилита создаёт и записывает свой загрузчик, который делает этот раздел загрузочным. Такой способ может вызвать проблемы при записи установщиков Linux, но он предпочтительнее, поскольку у вас будет доступ к флешке и данным на ней. Выберите сначала первый вариант, а только потом, если это не заработает пробуйте второй:

    Шаг 6. Завершение записи

    Подтвердите запись информации на на флешку, а затем дождитесь окончания. Когда всё будет сделано появится надпись готово в строке статуса.

    Дальше можете перезагружать компьютер и переходить к установке.

    Как сделать загрузочную флешку Ubuntu в Linux

    В Linux проще всего сделать загрузочную флешку с установщиком того же Linux с помощью утилиты Etcher. Это графическая утилита написанная на платформе Electron, позволяющая сделать всё, что необходимо. Скачать программу можно по ссылке. В загруженном архиве будет находиться AppImage образ программы, который можно прямо так запускать из файлового менеджера.

    Шаг 1. Запуск

    Запустите программу кликнув два раза по AppImage файлу:

    Шаг 2. Выбор образа

    Кликните по кнопке Select Image и выберите образ диска, который вы хотите записать:

    Шаг 3. Выбор флешки

    Щелкните по кнопке Change в средней колонке окна и выберите флешку, на которую хотите записать образ:

    Шаг 4. Завершение

    Нажмите кнопку Flash и дождитесь завершения записи.

    Утилита dd позволяет побайтово переносить содержимое ISO образа на флешку. Такой метод записи менее удобен, чем использование графических утилит, но иногда работает когда не помогают другие.

    Шаг 1. Имя флешки

    Сначала вам нужно узнать имя вашей флешки в файловой системе. Для этого используйте утилиту fdisk:

    sudo fdisk -l

    В данном примере флешка имеет имя /dev/sdb.

    Шаг 2. Запись

    Теперь можно записать на неё образ:

    sudo dd if=~/Загрузки/ubuntu20_04.iso of=/dev/sdb bs=1M

    С помощью опции if надо передать путь к образу, который надо записать, а of — устройство, на которое его надо записать. Опция bs помогает утилите работать быстрее. Обратите внимание, что данные надо записывать именно на флешку, а не на раздел на ней. Больше никаких операций не потребуется, так как вся структура образа будет перенесена на устройство.

    Установка Ubuntu на флешку

    На самом деле, это не так сложно, как вам сейчас кажется. Это Linux — здесь вы можете делать всё, что захотите, в том числе и устанавливать систему на флешку.

    Сначала выполняйте всё как при обычной установке, пока не дойдете до разметки диска. В окне выбора способа разметки выберите Другой вариант:

    ubuntu1

    Далее в окне разметки диска вы увидите два подключенных к системе диска, один из них — ваш жёсткий диск, другой — флешка. Определить, кто здесь кто, можно по размеру:

    ubuntu

    В отличие от обычной установки, загрузочная флешка Ubuntu не требует раздела swap, он даже противопоказан, потому что система будет очень часто перезаписывать данные, и так вы только сократите время жизни флешки. Остальные разделы тоже можно не делить так, как при обычной установке. Достаточно создать один корневой раздел с файловой системой ext2. Выбирать нужно именно эту файловую систему, чтобы, опять же, уменьшить количество записей на диск.

    Дальше выполняете установку как обычно. Загрузочная флешка будет успешно создана, но после завершения процесса важно выполнить несколько настроек всё с той же целью — уменьшить количество записей на диск.

    Нужно для всех разделов добавить опции noatime и nodiratime. А также папки с временными файлами подключить в оперативную память.

    Для этого откройте файл /etc/fstab и добавьте в него такие строчки:

    vi /etc/fstab

    tmpfs /tmp tmpfs rw,size=100m 0 0
    tmpfs /run tmpfs rw 0 0
    tmpfs /var/lock tmpfs rw 0 0
    tmpfs /var/log tmpfs rw,size=10m 0 0

    Затем для всех разделов, размещённых на флешке, добавьте вышеуказанные опции. Например, было:

    /dev/sdb1 / ext4 errors=remount-ro 0 1

    Сделайте:

    /dev/sdb1 / ext4 errors=remount-ro,noatime,nodiratime 0 1

    Ещё, если не планируете устанавливать программы, можно перемонтировать корень в режиме только для чтения.

    Важно отметить, что загрузочная флешка Ubuntu с установленной на неё операционной системой — не очень хорошая идея. Количество записей на USB-накопитель ограничено, поэтому, хотя все приведённые здесь оптимизации и увеличат строк службы носителя,  никто не сможет предугадать, когда прибор выйдет из строя. Это вариант работающей, но не надёжной системы.

    Выводы

    Вот и всё, мы рассмотрели самые лёгкие способы создать загрузочную флешку Ubuntu или любого другого дистрибутива как в Windows, так и в Linux. Теперь вы даже можете установить полноценную систему на флешку. Если у вас остались вопросы, задавайте их в комментариях.

    Creative Commons License

    Статья распространяется под лицензией Creative Commons ShareAlike 4.0 при копировании материала ссылка на источник обязательна .

    Понравилась статья? Поделить с друзьями:
  • Create linux boot usb windows 10
  • Create iso from folder windows 10
  • Create installation media for windows 11
  • Create img file from folder windows
  • Creative sound blaster 1070 драйвер windows 10