Skip to content

Day03 - Boot Process Analysis

This lab explores the boot process of the Linux system by inspecting kernel information and boot parameters.


Kernel Version

Command:

uname -a

Purpose:

  • Identify kernel version
  • Confirm architecture

Kernel Boot Log

Command:

dmesg | grep "Kernel command line"

Example output:

[    0.000000] Kernel command line: console=ttyAMA10,115200 console=tty1 root=PARTUUID=...

Purpose:

  • Observe boot parameters passed from bootloader to kernel

Kernel Command Line

Command:

cat /proc/cmdline

Purpose:

  • Inspect kernel boot arguments

Example parameters:

  • console
  • root
  • rootfstype

Root Filesystem

Command:

mount | grep " / "

Purpose:

  • Identify the root filesystem device

Output:

/dev/mmcblk0p2 on / type ext4 (rw,noatime)

Boot Configuration Files

List boot directory:

ls /boot

Example files:

  • kernel image
  • cmdline.txt
  • config.txt

These files control how the system boots.