Difference between revisions of "User:Megavolt/bootloaders"

m
 
Line 2: Line 2:
__TOC__
__TOC__


==Overview==
In order to load the operating system a boot loader is needed. There is not only one boot loader, but many of them which have its benefits and disadvantages.
In order to load the operating system a boot loader is needed. There is not only one boot loader, but many of them which have its benefits and disadvantages.
Common boot loaders are:
* GRUB
* systemd-boot
* rEFInd
* Syslinux


It depends on the computer which boot loader can or should be used. In general there are 2 system: UEFI/EFI and BIOS, while UEFI/EFI has commonly also a legacy mode which is fully compatible with a pure BIOS.
It depends on the computer which boot loader can or should be used. In general there are 2 system: UEFI/EFI and BIOS, while UEFI/EFI has commonly also a legacy mode which is fully compatible with a pure BIOS.


<!--
=== BIOS/Legacy ===
* [[grub]]
*[[syslinux]]


For various reasons - it happens the bootloader get's corrupted, erased or misconfigured resulting to a black screen with a failure message during boot, like '''No boot loaders found in /dev/...'''. To restore system operation without re-installing your OS or losing your data you will need to use your Manjaro installation media, such as, a CD/DVD or USB Flashdrive.
=== EFI ===
{{BoxSecondary|Archlinux Boot Process|More information about the boot process on Archlinux based distributions is available at [https://wiki.archlinux.org/index.php/Arch_boot_process Archwiki]}}
* [[grub]]
-->
*[[systemd-boot]]
==Preparation==
* [[rEFInd]]
Identify the type of system you are attempted to rescue as the commands involved are slightly different. There are 2 types of systems which are not compatible to each other.


=== Identify the system ===
=== Identify the system ===
Indicators for EFI:
Indicators for EFI:


* When you start the computer and you commonly type F8 (or any other key combination) to choose a boot media, you will see 2 different entries of the same media, flagged with either [UEFI] or [legacy].
* When you start the computer and you commonly type F8 (or any other key combination) to choose a boot media, you will see 2 different entries of the same media, flagged with either [UEFI] and/or [legacy].
* Your local Disk has a small vfat (fat16/32) partition (100-300MB).
* Your local Disk has a small vfat (fat16/32) partition (100-300MB).
* Your local Disk has a GPT partition table.
* Your local Disk has a GPT partition table.
Line 46: Line 40:
* efi files contain at bare minimum, just like MBR, information about which partition should be booted, but there is no limitation of one MBR per Disk, so you create as many efi partitions and efi files as you like  
* efi files contain at bare minimum, just like MBR, information about which partition should be booted, but there is no limitation of one MBR per Disk, so you create as many efi partitions and efi files as you like  
* In your UEFI settings you can set the boot priority just like on a pure BIOS.
* In your UEFI settings you can set the boot priority just like on a pure BIOS.
* It is possible to use/add a MBR-like behavior in legacy mode on a GPT partition table to be able to boot on both modes. Normally you will see here a 8-10MB non-formatted partition flagged with bios_grub.
* It is possible to use/add a MBR-like behavior in legacy mode on a GPT partition table to be able to boot on both modes. Normally you need to add a 8-10MB non-formatted partition flagged with bios_grub.
 
== Further Information ==


Go to [[Restore_the_GRUB_Bootloader#Identify_the_system|Identify the system]] for indicators of which system you use.
* How to create a Manjaro Installation Media
* How to boot a Manjaro Installation Media
* How to check in which mode Manjaro has been booted.


=== Load Manjaro Installation Media ===  
=== Load Manjaro Installation Media ===  
translator
278

edits