Find GRUB and GRUB2 configuration files and directories.
- [Voiceover] Let's talk about GRUB configuration…and it's different for GRUB 1 or GRUB 2.…With GRUB 1, it was, perhaps, a little bit more…straight forward.…There was a single config file, grub.conf,…with a link to it in etc,…and you could edit that to change boot options,…to add additional kernel entries,…or remove some.…With GRUB 2, there are more files,…and there's a directory, /etc/grub.d,…that you, typically, could edit something in.…The file /etc/default/grub is the stuff…at the start of the file for configuration for grub,…where you can say the default kernel to boot,…or how long, in seconds, to wait before a kernel is booted.…
If you want to make a new GRUB entry,…then what you typically do is…edit or create a new file underneath /etc/grub.d.…The number in front of the file name…affects the order that the files are processed,…so it means the bigger the number,…the later in the list of choices…that it will be shown in the GRUB menu.…Normally you edit 40_custom if you want to…add in a new entry.…And then you're going to run grub2-mkconfig…
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 Command Line (2016)with Scott Simpson1h 38m 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.