DEV Community

Cover image for Replacing Windows 10 with Ubuntu 18.04
faryalzuberi
faryalzuberi

Posted on

Replacing Windows 10 with Ubuntu 18.04

This blog covers a step by step guide on how to install Ubuntu on your system using a bootable USB drive. This is one of the easiest ways of replacing the existing Windows OS on your laptop with a Linux distro.

In order to proceed, you will need a USB pen-drive with at least 4 GB storage space and an external hard drive to create a backup of important data.

Step 1 Download Ubuntu Disk Image

Download your desired Ubuntu LTS version from here. This will be downloaded as an ISO file, approximately 2GB in size.

LTS simply refers to Long Term Support and it guarantees that your OS will receive security updates, bug fixes as well as hardware support improvements for 3 to 5 years from the time of its release. It is suitable to use LTS versions instead of interim releases which would require more frequent upgrades, typically within 9 months or less. You can read more about the Ubuntu release cycle here.

For the installation, please ensure that the selected LTS version is supported by the hardware machine that will be running the OS. You can refer to the Ubuntu certifications to verify this.

Currently there are three LTS versions to choose from: LTS 16.04, LTS 18.04, and LTS 20.04. For my Dell Inspiron 3593 laptop, I opted for the Bionic Beaver LTS 18.04.

Download Bionic Beaver

Step 2 Create Bootable USB drive

The next step is to create the bootable USB drive by extracting files from the Ubuntu disk image using the Universal USB Installer software. Alternatively, Rufus can also be used.

Insert the USB drive into either a 2.0 or 3.0 USB port, though connecting to a 2.0 port will impact the speed of the boot. Any data on the USB will be lost so ensure that it has been copied safely to a different external storage device.

Next, download the latest version of Universal USB Installer from here.

Running this executable will prompt the following:

For Step 1, select Ubuntu from the list of Linux distributions.
For Step 2, browse the path of the downloaded Ubuntu disk image from the previous step.
For Step 3 select the inserted USB drive and check the Will FAT32 Format checkbox.

UUI Prompt

Upon pressing create, a warning will appear which can be safely acknowledged by pressing yes as long as all data on the USB has been backed up. All data on the USB drive will be removed since we are formatting with the FAT32 file system.

UUI warning

The UUI program will then begin extracting files from the disk image to the USB drive. You can run this task in the background if desired.

UUI extractionUUI extraction

Once complete, the resulting Bootable USB drive file structure will look as follows.

Live USB

Your USB drive is now ready!

Before proceeding, ensure that you have backed up important data from your system to the external hard drive that you wish to restore data from.

Step 3 Boot Ubuntu from USB at Start Up

Restart your computer and once the loading screen appears, press F12 several times (this may be different depending on your manufacturer) to enter BIOS settings.

I was installing on the Dell Inspiron 3000 series that has replaced BIOS with the more advanced UEFI Boot. If this is also the case for you, simply select the UEFI Generic Mass Storage (it could be another interchangeable name for your USB drive) from boot devices.

UEFI settings

If your system supports BIOS settings, it will have a different User Interface. In this case, locate the Boot Order option and select the USB device to be the first item in the boot order.

After you have changed the boot order, save and restart. The system will now boot from the Live USB drive.

If there is no option to boot from USB Disk, your computer may not be able to boot from USB. See here for a tool to test if your computer is compatible for USB boot.

The GNU GRUB menu will appear with several options including Install Ubuntu and try Ubuntu without installing. Opting for the latter will allow to explore the downloaded OS before proceeding with the install.

Ubuntu loading

Install Ubuntu

Selecting Install Ubuntu will prompt for several configurations before proceeding with the set up.

Select system language

Ubuntu Config 1

Select keyboard

Ubuntu Config 2

Add and connect to WiFi network (or skip)

Ubuntu Config 3

Updates and other software - proceed with normal installation

Ubuntu Config 4

Proceeding with installation type will prompt whether to remove Windows Boot Manager completely or install Ubuntu with dual boot. We wish to use Ubuntu as our sole OS so I opted for that.

Ubuntu Config 5

Select timezone

Ubuntu Config 6

Create System User Account

Ubuntu Config 7

And voila, your system is up and running with Ubuntu!

Welcome to Ubuntu

Top comments (65)

Collapse
 
rockykev profile image
Rocky Kev

Love it! Would it be possible to do a follow-up with setting up your dev environment? I set mine up a year ago, and remember the first three months was a struggle since I didn't know what like .bashrc was, what sudo meant, etc. Would be super helpful for those moving from win10 as well!

Collapse
 
faryalzuberi profile image
faryalzuberi

Thank you!! I will definitely try and put together a Linux walk through 😊

Collapse
 
usmanimam92 profile image
UsmanImam92

The instructions are on point and very simple to follow. Greatt stuff!!! 🤟

Collapse
 
faryalzuberi profile image
faryalzuberi

Cheers!! 🍻😊

Collapse
 
faryalzuberi profile image
faryalzuberi • Edited

Certainly! but to ensure my machine’s hardware compatibility I found it a safe bet to verify Ubuntu’s certification for it which is understandably not available for LTS 20.04 as yet certification.ubuntu.com/desktop

Collapse
 
gypsydave5 profile image
David Wickes

And viola, your system is up and running with Ubuntu!

I think you mean 'voilà'... 🎻

Collapse
 
faryalzuberi profile image
faryalzuberi

Haha indeed I did, thank you! 😊

Collapse
 
galdin profile image
Galdin Raphael • Edited

I don't intend to do this because WSL and remote servers serve me enough. But for the sake of those considering to, may I ask:

What happens to the OEM Windows 10 installation. Is it lost? Is the license lost too?

Collapse
 
projectescape profile image
Aniket

License is tied to your hardware. If you completely remove and reinstall windows 10, it will get activated automatically without entering any key

Collapse
 
galdin profile image
Galdin Raphael

That's great. I dint know this. Thanks!

Collapse
 
_garybell profile image
Gary Bell

I'd suggest that anyone wanting to start playing around with Ubuntu (or any other Linux distribution) who is used to working with Windows, should do so in a virtual machine first.

For those who are going to go the whole hog, make sure files are backed up first. And make sure you have the Windows recovery media available in case it doesn't work out for you.

Collapse
 
instalarapp profile image
Vidmate

I have tried Ubuntu other times, and the truth is that I have done very well. What happens is that now Windows 10 is much better than before and it is also free. Here is how you can download it: instalarapp.com/windows-10/

Collapse
 
skotian5932 profile image
snehith kotian

Great article! I've been wanting to try out Ubuntu on my laptop, and your step-by-step guide makes it seem so straightforward. I appreciate the emphasis on using an LTS version for long-term support. It's good to know that I can explore Ubuntu using the Live USB before committing to the installation. Thanks for sharing this tutorial, I'll definitely give it a go and see how Ubuntu performs on my system. Excited to experience the power of Linux...... anyways love from Coin master free spins

Collapse
 
alex1_a5f83e41d7dba41f1a8 profile image
alex1

Geometry Dash is a classic, and this site, geometrydashjp.com, is a great place to play it. The level design is always challenging but rewarding, and the music keeps you hooked. It’s one of those games where you feel so accomplished after clearing a tough stage.

Collapse
 
apkdev123 profile image
APkdeloper

yes, it's great! if you looking for an APK downloading website then visit Sitemise.com

Collapse
 
vikramvee profile image
Vikram Chaudhary

What motivated you to move from Windows to Ubuntu. How you are panning to use Ubuntu?

Collapse
 
faryalzuberi profile image
faryalzuberi

I have been using Ubuntu for quite some time actually, I recently acquired a new machine that was running Windows 10 and thought of having a go at installing it myself!

Collapse
 
alex1_a5f83e41d7dba41f1a8 profile image
alex1

Ever wondered what would happen if you could mix your favorite emojis? emojimix.online lets you create hilarious, weird, or just downright adorable combinations. I can lose track of time coming up with funny new emoji creations here.

Collapse
 
raniesantos profile image
Ranie Santos

Just going to mention Balena Etcher. Creates bootable flash drives and is available for all operating systems.