Technical News and Knowledge Base Articles along with How to Step by Step Guides for SMB and Enterprise

Guide to Installing Ubuntu 24.04 on a Modern Laptop

Installing Ubuntu 24.04 on a modern laptop involves several detailed steps. This guide will cover everything from preparing your system to securing your installation with encryption and UEFI security. Follow these instructions carefully to ensure a smooth and secure installation process.

1. Preparation

System Requirements:

  • Processor: 2 GHz dual-core processor or better.
  • Memory: 4 GB RAM minimum (8 GB recommended).
  • Storage: 25 GB of free disk space (50 GB recommended).
  • Internet Connection: Optional, but useful for downloading updates during installation.

Backup Your Data:
Before starting, back up all important data. Installation can lead to data loss if not performed carefully.

Download Ubuntu 24.04:

  1. Visit the official Ubuntu website.
  2. Download the latest Ubuntu 24.04 LTS ISO file.

Create a Bootable USB Drive:

  1. Download and install a tool like Rufus (for Windows) or use the dd command (for Linux/Mac).
  2. Insert a USB drive (at least 4 GB).
  3. Use Rufus or the dd command to create a bootable USB drive with the downloaded ISO file.

Rufus Instructions:

  • Open Rufus.
  • Select your USB drive.
  • Click “SELECT” and choose the Ubuntu ISO file.
  • Ensure the “Partition scheme” is set to GPT for UEFI.
  • Click “START” to create the bootable USB drive.

dd Command (Linux/Mac):

sudo dd if=/path/to/ubuntu-24.04.iso of=/dev/sdX bs=4M status=progress && sync

Replace /path/to/ubuntu-24.04.iso with the path to your ISO file and /dev/sdX with your USB drive (be very careful with this step).

2. BIOS/UEFI Configuration


  1. Restart your laptop.
  2. Press the BIOS/UEFI access key during boot (commonly F2, F10, DEL, or ESC).

Disable Secure Boot:

  1. Navigate to the Security tab.
  2. Disable Secure Boot.

Enable UEFI Boot Mode:

  1. Navigate to the Boot tab.
  2. Ensure UEFI is selected as the boot mode.

Save and Exit:
Save your changes and exit BIOS/UEFI.

3. Installing Ubuntu 24.04

Boot from USB:

  1. Insert the bootable USB drive into your laptop.
  2. Restart the laptop and boot from the USB drive (you may need to press a key like F12 to access the boot menu).

Start the Installation:

  1. Select “Install Ubuntu” from the boot menu.
  2. Choose your language and click “Continue.”

Prepare for Installation:

  1. Connect to the internet if possible.
  2. Check both “Download updates while installing Ubuntu” and “Install third-party software for graphics and Wi-Fi hardware, Flash, MP3 and other media.”
  3. Click “Continue.”

Disk Setup:

  1. Choose your installation type:
  • Erase disk and install Ubuntu: This will delete all data on the selected disk.
  • Something else: For custom partitioning.
  1. For a new installation, select “Erase disk and install Ubuntu.”

Encryption (Optional but Recommended):

  1. If you chose “Erase disk and install Ubuntu,” check “Encrypt the new Ubuntu installation for security.”
  2. Set a strong security key when prompted.

Advanced Partitioning (Optional):
If you selected “Something else,” create the following partitions:

  1. EFI System Partition (ESP): 500 MB, FAT32, mount point /boot/efi.
  2. Root Partition (/): Minimum 25 GB, ext4.
  3. Swap Partition: Equal to your RAM size if you intend to use hibernation, otherwise half the RAM size.
  4. Home Partition (/home): The remaining space, ext4.

Final Steps:

  1. Click “Install Now.”
  2. Review the changes and confirm by clicking “Continue.”

Set Up User Account:

  1. Choose your time zone.
  2. Enter your name, computer name, username, and password.
  3. Choose whether to require a password to log in and encrypt your home folder.

Complete Installation:

  1. The installation process will begin.
  2. Once completed, remove the USB drive when prompted.
  3. Restart your laptop.

4. Post-Installation Setup

First Boot:

  1. Enter your password and log in.
  2. Follow any on-screen prompts to complete the setup.

Install Updates:

  1. Open Terminal (Ctrl + Alt + T).
  2. Update your package list:
   sudo apt update
  1. Upgrade installed packages:
   sudo apt upgrade

Install Essential Software:

  1. Install build essentials:
   sudo apt install build-essential
  1. Install additional software as needed (e.g., VLC, GIMP, etc.).

Set Up Firewall:

  1. Enable UFW (Uncomplicated Firewall):
   sudo ufw enable
  1. Allow SSH (if needed):
   sudo ufw allow ssh

Configure Backups:

  1. Set up automatic backups using tools like Deja Dup (pre-installed on Ubuntu).

Optimize System Performance:

  1. Install TLP for power management:
   sudo apt install tlp
   sudo tlp start
  1. Reduce boot time by disabling unnecessary startup applications.

UEFI Secure Boot (Re-enable):

  1. If you disabled Secure Boot, consider re-enabling it after the installation for added security.

Encrypt Sensitive Directories:

  1. Use eCryptfs to encrypt directories like /home or any other sensitive directory.

Check for Proprietary Drivers:

  1. Go to “Software & Updates” > “Additional Drivers.”
  2. Install any recommended proprietary drivers for better hardware performance.

5. Additional Tips and Tricks

Dual Booting:

  • If you plan to dual boot with Windows, ensure you install Windows first and then Ubuntu to avoid bootloader issues.


Using Snap and Flatpak:

  • Ubuntu supports Snap packages by default. To use Flatpak:
  sudo apt install flatpak

Enhancing Privacy:

  • Consider using privacy-focused tools and services like a VPN, encrypted messaging apps, and secure browsers.

Learning Resources:

  • Explore Ubuntu’s official documentation and community forums to learn more and get support.

By following these steps, you can ensure a secure, optimized, and efficient installation of Ubuntu 24.04 on your modern laptop. Enjoy the flexibility and power of Ubuntu!



, , ,