- How to Create Ubuntu Live USB in Windows
- How to make Ubuntu bootable USB in Windows:
- Step 1: Download Ubuntu ISO
- Step 2: Download Universal USB Installer
- Step 3: Creating the bootable USB
- Ubuntu Documentation
- Introduction
- Reasons for Using a LiveCD Session
- Other Ways to Try Ubuntu
- How-To LiveCD Ubuntu
- Preparing your LiveCD
- To create a LiveCd
- To create a LiveUsb
- To buy an Ubuntu Cd
- Using your LiveCD
- Installing Programs or Other Packages
- Making a Customised LiveCD
- Troubles with a LiveCD
- Logging in
- Security and Updating
- Setting a Password
- Text-Mode Installation
- How can I install Windows after I’ve installed Ubuntu?
- 16 Answers 16
- Step Zero – Backup your important data before doing anything
- Step One – Make space for Windows
- Step Two – Install Windows
- Step Three – Mount /boot
- Step Four – Install the bootloader
- UEFI only!
How to Create Ubuntu Live USB in Windows
Last updated January 10, 2020 By Abhishek Prakash 93 Comments
Brief: Tutorial to show you how to create a bootable USB of Ubuntu in Windows. Instructions are valid for all versions of Ubuntu and Windows.
One of the first few steps for installing Ubuntu is to create bootable USB of Ubuntu. If you are using Windows 7 or 10, you can use Universal USB Installer to easily create a live USB. It’s my favorite tool and is extremely easy to use.
Let’s see how to easily make a live USB of Ubuntu in Windows.
How to make Ubuntu bootable USB in Windows:
Step 1: Download Ubuntu ISO
Go to Ubuntu and download the ISO image of your preferred Ubuntu version. At present, there are two LTS version available, Ubuntu 14.04 and Ubuntu 16.04. You can download whichever you prefer.
It is always a good idea to perform a checksum on ISO file you downloaded from the internet.
Step 2: Download Universal USB Installer
Once you have downloaded the ISO of Ubuntu 16.04 or 18.04, go to this page and download the latest version of Universal USB Installer.
Step 3: Creating the bootable USB
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.
It will present you with obvious warnings, click Yes.
Wait for sometime for the process to complete. You can push it to background, if you like.
That said, your Ubuntu USB should be created in few minutes.
Once the live USB is created, you can proceed with testing Ubuntu in live mode.What you need to do is restart your computer. At boot time, press F2 or F10 or F12 (depending upon your system) to access boot menu.
Once there, choose to boot from USB or removable media. That’s it. You can use Ubuntu without installing here. You can also choose to install Ubuntu if you want.
I have shown the process of making a bootable Ubuntu Linux USB with Rufus tool in this video:
I hope this tutorial helped you to easily create Ubuntu live USB in Windows.
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.
Like what you read? Please share it with others.
Ubuntu Documentation
Needs Expansion
This article is incomplete, and needs to be expanded. More info.
Introduction
A live CD can be used for a quick demo or test of Ubuntu. Try Ubuntu without any changes to your machine! Windows or whatever you use normally is unaffected after trying this and then rebooting.
The standard Ubuntu Cd can be used as a LiveCd as well as an installer. Live mode is the default option when booting from CD. Only some of the non-standard downloads (such as the «Alternate Cd») lack this functionality. Windows users might be familiar with the term ‘boot CD’ or ‘bootable CD’ or ‘Recovery/Restore Media’. A «LiveCD» is more than that because it gives the option of running a normal desktop environment with all the normal programs and some extras. A LiveCD usually finds your wired internet connection and Firefox should be able to surf the internet into here.
This guide has screen-shots of the 8.04 and 10.04 Desktop Edition of Ubuntu. However, Lubuntu, Xubuntu, Kubuntu and even unofficial Ubuntu-based distros as well as other versions all tend to have similar screens & menus.
Most distributions (versions or «distros» of Linux) have this LiveCd functionality on their installer CD, a few have a separate Cd to download. It is rare to find a distro that has no LiveCd session at all. Ubuntu tries to make their LiveCD the easiest to use. Although a LiveCD session is a good way to demo Ubuntu without making changes to a machine, a LiveCD will always be slower than a proper installation to the hard-drive. Cd-drives & Dvd-drives are physically slower than hard drives.
You can use a persistent image to keep data & settings safe after shut-down. This does go against many reasons for using a LiveCd session (rather than an installation) but it can be useful for multi-user machines, such as offices or in third world education projects.
Reasons for Using a LiveCD Session
LiveCD sessions are good to:
- give a ‘demo’ session on a machine before installing or upgrading
- checks hardware works as expected
check the look & feel of the distro
repair or preparation for awkward installations
repair/replace/install grub perhaps after (re)installing Windows
fix Windows problems on a machine that doesn’t have a dual-boot
anti-virus problems on a Windows system
resizing partitions to give Ubuntu more (or less) room
adding a new partition(s) to your hard-drive for other distros or for a new Windows
safely using a computer which seems to have poor security or lacks privacy. This is particularly good if you have a Usb stick or something to save your data and settings on (see ‘persistent image’)
Other Ways to Try Ubuntu
LiveCDs are designed for people that want to use Ubuntu on a computer for a few hours. If you want to carry a LiveCD around with you, a persistent image lets you customise your live session. If you want to use Ubuntu on a computer for a few weeks or months, Wubi lets you install Ubuntu inside Windows. If you want to use Linux on a computer permanently, dual-booting lets you install Window and Ubuntu (or which-ever distro) side-by-side on the same computer.
Because Wubi needs Windows and Ubuntu to co-operate, you have to deal with all the problems of both systems. For example, it’s not easy to completely uninstall Wubi. An experienced linux user or someone with considerable technical knowledge about Windows might find it better to try Wubi in some certain circumstances where dual-booting is infeasible or inadvisable. See the Wubi guide for more information about Wubi, particularly how to uninstall it cleanly.
Dual-booting can be daunting at first, but tends to work better once you’ve got it set up. This allows Window & Ubuntu to work without relying on the other for anything, except the boot-loader. As you get more comfortable with Ubuntu, you can just forget about your Windows partition. Reinstalling Windows is quite tricky, so it’s best to leave your Windows partition in place unless you’re absolutely sure you’ll never use Windows again.
How-To LiveCD Ubuntu
Preparing your LiveCD
You need to create, borrow, buy or request an Ubuntu CD or Usb-stick. Once you have an Ubuntu Cd or Usb it should work as an installer and as a !LiveCD or LiveUsb. There are some downloads, such as the Alternate Cd that cannot be used as !LiveCd/Usb.
To create a LiveCd
Download Ubuntu. For a live CD, avoid the «alternate CD» & the Server Edition because it has no desktop. For installing, using the alternate CD is a good idea, if installing using the standard CD does not work.
Make your own CD. Cheap «write once» CDs in packs of 10 or more are usually best. You could burn a new CD once every 6 months to get the latest version but all version are supported for 18 months and long time support releases for 3 years. You could also use the remaining CDs for trying out other distros Having a quick demo of other distros can help you understand Linux in general a LOT better a LOT faster, which helps you understand Ubuntu better.
To create a LiveUsb
The Usb stick needs to be 1Gb or more and there are 2 different pages giving advice. I prefer the first; Installation/FromUSBStick, Installation/FromImgFiles
To buy an Ubuntu Cd
The official Cannonical store, OnDisc, OSDisc or your local Ubuntu team might be able to help you find somewhere in your country from which to buy Ubuntu CDs. Also see GettingUbuntu for more information.
Using your LiveCD
Put the Ubuntu CD into the CD/DVD-drive and reboot the computer. You should see a menu with «Try Ubuntu without any change to your computer» at the top. If you don’t get this menu, read the booting From the CD guide for more information.
Figure 1: The first thing you will see when you boot from your Ubuntu CD
Press the up or down arrow on keyboard to get your language and then press enter
Figure 2: F6 will give you Boot Options & allows you to edit the boot-string
Choose «Try Ubuntu without any change to your computer». You should get a desktop which we call a «LiveCD session». If you don’t see a desktop, or need safe graphics mode, read the boot options for more information.
Figure 3: The LiveCD lets you manage partitions with GPartEd.
Also see the installer icon top-left
The Firefox icon on the top panel should let you surf the internet. Other normal programs are available in the menus.
After you have finished, shut the computer down and remove the CD. At this point anything you saved to the desktop or Documents folders and such will vanish — only things you saved into folders on the hard-drive will remain. This means that there won’t be any trace of your personal data (e-mails, passwords etc.) left on the machine, which can be quite useful if you don’t trust the Windows installation on the computer.
If you have troubles getting the working desktop but if it is still not behaving then try asking for help in Launchpad or use Signpost Help, or both.
Installing Programs or Other Packages
You can install programs to a LiveCD session in the normal way, although these will be forgotten as soon as you switch the machine off. For example, you might install antivirus or data-recovery tools to fix the system installed on the computer’s hard drive. Because space is limited on a LiveCD, you should limit the number of packages you install or consider using a persistent image.
Making a Customised LiveCD
If you want to make custom Ubuntu-based Live CD, you should read the LiveCD Customisation HowTo. Without even starting from an existing Ubuntu CD you can make a customised live system, see LiveCD Customisation From Scratch.
Troubles with a LiveCD
Logging in
Sometimes a LiveCD might ask you for a user-name or password. Just leave these blank and press enter (or allow it to time-out).
Figure 4: Just press enter to get past this, or let it time-out
Security and Updating
While linux systems are more secure than Windows, LiveCD sessions are not meant for long-term use nor for sessions lasting several days. Because LiveCDs can’t easily be updated, they may well be vulnerable to security issues discovered in the months since their release. They also can’t protect you against scams such as phishing. If a criminal broke in to your live session, any changes he made to your session would be reset along with everything else when you reboot, although he could make permanent changes to the computer’s hard drive.
A persistent image can be updated as new security issues emerge, but also lets any damage done to your computer persist across sessions.
Setting a Password
You can set a password during a LiveCD session by opening a terminal, and typing in:
Text-Mode Installation
If your normal installation fails without giving an error message, or if you want to install on a very limited system, you can use the text-based installer instead.
How can I install Windows after I’ve installed Ubuntu?
I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this?
I can’t lose my Ubuntu files, and I’m afraid that I might break GRUB.
Go here for UEFI only!
16 Answers 16
Here’s the general outline:
- Make space for Windows
- Install Windows
- Mount the /boot directory or partition
- Install the bootloader (GRUB)
Step Zero – Backup your important data before doing anything
Step One – Make space for Windows
Open up GParted, and make sure that you have at least 20 GB available for Windows 7, either as a partition you can remove, or as unpartitioned space. If it’s a partition, remove it from GRUB to make sure it doesn’t break your Ubuntu install — GParted will complain if anything bad is about to happen.
Make note of current /boot device. If that doesn’t show up there, make note of the / device. The device name is something like sda5 .
Step Two – Install Windows
Install Windows 7 into the space you just made
Step Three – Mount /boot
Note: Instead of mounting the boot directory or partition from the installation in the live media environment you can specify the path with the —boot-directory parameter for grub-install, more information on the manpage.
Load up from your Ubuntu live CD, and then run these commands.
If you DO NOT have a separate /boot partition:
If you have a SEPARATE /boot partition:
Step Four – Install the bootloader
Note: These instructions were initially written for Windows 7 and BIOS booting computers. If you have UEFI and Windows 8 and above you probably need to replace grub-pc with grub-efi-amd64 in sudo apt-get install grub-pc .
Then continue with those commands:
And restart. It should work fine and boot both systems.
Installing Windows after Ubuntu is not the recommended process for a dual boot Windows and Ubuntu system, but it is possible.
- First, you have to make sure that the 50GB free space is available, resizing your Ubuntu by using gParted if necessary.
- Also use gParted or Disk Utility to format the the free space as NTFS, this prevents Windows 7 from creating an additional boot partition in addition to the «C» drive.
Next, boot to the Windows DVD installer and install Windows on the NTFS partition. Upon reboot, Windows will automatically boot and you won’t see the grub menu allowing you to choose Ubuntu, because the Windows bootloader has replaced grub.
Now, what you need to do is run Ubuntu from LiveCD or LiveUSB and install boot-repair.
To install boot-repair, open up a terminal by pressing Ctrl+Alt+T and type the following commands:
After installation, boot-repair will automatically launch, if is doesn’t, launch it via Dash.
Make sure to select recommended repair to repair grub. Reboot and that’s it.
UEFI only!
This answer covers UEFI-only, and is meant to be a bit of a more modern answer as UEFI has succeeded the ancient BIOS. Also, there are some edits here to fit the fact it’s answering a «how I do this» rather than a «can I do this» type of question.
To install Windows alongside Ubuntu, you just do the following:
- Insert Windows 10 USB
- Create a partition/volume on the drive to install Windows 10 on alongside Ubuntu (it’ll create more than one partition, that’s normal; also make sure you have space for Windows 10 on your drive, you might need to shrink Ubuntu)
- Install the Windows 10.
Note: when making sure things are ready for your dual boot, check if Ubuntu is installed in the GPT partition table! While 99% of the time you will be using GPT if you’re planning to do this, it is possible to install Ubuntu’s UEFI on MBR but Windows 10 does not support that strange use-case. In that situation, convert to GPT if possible. If not, backup and reinstall, and I’d recommend that as it’ll be easier.
boot-repair did a really good job launched from a live-usb, by just applying the recommended option.
When you boot have you checked the boot order on your BIOS? If you’re booting straight to the hard drive it will always miss the USB. You need to move the USB device boot option higher in the priority list.
Also check that your computer allows you to boot from USB in the USB port you are using.
First, you have to boot with a live CD/USB stick and shrink your partition in order to create a second one. Windows 7 requires and creates a second partition which is called «system reserved». I don’t know why, but it does. (So you will end up with three partitions or four if you have a swap partition.)
When your partition is ready, just boot with your Windows 7 DVD/USB stick and install Windows 7 on the new partition.
When Windows 7 has been installed, GRUB will break and you will only be able to boot Windows (automatically). Just boot with a live Ubuntu CD/USB stick and fix it (how it is mentioned in other comments).
Now another issue that some users may face:
I own an HP Mini 210 netbook which came with Windows 7. I erased everything and installed Ubuntu. Later on I decided to also reinstall Windows 7 and have a dual boot (needed Windows for a specific application from my university which wouldn’t run through wine). At that time I had three partitions:
Now when I tried to install Windows 7 I faced a problem because Windows 7 needs to create a second primary partition (system reserved). I already had three partitions and therefore was unable to create two more. The workaround here is to create an extended partition in which you will include both swap and backup storage. Now I have: