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

      This week in AI dev tools: Gemini 2.5 Pro and Flash GA, GitHub Copilot Spaces, and more (June 20, 2025)

      June 20, 2025

      Gemini 2.5 Pro and Flash are generally available and Gemini 2.5 Flash-Lite preview is announced

      June 19, 2025

      CSS Cascade Layers Vs. BEM Vs. Utility Classes: Specificity Control

      June 19, 2025

      IBM launches new integration to help unify AI security and governance

      June 18, 2025

      I used Lenovo’s latest dual-screen OLED laptop for a month and it wouldn’t be my first choice — here’s why

      June 22, 2025

      Here’s how I fixed a dead Steam Deck screen — with Valve proving they still have the best customer service in gaming

      June 22, 2025

      Borderlands 4 drops stunning new story trailer

      June 22, 2025

      DistroWatch Weekly, Issue 1127

      June 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

      Exploring Lakebase: Databricks’ Next-Gen AI-Native OLTP Database

      June 22, 2025
      Recent

      Exploring Lakebase: Databricks’ Next-Gen AI-Native OLTP Database

      June 22, 2025

      Understanding JavaScript Promise

      June 22, 2025

      Lakeflow: Revolutionizing SCD2 Pipelines with Change Data Capture (CDC)

      June 21, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      I used Lenovo’s latest dual-screen OLED laptop for a month and it wouldn’t be my first choice — here’s why

      June 22, 2025
      Recent

      I used Lenovo’s latest dual-screen OLED laptop for a month and it wouldn’t be my first choice — here’s why

      June 22, 2025

      Here’s how I fixed a dead Steam Deck screen — with Valve proving they still have the best customer service in gaming

      June 22, 2025

      Borderlands 4 drops stunning new story trailer

      June 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

    I used Lenovo’s latest dual-screen OLED laptop for a month and it wouldn’t be my first choice — here’s why

    June 22, 2025
    News & Updates

    Here’s how I fixed a dead Steam Deck screen — with Valve proving they still have the best customer service in gaming

    June 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

    CVE-2025-32802 – Kea File Overwrite Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-48056 – Hubble CLI Command Injection Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Privacy and security post-Snowden: Pew Research parallels ESET findings

    Development

    Alkem’s Enzene Biosciences Hit by Cyberattack, Funds Fraudulently Transferred

    Development

    Highlights

    Google Wallet brings digital IDs to more states – how to add yours

    April 29, 2025

    Plus, proving your age with your phone is about to get way easier and more…

    Rilasciata la Versione 575 del Driver Grafico NVIDIA per i sistemi GNU/Linux: Novità e Miglioramenti

    May 30, 2025

    Linux Data Recovery: How to Salvage Lost or Corrupted Files

    May 1, 2025

    AutoRecon — Best Tool for Bug Bounty & CTF

    April 5, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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