Dissect and debug initramfs images.
- [Voiceover] So let's drill down more…into what this initramfs image looks like…that's used as part of the booting up of a Linux system.…So it's a file in a /boot directory.…There's gonna be one for each kernel.…In recent years, these are initramfs images.…An initramfs image, is a gzipped cpio archive.…cpio's kind of like tar, and what's gonna happen is…the kernel's going to unzip it,…and extract it into RAM and then mount it.…
For previous kernels, when this is an initrd,…then a kernel would uncompress it and mount it…from RAM based on it's type of file system…which was commonly ext2.…If you wanna look at your initramfs image…to find out what goes on in the beginning,…sometimes it's handy to customize this.…What you do is you get that initramfs image,…you need to rename it something with a .gz suffix,…then you can gunzip it, and then you…use the cpio command to extract it.…
Now inside this are gonna be some device files,…so you need to be root to extract it.…And it has absolute path names in it.…So this is very, very dangerous.…
We survey the Linux kernel specification, boot process, and loadable kernel modules. You will practice techniques such as downloading and searching Linux kernel source code and configuring a Linux kernel from scratch. Challenge and solution videos at the end of almost every chapter allow you to test your new Linux skills along the way.
- What is the Linux kernel?
- Controlling hardware
- Reading Linux kernel messages
- Reading and writing files from the proc and sysfs filesystems
- Configuring GRUB
- Using kernel command-line parameters
- Configuring run levels
- Working with loadable kernel modules (LKMs)
- Searching the kernel source code
- Building and installing a Linux kernel
Skill Level Advanced
Learning Linux for PHP Developers (2014)with Jon Peck3h 52m Beginner
1. Surveying the Linux Kernel
3. Working with Loadable Kernel Modules
4. Examining Linux Kernel Source Code
5. Configuring and Building a Linux Kernel
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.