From the course: CompTIA Linux (XK0-005) Cert Prep
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Use GRUB2 commands - Linux Tutorial
From the course: CompTIA Linux (XK0-005) Cert Prep
Use GRUB2 commands
- [Host] Grub 2 is the most popular boot loader on Linux. Grub 2 supports scripting, dynamic module loading, custom menus and themes, using UUID numbers for partitions instead of hard coded locations, and has a powerful recovery console. The purpose of the boot load is to start the kernel which will load necessary device drivers from an initial RAM disk and then start the rest of the operating system. The kernel and RAM disk are stored in / boot. Let's take a look. CD to / boot by typing in CD Space /boot and hit Enter Now run a long list by typing in LS Space /L. The kernels that are named vmlinuz are compressed bootable kernels. The RAM disk will either be named initrd if your Linux system has a kernel older than 2.5, or initramfs if the kernel is newer than 2.6. Initrd acts as a disc that's in ram but requires a driver to be compiled into the kernel. Initramfs has the advantage that it's not a disk but rather a…
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.