Where does linux kernel reside?

The /lib/modules/kernel-version/ directory stores all compiled drivers under Linux operating system. You can use the modprobe command to intelligently add or remove a module from the Linux kernel.

How to add or remove a module from the Linux kernel?

You can use the modprobe command to intelligently add or remove a module from the Linux kernel. The modprobe command looks in the module directory /lib/modules/$ (uname -r) for all the modules and other files, except for the optional /etc/modprobe. Conf configuration file and /etc/modprobe., and d directory.

How does a bootloader work in Linux?

To keep things simple, you usually have a disk drive where your computer boots from, you install a GNU/Linux system in that disk and the bootloader gets there too. That it is able to find and boot your Operating System (with Linux, you just need the bootloader to have somehow access to the kernel and, if you’re using one, the initrd image.).

You see, the rest probably gets installed to the same partition as / or /boot/ of the Ubuntu system you’re installing (and that rest is accessible from Ubuntu, look for directories /boot/grub/ or /grub/ ). Grub2 is the standard boot loader for Ubuntu. As always we prefer to have highly configurable applications.

One source stated the BIOS will usually look for bootloaders in the Master Boot Record of hard drives, a small area in the beginning of the drive where you can put some code to be run. You can also have a bootloader installed at the beginning of a partition.

Can a bootloader be installed at the beginning of a partition?

You can also have a bootloader installed at the beginning of a partition. Bootloaders are usually small enough to fit in these small areas, and even if they don’t, they must put something there so the BIOS boots the bootloader.