Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 22, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 22, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025
      Recent

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

      July 22, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Learning Resources»Linux Boot Process? Best Geeks Know It!

    Linux Boot Process? Best Geeks Know It!

    May 6, 2025
    Linux Boot Process? Best Geeks Know It!
    by Nawaz Abbasi

    The Linux boot process is a sequence of events that initializes a Linux system from a powered-off state to a fully operational state. The knowledge of Linux boot process is essential when it comes to technical interviews, but sometimes it becomes difficult to remember or recall the key steps in the process. This article discusses a quick and easy way to remember it – Best Geeks Know It! Yes, you only need to remember that.

    Best Geeks Know It -> B – G – K – I -> BIOS – GRUB – KERNEL – INIT

    This BGKI acronym provides a high-level overview of the Linux boot process. Each step builds upon the previous one, gradually bringing the system to a fully operational state. Of course, there are more detailed processes within each step, but this simplified version should give you a good foundation for understanding and remembering the Linux boot sequence.

    BGKI Process

     

    Here’s a concise expansion of B-G-K-I:

    B – BIOS/UEFI

    • Performs Power-On Self-Test (POST)
    • Checks hardware: CPU, RAM, storage
    • Loads MBR (Master Boot Record) or GPT (GUID Partition Table)
    • Transfers control to bootloader

    G – GRUB

    • Located in first 512 bytes of boot drive
    • Reads /boot/grub/grub.conf
    • Shows menu with kernel options
    • Loads selected kernel + initramfs (temporary root filesystem) into RAM
    • Passes boot parameters to kernel
    • Can handle multiple OS boot options

    K – KERNEL

    • Decompresses itself into RAM
    • Initializes hardware and drivers
    • Mounts root filesystem, loads initramfs
    • Sets up memory management
    • Starts device detection
    • Creates kernel threads

    I – INIT (systemd in modern systems)

    • PID 1 (first process)
    • Reads /etc/inittab (traditional) or unit files (systemd)
    • Sets default runlevel/target
    • Starts essential services in order:
      • System services
      • Network services
      • Display manager
      • User interface (CLI/GUI)
    • Reaches default target state

     

    Key files to remember

    /boot/grub/grub.conf  – GRUB configuration

    /etc/systemd/system/  – systemd unit files

    /etc/inittab                  – Init configuration (traditional)

    Go to Full Article

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleNew Investment Scams Use Facebook Ads, RDGA Domains, and IP Checks to Filter Victims
    Next Article IBM THINK: IBM introduces new tools to help with scaling AI agents across the enterprise

    Related Posts

    News & Updates

    A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

    July 22, 2025
    News & Updates

    “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

    July 22, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    A Customer-Centric Shoptalk Spring 2025

    Development

    FOSS Weekly #25.21: Oh My Bash, Ubuntu’s New Terminal, Pixelify Android, Fedora’s Wayland Gamble and More

    Linux

    CVE-2025-5100 – Apache Commons IO Double-Free Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    What is Google Veo AI

    Web Development

    Highlights

    A Coding Guide for Building a Self-Improving AI Agent Using Google’s Gemini API with Intelligent Adaptation Features

    May 29, 2025

    In this tutorial, we will explore how to create a sophisticated Self-Improving AI Agent using…

    CVE-2025-33014 – IBM Sterling B2B Integrator and IBM Sterling File Gateway Cross-Site Scripting (XSS) Vulnerability

    July 18, 2025

    10 Best Free and Open Source Subtitle Editors

    April 2, 2025

    One of my favorite games is on sale, and it just had a huge update with a banger DLC

    May 8, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.