Things to know about linux

What is the minimum number of partitions you need to install Linux? What command can you use to review boot messages? only need 2 partitions to install Linux one is the root partition / and other is the swap partition ,you can install linux without creating /boot ,it will automatically created under / dmesg will show you the logged messages at boot time .most information is about detected hardware at boot time
what is stored at /lib/modules ?
It contains all the kernel modules that needed to be loaded
into kernel (booting etc). there will some .map, .dep
(dependency files) files present.

When the kernel needs a feature that is not resident in the
kernel, the kernel module daemon kmod[1] execs modprobe to
load the module in.

You can see what modules are already loaded into the kernel
by running lsmod, which gets its information by reading the
file /proc/modules



How to Load a Linux kernel module automatically at boot time

When the kernel needs a feature that is not resident in the kernel, the kernel module
 daemon kmod[1] execs modprobe to load the module in.
modprobe first searches a files called  File /etc/modules.conf  is configuration file for loading kernel modules.
 what is stored in /proc ?
what is significance of /proc in linux ?
 Mainly hardware related information such as CPU
information, Memory (RAM) information stored under /proc
directory
example:
# cat /proc/cpuinfo (show the information of CPU of that
particular hardware)
# cat /proc/meminfo (show the information of Memory i.e.
RAM of that particular hardware)
 why the kernel panic error was appering?

Kernel panic error occurs when a Linux OS files system goes curroupt or it cannot read the file system

No comments:

Other Articles

Enter your email address: