Skip to main content

Posts

Showing posts with the label loading linux kernel

Loading Linux from GRUB Command Line

 GRUB (GRand Unified Bootloader) is a powerful boot loader that is used by many Linux distributions. GRUB allows you to manually load and boot kernels, initrd files, and other operating system components. This can be useful for troubleshooting boot problems or for booting into a custom or recovery environment. Loading the Linux Kernel To load the Linux kernel from the GRUB command line, use the following command: linux /boot/vmlinuz Replace /boot/vmlinuz with the actual path to the Linux kernel on your system. You can use ls command to display files in current folder or use tab to list items matching the partically typed name (if it exists). Loading the Initrd File The initrd file is a compressed file system that contains the initial RAM disk image. The initrd file is used to load the necessary drivers and modules before the root file system is mounted. To load the initrd file, use the following command: initrd /boot/initrd.img Replace /boot/initrd.img with the actual path to the ...

Topics

Show more