⣿ ZOTHOS × 1NC0GN30 30 DAYS OF LINUX FUNDAMENTALS · TUI (./control-panel) + WEB GUI · 90 MISSIONS
← Back to 30-Day Curriculum

WEEK 2 · SYSTEM OPS · TUI: ./control-panel --day 12

Day 12: Storage Engineering: Filesystems, Mounts & fstab

Format ext4/XFS partitions, configure persistent mounts in /etc/fstab, and verify filesystem integrity.

XP 0
Streak 0
Command Mastery 0%
Study Music

YouTube Study Radio

Pick a track or paste any YouTube URL.

🍳 Breakfast (Syntax) Session

Type commands, build streaks, and then review the source guide.

Live Terminal Drill

Re-type the command exactly to clear each challenge.

target$ loading...

0 / 12 mastered

    Command Board

    Tap a command when you practiced it in your own terminal.

    Command Intel

    Meaning

    Command explanation will appear here.

    Sample Output

    Output preview will appear here.

    Useful Fun Fact

    Fun facts about the active command will appear here.

    Last Run Output

    Run a command to see result feedback.

    Knowledge Boost

    Faster learning with topic cues, mini-missions, and external docs.

    Key Topics

    ⚡ 60-Second Mental Model (Student Digest)Lesson Overview1. **Introduction to the Linux Kernel**Practice Commands

    Mini Missions

    • Mission 1: Run mount and explain the output in one sentence.
    • Mission 2: Run umount and explain the output in one sentence.
    • Mission 3: Run mkdir -p /tmp/linux-dojo-day-12 && cd /tmp/linux-dojo-day-12 and explain the output in one sentence.
    • Mission 4: Run bash and explain the output in one sentence.

    📖 Digestible Study Guide & Visual Architecture

    Source: day-12-breakfast-guide.md · Synced with ./control-panel --day 12

    Day 12 · Breakfast — Storage Engineering: Filesystems, Mounts, fstab & LVM



    ZothOS × 1nc0gn30 Linux Dojo · Phase: Week 2 (System Ops) · Session: Breakfast (Morning Foundation & Core Command Syntax)

    Core Commands: lsblk, blkid, mkfs.ext4, mount, umount, /etc/fstab


    ⚡ 60-Second Mental Model (Student Digest)



    ╔══════════════════════════════════════════════════════════════════════════════╗
    ║  ZOTHOS × 1NC0GN30 // PROCESS, KERNEL & NETWORK OPERATIONS PIPELINE          ║
    ╠══════════════════════════════════════════════════════════════════════════════╣
    ║                                                                              ║
    ║  ┌─────────────────┐    fork() / execve()    ┌────────────────────────────┐  ║
    ║  │  PID 1: systemd │ ──────────────────────► │  Active Daemons & Tasks    │  ║
    ║  └────────┬────────┘                         │  • nice / renice [-20..19] │  ║
    ║           │                                  │  • SIGTERM(15) / SIGKILL(9)│  ║
    ║           ▼                                  └─────────────┬──────────────┘  ║
    ║  ┌─────────────────┐    /proc & sysctl       ┌─────────────▼──────────────┐  ║
    ║  │ Kernel Modules  │ ◄─────────────────────► │ Network & Storage Stack    │  ║
    ║  │ lsmod / modprobe│                         │ ip route • ss • /etc/fstab │  ║
    ║  └─────────────────┘                         └────────────────────────────┘  ║
    ╚══════════════════════════════════════════════════════════════════════════════╝


    Learning PillarHow to Practice This Session
    1. Native TUI (./control-panel)Run ./control-panel from repo root → Select Week 2 → Day 12 → Breakfast to drill interactive C lessons & quizzes.
    2. Web Workstation (astro-ui)Open /day/12 → Select Breakfast tab → Type each target command in the live Mission Terminal to earn XP & streak mastery.
    3. Safe Local SandboxRun mkdir -p /tmp/linux-dojo-day-12 && cd /tmp/linux-dojo-day-12 to test every flag below without touching production files.




    Welcome to Day 12 Breakfast! Today, we'll explore the fundamentals of the Linux kernel. Understanding the kernel is crucial for mastering Linux system administration and development. In this session, we'll cover kernel modules, kernel parameters, and kernel versioning.

    Lesson Overview



    1. Introduction to the Linux Kernel



    Description:
    The Linux kernel is the core component of a Linux operating system, managing hardware, system resources, and providing essential services. It acts as an intermediary between the hardware and user applications.

    Key Concepts:
  • Kernel Architecture: Monolithic kernel with modules.

  • Responsibilities: Hardware abstraction, process management, memory management, device drivers, and system calls.


  • Commands:
  • Check the kernel version:

  •   unKernel Modules

    Description:
    Kernel modules are pieces of code that can be loaded into the kernel as needed. They extend the functionality of the kernel without requiring a reboot.

    Key Concepts:

    Module Loading: Dynamically add functionalities such as device drivers.
    Commands:
    List loaded modules:
    lsmod

    Load a module:
    sudo modprobe <module_name>

    Remove a module:
    sudo rmmod <module_name>

    Example: Load the usb_storage module to enable USB storage support.

    3. Kernel Parameters
    Description:
    Kernel parameters are settings that control various aspects of the kernel's behavior. They can be configured at boot time or during runtime.

    Key Concepts:

    Boot Parameters: Passed to the kernel during system startup.
    Runtime Parameters: Modified using sysctl.
    Commands:

    View current parameters:
    sysctl -a

    Set a parameter:
    sudo sysctl -w <parameter>=<value>

    Persistent changes: Edit /etc/sysctl.conf and apply changes:
    sudo sysctl -p

    Example: Adjust vm.swappiness to control how aggressively the kernel swaps memory pages.

    4. Kernel Versioning
    Description:
    Kernel versioning helps in identifying the version of the kernel running on your system, which is important for compatibility and troubleshooting.

    Key Concepts:

    Version Format: major.minor.patch
    Commands:
    Check kernel version:
    uname -r

    Check detailed kernel information:
    uname -a

    Example: Verify kernel version compatibility with hardware drivers or software requirements.

    Practice Commands


    Check your current kernel version.
    List all loaded kernel modules.
    Load and then remove a dummy module (e.g., dummy).
    View and set a kernel parameter, such as net.ipv4.ip_forward.
    Edit /etc/sysctl.conf to make a persistent change to a kernel parameter.
    Conclusion

    In this Breakfast session, you've learned about the core components of the Linux kernel, how to work with kernel modules, configure kernel parameters, and understand kernel versioning. These fundamentals are essential for effective Linux system administration and development.

  • Feel free to experiment with the commands and configurations provided to deepen your understanding of the Linux kernel. Prepare for the next lesson as we continue to build on these concepts.