101.2 BootSystem 2

Beschreibung

Arranque del Sistema Parte II
Rolando Martinez
Mindmap von Rolando Martinez, aktualisiert more than 1 year ago
Rolando Martinez
Erstellt von Rolando Martinez vor mehr als 3 Jahre
1
0

Zusammenfassung der Ressource

101.2 BootSystem 2
  1. GRUB (Grand Unified Bootloader).
    1. Called by BIOS or UEFI
      1. Display a list of SO for boot
        1. GRUB menu choose kernels pass new parameters option=Value.
          1. acpi=off
            1. Enables/disables ACPI support.
              1. ACPI "Advanced Configuration and Power Interface
                1. , convierte la pulsación del botón de apagado en un simple evento
                  1. asignar IRQ a los dispositivos.
              2. init=/bin/bash
                1. systemd.unit=graphical.target
                  1. Accept Runlevel 1,S
                  2. Mem=512M
                    1. used VM
                    2. maxcpus=2
                      1. Used VM
                      2. quiet
                        1. Hide boot mssages
                        2. vga=ask
                          1. will show a list of the available modes of video
                          2. root=/dev/sda3
                            1. Sets the root partition, distinct from the one pre-configured in the bootloader.
                            2. rootflags
                              1. options root FS
                              2. ro
                                1. root FS only Read
                                2. rw
                                  1. writing in root FS during initial mount
                                  2. Changing the kernel parameters is not usually required
                                    1. can be useful to detect and solve operating system related problems
                                3. /etc/default/grub
                                  1. add Parameters Kernel in line GRUB_CMDLINE_LINUX
                                    1. A new configuration file for the bootloader must be generated every time /etc/default/grub changes,
                                      1. grub-mkconfig -o /boot/grub/grub.cfg
                                        1. read in /proc/cmdline
                                      2. System Initialization
                                        1. Kernel
                                          1. scripts
                                            1. services o daemons
                                            2. Configuration File
                                              1. SO starts when the bootloader loads the kernel into RAM.
                                                1. Basic hardware configuration and memory addressing
                                                  1. initramfs (initial RAM filesystem).
                                                    1. 1.- Containing a filesystem used as a temporary root filesystem during the boot process.
                                                      1. 2.- The main purpose of a initramfs file is to provide the required modules so the kernel can access the “real” root filesystem of the operating system.
                                                        1. 3.- As soon as the root filesystem is available, the kernel will mount all filesystems configured in /etc/fstab and then will execute the first program, a utility named init
                                                          1. The init program is responsible for running all initialization scripts and system daemons.
                                                            1. SysV standard
                                                              1. the concept of runlevels. Runlevels are numbered 0 to 6
                                                              2. systemd
                                                                1. employs sockets and D-Bus for service activation, on-demand daemon execution, process monitoring with cgroups, snapshot support, system session recovery, mount point control and a dependency-based service control
                                                                2. Upstart
                                                                  1. Like systemd, Upstart is a substitute to init.
                                                                    1. The focus of Upstart is to speed up the boot process by parallelizing the loading process of system services
                                                            2. Initialization Inspection
                                                              1. Errors may occur during the boot process,
                                                                1. kernel ring buffer.
                                                                  1. The memory space where the kernel stores its messages
                                                                    1. dmesg dmesg --clear
                                                                      1. Ver y Limpiar Messages
                                                                      2. Systemd
                                                                        1. journalctl journalctl -b journalctl --list-boots journalctl -b 0
                                                                        2. /var/log
                                                                          1. store other messages
                                                                            1. journalctl -d /var/log/journal
                                                                        Zusammenfassung anzeigen Zusammenfassung ausblenden

                                                                        ähnlicher Inhalt

                                                                        Spielst du Fußball?
                                                                        Nadja Blust
                                                                        Elektrische Spannung
                                                                        Peter Kasebacher
                                                                        Klausurfragen aktuell
                                                                        Anne Malten
                                                                        Öff.Recht - Streite Staatsorganisationsrecht
                                                                        myJurazone
                                                                        Imperialismus Zusammenfassung
                                                                        Robert Mairginter
                                                                        Euro-FH // Zusammenfassung SOPS3
                                                                        Robert Paul
                                                                        Algebra 1-16
                                                                        Christoph Affolter
                                                                        Vetie Radiologie Fragen VL 1
                                                                        Péroline de Gail
                                                                        Innere kl. Wdk Vetie
                                                                        Anne Käfer