How to change BIOS settings to boot Linux from Live CD / USB

One of the great steps to be interpose between the less experienced users and the use of other operating systems is usually the BIOS setting. plunge simple but critical y necesario for test e to install any distribution Linux.

General remarks

Once the live-cd or live-usb of your favorite distro has been created, it only remains to configure the BIOS so that the system boots from the corresponding drive.

As a brief explanation, let's say that when starting a computer, the first thing that is loaded is the BIOS (Basic Input / Output System), whose main objective is to execute routines that verify the correct operation of the hardware and later load the operating system. In other words, it's that screen you see before the operating system starts to load (be it Windows or any other).

What we must do to test and / or install Linux is to enter the BIOS configuration screen and tell it that instead of starting the operating system that is installed on the hard disk, start the one found on our live-cd or live-usb, as the case may be.

How to enter the BIOS setup screen

Unfortunately, there is no universal method to accomplish this task as each motherboard model comes with a specific BIOS and it would be impossible to document the full range of configuration managers. However, if we get carried away by intuition, the process is quite simple.

To do this, when you connect the equipment and as soon as the first messages begin to appear, you can press the «Pause» key to stop the boot process and see what appears on the screen with confidence. This must be done quickly since the mentioned messages are visible only a few seconds.

If you can't stop the startup process, just look carefully at the initial screen. At the bottom of this screen you will usually find a line similar to this: «Press F2 to enter SETUP». Of course, the key can be any other. The most common are: [DEL] or [Del], [Insert], [Esc], [F2], [F1], [F10] or any other function key.

Some newer BIOSes also allow you to select the boot device using another key, without accessing the BIOS setup page. This is because it is usually common to modify these settings and because in this way the user is prevented from making another modification by mistake. If the BIOS has this "shortcut", just use the arrows on the keyboard and select the corresponding boot device.

This "shortcut", however, only works for 1 start; the next time the operating system installed on the hard disk will boot. So, recapping, to make the change "permanently", or in the event that the BIOS does not have the aforementioned "shortcut", you have to press the corresponding key to enter the BIOS configuration screen, which may have a totally different aspect to the one shown here, but with similar characteristics and benefits.

Configure the boot drive

This is where we can only give general guidelines, since the BIOS setup screen varies from board to board. However, in general terms, you must find a tab similar to "Boot" or an entry called "Boot sequence" or "Boot priority" within a more "general" tab of the "Advanced BIOS Features" style.

At this point it is important to remember that this is where the sequence of boot. This means that we will establish a chain of priorities: first, that it tries to boot from the cd or the usb (depending on how we want to test our distro); if that fails, let it try to boot from the operating system installed on the hard drive, and so on.

The way to select the tabs or change the settings is very varied. Sometimes it is a matter of simply using the arrows, other times you have to use the PgUp and PgDn keys, etc. However, in a column on the right you will always find an explanatory table that indicates the steps to follow. At the bottom, for its part, appear the keys to press to perform the most common tasks. A rudimentary knowledge of English is enough to understand what to do.

Last but not least, save your changes and exit the setup program. To do this, you have to press the corresponding key (in the case of the previous screenshot, F10).

Old BIOS

Some older BIOSes do not come with support for booting from a USB drive. In that case, the best option is usually to use a live-CD to test your preferred Linux distro. However, it is also possible to force boot from USB (without corresponding BIOS support for this) using PLOP Boot Manager.

Other, older BIOSes don't even include support for booting from the CD-ROM drive. In that case, the natural alternative would be to use boot floppies, which only a few Linux mini-distros have available. Fortunately, if the machine has a CD reader, it is possible to boot from a live-cd, even if the BIOS does not support it, using Smart Boot Manager o PLOP Boot Manager.

UEFI and Secure Boot

This section only concerns those newer computers that come with UEFI installed rather than the now "out of date" BIOS. For reference, presumably all those that come with Windows 8 or higher have UEFI and Secure Boot enabled by default, since this is demanded by Microsoft in order for the hardware to be certified.

The Unified Extensible Firmware Interface (UEFI) is a specification that seeks to replace the old BIOS interface, which for many was too "eighty" and with a similar aspect to the old DOS. In addition, it incorporates several extra functionalities, which are not the objective of this article, among which the so-called "secure boot" or "secure boot" stands out.

Secure Boot prevents the computer from starting the operating system if the boot loader does not have a valid digital certificate, the product of arbitrary modification of malicious code. In this way, any bootkit type malware will not be able to work effectively.

However, the fact that Microsoft forced manufacturers to distribute their computers with this option enabled in order to obtain Windows 8 certification generated great stir. In particular, it is concerned that this feature serves the sole purpose of preventing users from starting an operating system other than Windows. In this case, the requirement is more of a restriction on users, not a security feature.

According to Microsoft, there are two "guarantees" that this will not happen. On the one hand, both UEFI (through a boot using a "BIOS compatible mode", also known as "Legacy Boot") and Secure Boot can be disabled. On the other hand, the authorization required by Secure Boot for a digital signature is issued by an independent authority, which is not the manufacturer or Microsoft.

The truth is that currently Linux distributions are just giving their first steps to run on UEFI and Secure Boot enabled machines.

In the current state of affairs, it is best to disable Secure Boot before installing Linux. Support for UEFI, on the other hand, is more developed, although it still has some flaws. In case of error, there will be no alternative but to choose the "Legacy Boot" and disable the UEFI.

Dual-boot Linux installation with Windows 8, which requires both UEFI and Secure Boot, is not recommended at this time. Currently, it is only possible - not without some headaches - using the latest versions of the most popular distributions - read Ubuntu 12.10, Fedora 18, etc. onwards.

Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Leo said

    Thank you very much for the tutorial, very complete. Many will do well.

    A note, to see if someone who knows a lot is encouraged and makes a tutorial of the most common options that we can find to fiddle with in the bios, and what each of them is for.

    1.    whoops said

      I'm one of those that suits you. I join the order !!!

  2.   cesarbogotano23 said

    what a good contribution it was a great help

  3.   Luis said

    Good day..

    and if it is an imac, how to configure it to start from cd?

    1.    let's use linux said

      The truth is that I have no idea but I suppose it also allows you to enter the bios and change that, right?
      Hug! Paul.

  4.   Nebuchadnezzar said

    OOOOOHHHHH !!!!!

  5.   Juan said

    I don't dare boot a linux live cd on my windows 8 pc
    I don't know what to do, help me please 🙁

    1.    let's use linux said

      Hello John!
      Note that detailed instructions on how to do it are given in the article.
      Once the BIOS is configured (as explained in the article) it is only necessary to copy the linux distro to the pendrive (using unetbootin or similar) and start the machine with the pendrive in place.
      Hug! Paul.

  6.   time said

    Too many useless "clarifications" - it seems that he wanted to show himself "how much he knows" and too little information and details to start a live cd, as he promised and he was interested in learning ... we will continue looking for sites that are a little more accessible for the common users ..

    1.    let's use linux said

      What do you think is missing? Could you be a little more specific?
      It is a subject that can only be dealt with in a general way because each BIOS is different.

      1.    guku said

        Greetings, grateful for the contribution, only that it is urgent for me to have Win and Canaima installed, since I have to work with applications that still do not come out for Canaima, the detail is that when I try to enter the Win installer the Canaima restarts, I have been told I must change an option in the bios, SATA control ... but it does not appear! What I can do??

  7.   oscar said

    Thank you very much!!

  8.   Miguel said

    Looking for information on Live CD in GNU / Linux I have found information that I find quite interesting to clear up doubts (especially for newbies like me). It is in the following link:
    http://www.linux-es.org/livecd
    Thank you very much for the article.

  9.   Nona said

    Hello! Thank you very much for the information, it seemed very complete and understandable. ….
    See you later greetings!

  10.   CentOS7 said

    Thank you very much! I worked with Legacy Bios and disabling the UEFI. Stability with CentOS7.

  11.   chaki said

    Someone already installed Linux on dell inspiron with Bios A05

  12.   Martin said

    One question, to install linux on the disk, from usb, you have to change the boot disk (the usb instead of the hard disk) from the bios or in my case from the UEFI, I already made all the required changes and installed linux the Safe UEFI programmed so that the boot disk is the usb or it will be changed to boot with the hard disk, because I also have win 8 installed from the factory, and I can only enter the UEFI from windows and make all the modifications, also, I do not know it linux iso (the one I'm about to install is an ubuntu 16.4.1) will come with the multi-starter, to choose whether to start window or ubuntu

  13.   Enrique Romero said

    See… I am trying to install windows 7 from usb on a laptop with UEFI. I enter it and configure the boot device in addition to deactivating the UEFI Boot and activating the Legacy boot. It perfectly recognizes the usb memory that the operating system contains but does not boot from it at any time. In the boot option window I select the memory and it stays for a moment with the black screen and the laptop restarts and I have not been able to start the installation program ... I also tried a Linux distribution, which I could not say what it is but in the name we can find something like Debia and 4.1 that I have used before and installed without problems on other computers. The fact is that in this model of laptops that I have already come across several it does not let me start from the cd I have solved by installing the operating system in another similar one and passing the disk to the original one but I would like to know if there is any way to solve this small I have a problem ... if someone knows how to solve this and takes the trouble to read my comment I would really appreciate it

    The "Bios" says above Phoenix securecore

  14.   Ana said

    Hello, I bought a toshiba satllite NB10t-AF with windows 8. The warranty has expired and I have tried to install ubuntu. Impossible. I have removed the secure boot ... I have installed ubuntu from a pen with the partitions I wanted .. Result. when finishing installing, reboot fine, ubuntu works. I turn off. I turn on fire and it no longer goes.
    checking media presence- ...
    no media presence ...
    (and then) reboot and select proper boot device or insert boot media in selected boot device and press a key
    and it is impossible to get out of there.
    if it recognizes the pen, I can use the operating system from the pen, but it is as if it does not recognize it on the hard disk. any ideas?

  15.   samir said

    Can someone help me I try to install linux canaima on my pc with win 7 and when installing canaima appears «start canaima» and I give there and after a few seconds the pc restarts again? some solution please….