GRUB2

Christo Candiotes
Mind Map by Christo Candiotes, updated more than 1 year ago
Christo Candiotes
Created by Christo Candiotes almost 6 years ago
20
1

Description

Understanding the GRUB2 boot process
Tags

Resource summary

GRUB2
1 /boot/grub2/boot.cfg
1.1 automatically generated by grub-mkconfig
1.1.1 Use templates from
1.1.1.1 /etc/grub.d
1.1.1.1.1 00_header, 10_linux, 20_memtest86, 30_os-prober, 40_custom, 90_persistent
1.1.1.2 /etc/default/grub
1.1.1.2.1 Grub menu timeout, hidden menu, theme, background etc
1.2 Don't edit manually
2 IDE/SCSI drives count from Zero eg hd0,msdos1 is the first partition on the first drive
3 SATA Drives count from ONE eg sda1,msdos1 is the first partition on the first drive
4 boot image files /usr/lib/grub(2)/<cpu>-<platform> eg /usr/lib/grub2/i386-pc
5 Installation Types
5.1 MBR
5.1.1 Normally embedded between the MBR and the first partition (MBR Gap/ Embedding Area).
5.1.1.1 1st Partition should start min 63 sectors from start of disk. Newer drives aligned to larger boundries so reserve 1 MiB
5.2 GPT
5.2.1 Some newer systems use GUID Partition Table (Part of EFI)
5.2.1.1 Reserve whole partition for GRUB called BIOS Boot Partition
5.2.1.1.1 Recommend min 1MiB and partition type set to "bios_grob on" or "0xEF02"
6 TWO BOOT OPTIONS
6.1 Boot OS directly
6.1.1 grub> root (hd0,2)
6.1.1.1 Load the kernel and set root eg grub> linux /vmlinuz-2.6.32 ro root=UUID=<unique number of partition with OS>
6.1.1.1.1 Start Initial Ram Disk eg grub> initrd /initramfs-2.6.32.img
6.1.1.1.1.1 grub> boot
6.2 Chain-loading another boot loader
6.2.1 DOS / Win must be chainloaded
Show full summary Hide full summary

Similar

GNU/Linux
Yurani Salamanca
The Cold War
dottydiva96
Korean Grammar Basics
Eunha Seo
The Biological basis of Heart Disease
Andrea Leyden
Life in Germany
Ben C
Key Biology Definitions/Terms
courtneypitt4119
GCSE History – The early years and the Weimar Republic 1918-1923
Ben C
Using GoConqr to study Maths
Sarah Egan
La Salud y Las Desigualdades de Género
Kelly vallejos
Mapa Mental para Resumir y Conectar Ideas
Susly Castillo Mendoza
Cómo crear un Mapa Mental
Maria Camila Ospina Valoy