GRUB2

Descrição

Understanding the GRUB2 boot process
Christo Candiotes
Mapa Mental por Christo Candiotes, atualizado more than 1 year ago
Christo Candiotes
Criado por Christo Candiotes mais de 9 anos atrás
33
1

Resumo de Recurso

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

                      Semelhante

                      GNU/Linux
                      Yurani Salamanca
                      Literatura Brasileira
                      Alessandra S.
                      Legislação de Trânsito
                      questoesdetransito
                      Níveis de organização dos seres vivos
                      GoConqr suporte .
                      Interpretação de Texto
                      GoConqr suporte .
                      Controle de Constitucionalidade
                      GoConqr suporte .
                      Química Orgânica (Part. I)
                      lorena dorea
                      Reino Monera
                      nathaliaires
                      Reino Plantae
                      Ricardo l.
                      Apresentação da aula 2 - Desenvolvimento Humano e Social - Diversos
                      Emmanuela Pimenta
                      I wish I..
                      Timothy Harris