Software & AppsOperating SystemLinux

How To Install Ubuntu using EFI Shell without Boot Mode in BIOS

Ubuntu 17

In this tutorial, we will walk through the process of installing Ubuntu using the EFI shell without the boot mode in BIOS. This can be particularly useful if you are unable to access the boot mode due to a BIOS issue or if you wish to manually control the boot process.

What is EFI Shell?

The EFI shell is a command-line interface used in the UEFI firmware that allows users to access and manage files and system settings. It is similar to the command prompt in Windows or the terminal in Linux.

Accessing the EFI Shell

Before we begin, we need to access the EFI shell. Start by booting your computer and entering the UEFI firmware settings. This can usually be done by pressing a specific key (such as F2, F10, or Del) during the boot process. If you are unable to find the EFI shell, consult your computer’s manual or look for it in the BIOS settings.

Identifying the Storage Device

Once in the EFI shell, type mount to view the detected storage devices. This command provides basic information about the devices, including their identification names and types.

Shell> mount

The output will list the devices in the format “blkX”, where X is a number. This number corresponds to the order in which the devices were detected. Identify your disk based on the information provided.

Mounting the File System

After identifying the storage device, use the mount command followed by the device name to mount the file system of the first partition of your disk.

Shell> mount blk0 fs0:

In this command, blk0 is the name of the device and fs0: is the name you are assigning to the mounted file system.

Next, use the ls command to list the files in the mounted file system.

Shell> fs0:
Shell> ls

Locating the GRUB File

Look for the “EFI” directory in the file list. If it is present, navigate to “EFI/grub” using the cd command and list the files in the directory.

Shell> cd EFI\grub
Shell> ls

You should find a file named “grubx64.efi”. If it is not in the “grub” directory, try checking the “EFI/Boot” directory.

Starting GRUB

Once you have located the “grubx64.efi” file, type the path to the file and press enter to start GRUB.

Shell> EFI\grub\grubx64.efi

If you have secure boot enabled, you may need to look for the “shim.efi” file instead. If necessary, add “grubx64.efi” to the allowed executables in SecureBoot.

Exiting the EFI Shell

If you are unable to find the necessary files or encounter errors, you can exit the EFI shell by typing exit and pressing enter. This will allow the system to boot up as usual.

Shell> exit

Conclusion

This guide provides a step-by-step process for installing Ubuntu using the EFI shell without the boot mode in BIOS. Please note that the instructions provided here may vary depending on your specific system configuration. Always consult official documentation or seek assistance from experienced users if you encounter any difficulties during the installation process.

Remember, the EFI shell is a powerful tool that allows you to manage and configure your system at a very low level. Use it with caution to avoid causing damage to your system.

Can I use this method to install Ubuntu on any computer?

This method can be used to install Ubuntu on computers that have UEFI firmware and support the EFI shell. However, please note that the exact steps may vary depending on your specific system configuration.

How do I access the UEFI firmware settings?

To access the UEFI firmware settings, restart your computer and look for a specific key to press during the boot process. Common keys include F2, F10, or Del. Consult your computer’s manual or search online for the specific key to access the UEFI firmware settings on your computer.

What should I do if I can’t find the EFI shell in the UEFI firmware settings?

If you are unable to find the EFI shell in the UEFI firmware settings, consult your computer’s manual or search online for instructions specific to your computer model. It is also possible that your computer does not support the EFI shell.

Can I use this method to install other operating systems?

This method is specifically tailored for installing Ubuntu using the EFI shell. While you may be able to adapt the steps for other operating systems, it is recommended to consult official documentation or seek assistance from experienced users for the specific operating system you wish to install.

What should I do if I encounter errors during the installation process?

If you encounter errors during the installation process, double-check that you have followed the steps correctly. If the errors persist, consult official documentation or seek assistance from experienced users who are familiar with the EFI shell and Ubuntu installation.

Leave a Comment

Your email address will not be published. Required fields are marked *