From the course: Advanced Linux: The Linux Kernel
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Debugging initramfs images - CentOS Tutorial
From the course: Advanced Linux: The Linux Kernel
Debugging initramfs images
- [Instructor] Let's talk more about booting. Let's talk about initramfs part of booting, and what that thing looks like. In /boot are where the files that grub gets at boot time, the kernel and the initial root file system image. That initial root file system image might be in initrd, which is the old way, initial RAM disc, or, the newer way, that's been around for a while now, initramfs image. That file can be in different formats. It might be a gzipped CPIO archive, or maybe it's multiple archives added together. Maybe it's not gzipped, so it could be a little bit complicated, so you might need to investigate a little bit about what you've got. If it's an initramfs, though, there's going to be some CPIO stuff in there that's going to need to be extracted. You might have a handy command for that, you might have unmake initramfs that will know what to do with that file, and extract it for you. Now, this CPIO archive stuff…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Understanding the bootloader GRUB3m 50s
-
(Locked)
Configuring GRUB4m 6s
-
(Locked)
Kernel command line parameters7m 12s
-
(Locked)
Configuring and using systemd services6m 1s
-
(Locked)
Debugging initramfs images6m 7s
-
(Locked)
Challenge: GRUB, targets, the initramfs24s
-
(Locked)
Challenge: Solution9m 19s
-
-
-
-
-