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

Debugging initramfs images - CentOS Tutorial

From the course: Advanced Linux: The Linux Kernel

Start my 1-month free trial

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…

Contents