Kokil Thapa - Professional Web Developer in Nepal
Freelancer Web Developer in Nepal with 15+ Years of Experience

Kokil Thapa is an experienced full-stack web developer focused on building fast, secure, and scalable web applications. He helps businesses and individuals create SEO-friendly, user-focused digital platforms designed for long-term growth.

Ubuntu Installation Guide for Beginners

By Kokil Thapa | Last reviewed: September 2026

Your PC still boots Windows, but you want a clean Linux desktop or a home lab server without breaking the machine. An Ubuntu Installation Guide for Beginners should take you from download to a working login screen with clear checkpoints, not vague advice. Ubuntu 24.04 LTS and 22.04 LTS remain the sensible starting points in 2026 because both receive security updates and ship predictable installers. This walkthrough covers hardware checks, a bootable USB, the graphical installer, disk choices, and the first-hour tasks I run on every fresh Ubuntu box — whether it is a student laptop in Kathmandu or a VPS you will later use for Laravel on Ubuntu with Nginx.

What hardware and files do you need before installing Ubuntu?

Start with a machine that meets Ubuntu’s published minimums. Canonical recommends 2 GB RAM and 25 GB disk for Desktop; in practice, 8 GB RAM and 50 GB free space feel comfortable for daily use and updates. A 64-bit CPU with UEFI firmware is standard on laptops sold after 2012. If Secure Boot stays enabled, modern Ubuntu kernels usually boot without extra steps.

Gather these items before you touch the installer:

  • A blank USB drive of 8 GB or larger (16 GB is safer).
  • A stable internet connection for downloads and post-install updates.
  • A backup of personal files if you plan to repartition an existing Windows disk.
  • Your Wi-Fi password, because some chipsets need a cable until drivers load.

Pick your edition deliberately. Ubuntu Desktop includes GNOME and suits browsers, office work, and local development. Ubuntu Server is command-line only and fits web stacks you will harden with guides like initial Ubuntu server setup in 20 minutes. For a first Linux install on daily hardware, choose Desktop unless you already live in SSH.

Pre-Install ChecklistCheck RAM8 GB idealFree Disk50 GB+ freeBackup DataPhotos, docsDownload ISOubuntu.com/downloadFlash USBBalena EtcherBoot from USBF12 or Esc at startup
Ubuntu installation guide for beginners — hardware checks, ISO download, and USB boot sequence before the installer starts.

Download the correct Ubuntu ISO

Fetch the image from the official site at ubuntu.com/download/desktop. Choose the latest LTS unless you need a specific hardware enablement stack. Verify the SHA256 checksum when your connection is flaky or the file came from a mirror.

sha256sum ubuntu-24.04.3-desktop-amd64.iso
# Compare output with the hash published on the download page

On Windows, use PowerShell: Get-FileHash .\ubuntu-24.04.3-desktop-amd64.iso -Algorithm SHA256. A mismatch means re-download; do not flash a corrupted ISO.

How do you create a bootable Ubuntu USB on Windows, macOS, or Linux?

The installer lives on a USB stick. You need a tool that writes the ISO byte-for-byte and marks the partition bootable. Balena Etcher, Rufus, and Ventoy are the three I recommend to clients who ask for a safe default.

ToolPlatformBest forNotes
Balena EtcherWindows, macOS, LinuxFirst-time usersThree-click UI, validates write
RufusWindowsUEFI + GPT disksPick “GPT” and “UEFI” for modern PCs
dd (terminal)Linux, macOSAdvanced usersTriple-check the device path

Flash the USB with Etcher (all platforms)

  1. Install Balena Etcher and insert your USB drive.
  2. Select the Ubuntu ISO file you downloaded.
  3. Select the USB target — confirm the drive letter or /dev/sdX path.
  4. Click Flash and wait until validation completes.

Flash from an existing Linux machine

If you already run Linux, dd works but punishes wrong targets. List block devices first:

lsblk -o NAME,SIZE,MODEL,MOUNTPOINT
sudo dd if=ubuntu-24.04.3-desktop-amd64.iso of=/dev/sdX bs=4M status=progress conv=fsync
sudo sync

Replace /dev/sdX with your USB device — never your system disk. Unplug other removable drives while you run this command.

What are the step-by-step instructions to install Ubuntu from USB?

Insert the USB, power on, and open the one-time boot menu. Common keys are F12, F2, Esc, or F10 depending on the vendor. Select the USB entry labeled “UEFI: …” rather than legacy BIOS when both appear. The Ubuntu live environment loads; choose Try or Install Ubuntu on Desktop editions.

Ubuntu Installer WizardLanguageKeyboardUpdatesInstall typeDisk PartitioningErase disk, dual-boot, or manual layoutUser accountName + passwordCopy files15–30 minutesRebootRemove USB
Core installer screens in an Ubuntu installation guide for beginners — language, disk layout, user creation, and reboot.

Walk through the installer screens

The graphical installer on Desktop is linear. Expect these decisions:

  1. Language and keyboard — pick English or Nepali layout if you type Devanagari often; you can add layouts later in Settings.
  2. Updates and third-party software — tick both boxes on a home PC. Proprietary Wi-Fi and media codecs save hours of manual driver hunting.
  3. Installation type — see the partitioning section below; this is where beginners cause the most damage.
  4. Where you are — set timezone to Asia/Kathmandu if you are in Nepal; it affects log timestamps and cron jobs.
  5. Your account — create a strong password. Enable automatic login only on a physically secure machine.
  6. Wait for file copy — the progress bar copies the squashfs image and configures GRUB.
  7. Reboot — remove the USB when prompted. The first boot may take longer while systemd builds caches.

Official screen-by-screen help lives in the Ubuntu Installation Guide on help.ubuntu.com. Bookmark it when something on your hardware looks different from YouTube tutorials filmed three years ago.

Which disk partitioning option should beginners choose?

Partitioning decides whether Windows survives and how much room Linux gets. The installer offers four common paths. Read the labels carefully before you click Continue.

  • Install Ubuntu alongside Windows — safest dual-boot path. Ubuntu shrinks the NTFS partition and creates its own ext4 root. Keep 30 GB minimum for root; 50 GB is better if you will install IDEs and Docker.
  • Erase disk and install Ubuntu — wipes the entire drive. Use this on a spare laptop or after a full backup.
  • Something else (manual) — for custom layouts. Typical scheme: 512 MB EFI System Partition, ext4 mounted at /, optional separate /home, and swap or a swap file.
  • Encrypt the new Ubuntu installation — LUKS full-disk encryption. Pick a recovery passphrase you will not forget; lost keys mean lost data.

On UEFI systems, an EFI System Partition (ESP) must exist and mount at /boot/efi. If you dual-boot, reuse the existing ESP instead of creating a second one. I have repaired boot entries more than once because a second ESP confused firmware.

Install Type DecisionDual-BootKeep Windows + UbuntuErase DiskSingle OS, full driveEncryptLUKS at install timeRisk CheckBackup before erase or shrinkBeginners: Dual-Boot or EraseAvoid manual unless guided
Choosing install type during an Ubuntu installation — dual-boot, full erase, or encryption with a backup checkpoint first.

Disable Windows Fast Startup before you shrink an NTFS volume. Fast Startup hibernates the partition and can block safe resizing. In Windows, open Power Options, choose what the power buttons do, and uncheck Turn on fast startup.

How do you finish Ubuntu setup after the first reboot?

The desktop appears, but the system is not production-ready yet. Run updates first. Open Terminal with Ctrl+Alt+T and apply patches:

sudo apt update
sudo apt upgrade -y
sudo reboot

Install missing firmware if Wi-Fi or Bluetooth fails. On many Intel/Realtek laptops:

sudo apt install linux-firmware
sudo reboot

Enable the Ubuntu Pro or standard security repository if your org requires extended maintenance. For a home developer box, the default LTS archive is enough until you outgrow it.

Essential first-hour tasks

These steps mirror what I run after provisioning servers for client projects, scaled down for a laptop:

  1. Create a separate admin habit — use sudo for system tasks, not daily browsing.
  2. Install build tools if you compile PHP extensions or Node native modules: sudo apt install build-essential git curl.
  3. Set up SSH keys if this machine will push to GitLab: ssh-keygen -t ed25519 -C "your_email".
  4. Configure a firewall on any machine exposed to LAN guests: follow UFW firewall setup on Ubuntu.
  5. Install your stack — PHP 8.3+, MySQL 9.7 or MariaDB 12.3, Nginx, or Docker — using dedicated guides like install PHP on Ubuntu and install Docker on Ubuntu.

If this PC will host a small business site, pair the OS install with Linux system administration planning early. Disk layout, backup cron jobs, and monitoring matter as much as the desktop wallpaper.

For Nepali-language content workflows, add the IBus Mozc or Unicode input method and bookmark the Nepali Unicode converter for quick tests. Date fields on internal tools often need Bikram Sambat support — the Nepali date converter helps validate what your app should store.

Install Ubuntu Server instead of Desktop

Server ISOs skip GNOME and start at a text installer. You pick OpenSSH during setup so you can SSH from another machine. After install, harden immediately: create a non-root user, disable root login, and apply Ubuntu security hardening. Production Laravel stacks on VPS hosts follow the same pattern I document in Ubuntu server setup for PHP apps.

First Boot Workflowapt updatePatch systemDriversWi-Fi firmwareDev toolsgit, curl, buildSSH keysGitLab, GitHubStack installPHP, Nginx, MySQLSecurityUFW, updates, fail2banProduction-ready Ubuntu hostBackups + monitoring next
After following an Ubuntu installation guide for beginners — update, drivers, dev tools, stack install, and security hardening.

What common Ubuntu installation mistakes do beginners make?

Most failed installs are predictable. Avoid these and you save an afternoon of recovery.

  • Flashing the ISO to the wrong disk — always confirm /dev/sdX or the Windows drive letter. Data loss here is permanent.
  • Skipping backups before “Erase disk” — photos and browser bookmarks do not survive a wiped NTFS partition.
  • Booting legacy BIOS mode on UEFI hardware — you get an unbootable GRUB entry or a missing OS in firmware. Pick UEFI entries in the boot menu.
  • Installing without internet — language packs and HWE kernels may stay incomplete until you run apt update later.
  • Weak passwords on encrypted volumes — LUKS is only as strong as the passphrase you type at every cold boot.
  • Forgetting to remove the USB before reboot loop — the installer starts again and confuses first-time users.

If GRUB does not list Windows after a dual-boot install, run sudo update-grub from Ubuntu. Windows may have overwritten the boot loader during a Feature Update; repair guides in Ubuntu Desktop complete guide cover os-prober settings.

When performance feels sluggish on older hardware, trim startup apps and read speed up Ubuntu performance. When updates fail, check Ubuntu security updates before you disable repositories.

On production VPS instances I maintain for legal-tech and booking platforms like Adventure Third Pole Trek, the install is only day zero. Backups, log rotation, and Ubuntu server backup strategies come next. Treat your home lab the same way if it holds client data.

Generate strong service passwords with the password generator instead of reusing your login passphrase for MySQL root or admin panels. Store secrets in a manager, not a plain-text note on the desktop.

Need hosting after the OS is stable? Map domain DNS and TLS through domain registration and hosting before you point traffic at a half-configured box.

Key Takeaways

  • Download Ubuntu LTS from ubuntu.com, verify the SHA256 hash, and flash with Etcher or Rufus before you reboot.
  • Use “Install alongside Windows” for dual-boot; use “Erase disk” only after a verified backup.
  • Enable third-party drivers during install so Wi-Fi and media codecs work on first boot.
  • Run sudo apt update && sudo apt upgrade immediately, then install firmware, git, and your dev stack.
  • Harden SSH, UFW, and automatic security updates before exposing the machine to the internet.
  • Treat post-install backups and monitoring as part of the install — not optional extras.

People Also Ask

Can I install Ubuntu without replacing Windows?

Yes. Choose “Install Ubuntu alongside Windows Boot Manager” during setup. Ubuntu shrinks your Windows partition and adds GRUB so you pick an OS at startup. Disable Windows Fast Startup first, and keep at least 30 GB free for a usable Linux root partition.

How long does Ubuntu installation take?

On modern hardware with an SSD, expect 15 to 30 minutes after the USB boots. Copy time depends on USB 2.0 versus 3.0 speed and whether you download updates during install. First boot adds a few more minutes while services initialise.

Is Ubuntu free to install and use?

Ubuntu Desktop and Server are free to download and use under open-source licenses. Canonical sells optional support through Ubuntu Pro, but home users and most developers never need a paid subscription for security patches on LTS releases.

What is the difference between Ubuntu LTS and interim releases?

LTS versions receive five years of standard security maintenance for Desktop and Server. Interim releases ship new features every six months but are supported for nine months only. Beginners should install the latest LTS unless they need bleeding-edge hardware support.

Next steps after your Ubuntu install

You now have a supported Linux base for local development, a home server, or a staging VM. The Ubuntu Installation Guide for Beginners ends at login — your real workflow starts with packages, users, and firewall rules. Continue with essential Ubuntu terminal commands, Ubuntu file permissions, and Nginx on Ubuntu when you move toward a public site. If you want a production VPS configured without trial-and-error partitioning, contact us for a hardened Ubuntu setup tailored to PHP, Laravel, or WordPress workloads.

Frequently Asked Questions

Canonical lists 2 GB RAM and 25 GB disk as minimums for Ubuntu Desktop, but 8 GB RAM and 50 GB free space feel comfortable for daily use, updates, and local development. You need a 64-bit CPU with UEFI firmware, an 8 GB or larger USB drive (16 GB is safer), a stable internet connection, a backup of personal files if repartitioning Windows, and your Wi-Fi password because some chipsets need Ethernet until drivers load after first boot.

Fetch Ubuntu Desktop LTS from ubuntu.com/download/desktop. The article uses ubuntu-24.04.3-desktop-amd64.iso as an example. On Linux, run sha256sum on the file and compare the output with the hash published on the download page. On Windows, use PowerShell: Get-FileHash with Algorithm SHA256. If the checksum does not match, re-download the ISO. Do not flash a corrupted image to your USB drive.

Balena Etcher, Rufus, and Ventoy are the three tools the article recommends. Etcher suits first-time users on all platforms with a three-click UI and write validation. On Windows with UEFI and GPT disks, Rufus works well when you pick GPT and UEFI. On Linux or macOS, dd is an advanced option, but you must list devices with lsblk first and triple-check /dev/sdX so you never target your system disk.

Insert the flashed USB, power on, and open the one-time boot menu. Common keys are F12, F2, Esc, or F10 depending on your vendor. Select the USB entry labeled UEFI rather than legacy BIOS when both appear. The live environment loads; on Desktop editions choose Try or Install Ubuntu. Walk through language, keyboard, updates, disk layout, timezone, and account creation, wait for file copy, then reboot and remove the USB when prompted.

Yes. Choose Install Ubuntu alongside Windows during setup. Ubuntu shrinks the Windows partition and adds GRUB so you pick an OS at startup. Disable Windows Fast Startup first and keep at least 30 GB free for Linux.

Install Ubuntu alongside Windows is the safest dual-boot path; keep 30 GB minimum for root, 50 GB is better if you will install IDEs and Docker. Erase disk and install Ubuntu wipes the entire drive and suits spare laptops only after a verified backup. Encrypt the new Ubuntu installation adds LUKS full-disk encryption with a recovery passphrase you must not forget. Manual partitioning is for custom layouts with a 512 MB EFI System Partition on UEFI systems.

On modern hardware with an SSD, expect 15 to 30 minutes after the USB boots. Copy time depends on USB 2.0 versus 3.0 speed and whether you download updates during install. First boot adds a few more minutes while systemd builds caches and services initialise.

Yes. Ubuntu Desktop and Server are free under open-source licenses. Canonical sells optional Ubuntu Pro support, but home users and most developers do not need a paid subscription for LTS security patches.

LTS versions such as Ubuntu 24.04 and 22.04 receive five years of standard security maintenance for Desktop and Server, which is why the article calls them sensible starting points in 2026. Interim releases ship new features every six months but are supported for only nine months. Beginners should install the latest LTS unless they need a specific hardware enablement stack from a newer release.

Ubuntu Desktop includes GNOME and suits browsers, office work, and local development on daily hardware. Ubuntu Server is command-line only and fits web stacks you will later harden with SSH and security guides. For a first Linux install on a laptop you actually sit at, choose Desktop unless you already work entirely through SSH. Server ISOs skip GNOME, use a text installer, and let you enable OpenSSH during setup.

Open Terminal with Ctrl+Alt+T and run sudo apt update, sudo apt upgrade -y, then reboot. If Wi-Fi or Bluetooth fails, install linux-firmware and reboot again. Install build-essential, git, and curl if you compile extensions or push to GitLab. Generate SSH keys with ssh-keygen -t ed25519 if needed. Configure UFW on any machine exposed to LAN guests, and install your dev stack only after the base system is patched and stable.

During install, tick both Updates and third-party software boxes on a home PC. Proprietary Wi-Fi and media codecs save hours of manual driver hunting. If wireless still fails after first boot, connect by Ethernet temporarily, run sudo apt install linux-firmware, reboot, and retry. Keep your Wi-Fi password handy before you start because some chipsets need a cable until firmware packages load.

Full-disk encryption with LUKS is offered as Encrypt the new Ubuntu installation during setup. It protects data if the laptop is lost or stolen, but you must type a recovery passphrase at every cold boot and lost keys mean lost data. Pick a strong passphrase separate from your daily login password. Enable it on portable machines with sensitive files; skip it on a home desktop that never leaves the house if convenience matters more.

Flashing the ISO to the wrong disk causes permanent data loss, so always confirm the drive letter or /dev/sdX path. Skipping backups before Erase disk wipes photos and bookmarks. Booting legacy BIOS mode on UEFI hardware yields an unbootable GRUB entry; pick UEFI in the boot menu. Installing without internet leaves language packs incomplete. Weak LUKS passphrases undermine encryption. Forgetting to remove the USB before reboot sends you back into the installer and confuses first-time users.

Boot into Ubuntu and run sudo update-grub so the installer rescans for other operating systems. If Windows still missing, Windows may have overwritten the boot loader during a Feature Update. Check os-prober settings as described in Ubuntu Desktop complete guide documentation. Before dual-booting, disable Windows Fast Startup under Power Options so NTFS shrinking stays safe. Reuse the existing EFI System Partition instead of creating a second one, which can confuse firmware boot entries.

Share this article

0 Comments

Leave a comment

Your email is not published. Comments appear once they have been read. Sign in to have your details filled in.

Quick Contact Options
Choose how you want to connect me: