In this article, we will guide you on how to install Ubuntu 14.04.6 using a USB flash drive, especially when you don't have internet access on your desktop and can't access any other devices. We will use GRUB2 to boot from the USB drive and install Ubuntu without an internet connection.
Prerequisites
- A USB flash drive with at least 4 GB of storage.
- A Windows 10 system (or another operating system with a working GRUB2 bootloader).
- Ubuntu 14.04.6 ISO file.
Step 1: Create a Bootable USB Drive
- Download the Ubuntu 14.04.6 ISO file from official website.
- Install Rufus on your Windows 10 system (download Rufus).
- Run Rufus, select the USB flash drive, and choose the Ubuntu 14.04.6 ISO file.
- Click "Start" to create a bootable USB drive.
Step 2: Boot from the USB Drive
- Restart your system and enter the BIOS settings.
- Change the boot order to prioritize the USB drive.
- Save the changes and exit the BIOS settings.
- Your system should now boot from the USB drive.
Step 3: Install Ubuntu 14.04.6
- Once the Ubuntu live environment loads, select the language and click "Continue."
- Choose the "Install Ubuntu" option.
- Select "Install Ubuntu" again when prompted.
- Choose "Install third-party software for graphics and Wi-Fi hardware, Flash, MP3, and other media" if needed.
- Click "Continue" to proceed without connecting to the internet.
- Select the disk where you want to install Ubuntu and click "Install Now."
- Follow the on-screen instructions to complete the installation.
Step 4: Install GRUB2
- After installing Ubuntu, restart your system and remove the USB drive.
- Enter the BIOS settings again and change the boot order to prioritize the hard drive where Ubuntu is installed.
- Save the changes and exit the BIOS settings.
- Your system should now boot into Ubuntu.
- Install GRUB2 on the hard drive using the following command in the terminal:
sudo grub-install /dev/sda
Replace /dev/sda with your hard drive's device path if needed.
Step 5: Configure GRUB2
- Edit the GRUB2 configuration file using the following command:
sudo nano /etc/default/grub
- Change the
GRUB_CMDLINE_LINUX_DEFAULTline to include the following parameters:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
- Save the changes and exit the editor.
- Update the GRUB2 configuration using the following command:
sudo update-grub
- Reboot your system.
Now, you have successfully installed Ubuntu 14.04.6 using a USB flash drive without an internet connection.