Что ставить для linux legacy или uefi
Перейти к содержимому

Что ставить для linux legacy или uefi

  • автор:

UEFI or Legacy? Which is advised and why?

While I know some facts about UEFI and Legacy and basic differences between them, like UEFI allowing for faster booting (I’ve checked this question already, but it doesn’t answer mine), I have a bit of a different question(s):

I’m not sure if BIOS settings can have any influence on how the system works and if legacy settings can be the cause of hardware misbehaving, but I usually install my Linux systems in legacy mode, with boot priority legacy first. Is it ok this way or should I change either the boot priority to UEFI first, or everything adjusted to UEFI (this Lenovo G50-45 laptop came with Windows 8).

Also, on my laptop quite a few things don’t work properly, whereas on Windows everything worked and I’m not sure where the fault lies. I only recall, that Windows wouldn’t install with legacy settings, I had to change boot priority to UEFI first to be able to install it (Win 7 Ultimate x64).

Currently on *ubuntu (any variant) 15.04 I have issues with microphone not working (distorted, very weak sound) and Xorg crashes my entire session with Libreoffice in k3.19+. Tested with many distributions.

So, to conclude, which one is recommended for a flawlessly working system? Do Linux distributions work better with Legacy, or UEFI? (if there is any difference in terms of functionality of the system)

SNH's user avatar

3 Answers 3

For most hardware, the boot mode (EFI vs. BIOS) is irrelevant. The drivers Linux loads are identical in either case, as should be the performance. The main caveat here is that the hardware may be initialized in different ways depending on your boot mode, and if the Linux drivers make assumptions about how the hardware is initialized, one way or the other may work better. This sometimes made booting one mode or the other (usually BIOS mode) preferable in the past, but this type of problem is becoming rather rare today. This type of issue mostly affected video hardware and drivers, but in principle it could affect anything.

In your specific case, my suspicion is that you’ve got «bleeding-edge» hardware with poor Linux support, or perhaps hardware that requires special configuration to work correctly in Linux. Your best bet is to post separate questions about each specific device that’s not working to your satisfaction. You can also test with both BIOS-mode and EFI-mode installations to determine empirically which one works better for you, since there is no way to accurately generalize which mode is best.

The correct answer to the question of which mode is best is: It depends. For instance:

  • If you’re dual-booting with an OS that’s already installed in one mode or the other, it’s almost always best to boot Ubuntu (or any other Linux) in the same boot mode as the one that’s already in use.
  • Using BIOS/CSM/legacy mode almost always complicates the boot process, as described in detail on this Web page of mine. The result is that enabling BIOS-mode booting makes problems more likely to crop up, especially if you’ve already got an EFI-mode OS installed.
  • Knowledge of BIOS-mode boot processes is more widespread, which can counter the preceding issue on a single-OS system.
  • As I’ve described, some hardware initialization issues can favor one boot mode or the other (usually BIOS mode is easier to get working). Such problems seem to be fading in frequency, though.
  • EFI-mode booting is usually a bit faster than BIOS-mode booting, although details differ from one OS to another.
  • Your choice of boot loaders is somewhat different. If you venture beyond the default GRUB, you might prefer something that’s available in only one boot mode. Currently, this would tend to favor EFI, since there are some EFI-specific boot managers (gummiboot, rEFIt, and rEFInd) with no BIOS counterparts; but AFAIK the only BIOS-specific boot program for Linux without an EFI port or workalike are BURG and LOADLIN, both of which are (AFAIK) abandoned.
  • Secure Boot (a UEFI-specific feature) can help you control your boot process, preventing unauthorized code from running. If you want to, and if you’re willing to put in the effort, you can even use Secure Boot to prevent Windows from running on your computer.
  • On some computers, GPT presents problems when booting in BIOS mode; but GPT is the standard for EFI. GPT offers some minor advantages on sub-2TiB disks, but is required on disks larger than that. (Assuming 512-byte logical sectors; but larger logical sectors are iffy for booting in BIOS mode, and are very rare on internal disks.)

If you need a more specific «BIOS» or «EFI» answer as to which you should use, you’ll have to provide much more specific information about your setup.

What is the Difference Between UEFI and Legacy?

If you have ever experimented with Operating Systems, hardware, and overclocking, you’ve probably heard of UEFI and Legacy. Knowing the meaning of the acronyms and what they stand for is not enough; you also have to know what they do and how they work.

This tutorial will discuss how your computer boots, what UEFI and Legacy are, and help you understand why one is better than the other at specific instances.

Let us get started!

How a Computer Boots?

Before diving deep into what UEFI and Legacy Boot modes are, let us discuss how a computer boots. Understanding this will help clear up some concepts.

When you turn on your computer, it powers on the CPU, the key computer component that processes commands or instructions.

However, at this stage of the boot-up process, there are no instructions loaded into the memory. As such, the CPU switches to the system firmware, which contains instructions for the boot process.

The firmware code performs a Power On Self Test (POST) initialization and sets up all the connected peripherals. Once the POST check is successful, the firmware loads the storage devices and checks for a boot loader. The firmware then switches the instructions to the bootloader to handle the boot process.

At this stage, the bootloader, such as LILO and GRUB, takes over, loads the system kernel in the memory, and initializes required processes.

As mentioned, the firmware helps handle hardware initialization during the boot-up process. This firmware is commonly known as BIOS or Basic Input Output System.

What is Legacy Boot?

Legacy Boot refers to the boot process used by the BIOS firmware to initialize hardware devices. The Legacy boot contains a selection of installed devices that get initialized as the computer performs the POST test during the boot process. The legacy boot will check for all connected devices for the Master Boot Record (MBR), usually in the first sector of a disk.

When it can’t find a bootloader in the devices, Legacy switches to the next device in the list and keeps repeating this process until it finds a bootloader, or if not, returns an error.

What is UEFI?

UEFI or Unified Extensible Firmware Interface is a modern way of handling the boot process. UEFI is similar to Legacy, however, it stores the boot data in a .efi file rather than the firmware.

You will often find UEFI boot mode in modern motherboards with very intuitive and user-friendly Interfaces. UEFI boot mode contains a special EFI partition that is used to store the .efi file and is used in the boot process and the bootloader.

Difference between UEFI and Legacy

At a base level, UEFI and Legacy are very similar. However, on a deeper level, they’re also different.

Since UEFI is a BIOS successor, it has better functionalities and features. The following are the differences between UEFI and Legacy:

UEFI BOOT MODE LEGACY BOOT MODE
UEFI provides a better User interface. Legacy Boot mode is traditional and very basic.
It uses the GPT partitioning scheme. Legacy uses the MBR partition scheme.
UEFI provides faster boot time. It is slower compared to UEFI.
Since UEFI uses the GPT partitioning scheme, it can support up to 9 zettabytes of storage devices. The MBR portioning scheme used by Legacy only supports up to 2 TB storage devices.
UEFI runs in 32-bit and 64-bit, allowing support for mouse and touch navigation. Legacy runs in 16-bit mode that only supports keyboard navigation.
It allows a secure boot that prevents the loading of unauthorized applications. It may also hinder dual boot because it treats operating systems (OS) as applications. It does not provide a secure boot method, which allows for the loading of unauthorized applications, making dual-booting possible.
It has an easier update process. It is more complex compared to UEFI.

Although UEFI may sound better than Legacy (and it is), it’s not always the best choice to use, and you may not need it.

In some cases, you may have to use Legacy, depending on the features you want. For example, if you want dual booting, UEFI can hinder this process.

Here are other scenarios where you might not need UEFI:

  1. Dual Booting process
  2. When you have less than 2 TB of storage device (stick to MBR)
  3. When your OS does not need to write code to interact with the hardware
  4. If you need a quick and simpler GUI that you can control with a keyboard.

Conclusion

We’ve discussed the main differences between UEFI and Legacy boot modes. Using the information provided in this guide, you can now be able to troubleshoot problems. For example, if a dual boot is not working, you can disable secure boot.

About the author

John Otieno

My name is John and am a fellow geek like you. I am passionate about all things computers from Hardware, Operating systems to Programming. My dream is to share my knowledge with the world and help out fellow geeks. Follow my content by subscribing to LinuxHint mailing list

Что ставить для linux legacy или uefi

Видео: UEFi или legasy BIOS что выбрать РЕШЕНО!

Содержание

главное отличие между UEFI и устаревшей загрузкой является то, что UEFI — это новейший метод загрузки компьютера, который предназначен для замены BIOS, тогда как устаревшая загрузка — это процесс загрузки компьютера с использованием микропрограммы BIOS.

UEFI — это новый метод загрузки, который учитывает ограничения BIOS. Он управляется группой производителей микросхем, аппаратного обеспечения, систем, прошивок и ОС под названием UEFI Forum. Legacy boot — это обычный метод загрузки системы с использованием BIOS. Вкратце, UEFI обеспечивает дополнительные функции безопасности и быструю обработку на компьютере. Он предлагает безопасную загрузку, которая позволяет избежать загрузки вирусов во время загрузки.

Ключевые области покрыты

1. Что такое UEFI
— определение, функциональность
2. Что такое Legacy Boot
— определение, функциональность
3. Разница между UEFI и Legacy Boot
— Сравнение основных различий

Основные условия

BIOS, Legacy Boot, UEFI

Что такое UEFI

UEFI выступает за Унифицированный расширяемый интерфейс встроенных микропрограмм, Большинство новых материнских плат состоят из этого нового типа. Это имеет больше преимуществ, чем использование BIOS. Самое главное, он предоставляет удобный графический интерфейс пользователя (GUI). BIOS предоставляет синий цвет экрана с различными вариантами. Обычный BIOS не может распознать большие накопители. UEFI предоставляет хорошую альтернативу этой проблеме и распознает большие накопители.

В обычном BIOS, который использует клавиатуру для выбора параметров, UEFI позволяет управлять интерфейсом с помощью мыши. Более того, UEFI содержит безопасную загрузку. Это предотвращает загрузку любых цифровых подписанных драйверов и помогает предотвратить любое вредоносное программное обеспечение. На некоторых компьютерах с UEFI пользователь может включить устаревший режим совместимости с BIOS.

Загрузка UEFI использует прошивку UEFI. Он поддерживает список допустимых загрузочных томов, называемых служебными разделами EFI. Во время самодиагностики при включении питания (POST), которая проверяет, работает ли все оборудование должным образом, прошивка UEFI сканирует все загрузочные устройства хранения, подключенные к системе, на предмет правильной таблицы разделов GUID (GPT). Сама прошивка проверяет GPT, чтобы найти раздел EFI для загрузки.

Что такое Legacy Boot

Legacy Boot — это процесс загрузки, используемый микропрограммой BIOS. В нем хранится список установленных загрузочных устройств, таких как дисководы гибких дисков, жесткие диски, оптические дисководы и т. Д., В соответствии с настраиваемым порядком приоритета. При включении компьютера BIOS выполняет самотестирование при включении питания (POST). Затем внутренний динамик издает короткий одиночный звуковой сигнал, чтобы указать, что загрузка нормальная. Звуковой код помогает идентифицировать код и принять меры по дальнейшему устранению неполадок.

Рисунок 1: BIOS

После завершения процедуры POST микропрограмма загружает первый сектор каждого целевого хранилища в память. Затем он сканирует его на наличие действительной основной загрузочной записи (MBR). Если найден правильный MBR, прошивка передает выполнение загрузчику, чтобы выбрать раздел для загрузки. Если он не найден, он переходит к следующему устройству в порядке загрузки.

Разница между UEFI и Legacy Boot

Определение

UEFI — это процесс загрузки на современных компьютерах, который предоставляет более широкие возможности, чем BIOS. Legacy Boot — это процесс загрузки компьютера с использованием прошивки BIOS. Это объясняет основное различие между UEFI и устаревшей загрузкой.

функциональность

Кроме того, UEFI использует встроенное ПО URFI, которое поддерживает список допустимых загрузочных томов, известных как разделы обслуживания EFI для процесса загрузки. Legacy boot использует прошивку BIOS для процесса загрузки.

Характеристики

Другое важное различие между UEFI и устаревшей загрузкой заключается в том, что UEFI имеет дополнительные функции безопасности и более эффективен, чем устаревшая загрузка.

Удобство для пользователя

Кроме того, UEFI более удобен для пользователя, чем устаревший Boot.

Проверка загрузочного хранилища

В то время как UEFI использует таблицу разделов GUID (GPT), BIOS использует схему разбиения основной загрузочной записи (MBR).

Заключение

Разница между UEFI и устаревшей загрузкой заключается в том, что UEFI — это новейший метод загрузки компьютера, который предназначен для замены BIOS, тогда как устаревшая загрузка — это процесс загрузки компьютера с использованием микропрограммы BIOS. Вкратце, UEFI является преемником BIOS.

Разница между Legacy BIOS и UEFI

Почему термины MBR и GPT связаны с Legacy BIOS и UEFI соответственно?

3 ответа

Более старый BIOS (базовая система ввода / вывода) и его современная замена UEFI (унифицированный расширяемый интерфейс микропрограмм) будет рассматриваться как «прошивка» вашего компьютера.

Они хранятся непосредственно на материнской плате и являются первым программным обеспечением, которое запускается на вашем компьютере, когда он включен. Их основная работа заключается в инициализации всего подключенного оборудования и загрузке с жесткого диска фактического загрузчика операционной системы (например, Ubuntu или Windows) (например, GRUB), который затем запускает ОС.

Большинство систем UEFI также поддерживают загрузку CSM (модуля поддержки совместимости), которая эмулирует устаревший интерфейс BIOS.

В то время как Legacy BIOS загружается просто и тупо, считывает и выполняет код с фиксированного адреса с диска (часть основной загрузочной записи), UEFI-загрузка ищет загрузочные файлы EFI в системном разделе EFI и выполняет один из них.

Более старая MBR (основная загрузочная запись) и более новая GPT (таблица разделов GUID; GUID = Global Unique Идентификатор) являются форматами таблицы разделов.

Ваш жесткий диск разбит на разделы в любом из этих двух форматов. Более старый формат MBR допускает только 4 основных раздела на всем диске (хотя один из них может использоваться как расширенный раздел и содержать много логических томов), тогда как GPT не имеет этого ограничения и также поддерживает диски большего размера.

Диски GPT с разделами могут также содержать гибридную MBR с загрузочным кодом, способным загружать файлы EFI для поддержки режимов загрузки как UEFI, так и Legacy BIOS.

Так почему же BIOS и MBR связаны друг с другом, а также UEFI с GPT?

Что ж, кроме того, что BIOS / MBR являются предками сегодняшнего современного UEFI / GPT, они также обычно используется вместе. Некоторые операционные системы (например, Windows) даже поддерживают загрузку MBR-дисков в режиме BIOS и GPT-дисков в режиме UEFI. Системы Linux, например, с У GRUB вообще нет проблем с их смешиванием.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *