[akshay_siwal@dev300 ~]$ uname -a
Linux dev369app13.int.temp.com 2.6.32-642.13.1.el6.centos.plus.x86_64 #1 SMP Thu Jan 12 11:45:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
cat /proc/version
Information shown by /bin/uname command comes from file /proc/version, basically it just displays fromtion of /proc/version in more user friendly way.
[akshay_siwal@dev300 ~]$ cat /proc/version
Linux version 2.6.32-642.13.1.el6.centos.plus.x86_64 (mockbuild@c1bm.rdu2.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Thu Jan 12 11:45:05 UTC 2017
cat /proc/cmdline
This file /proc/cmdline contains options which were supplied to the kernel at boot times.
[akshay_siwal@dev300 ~]$ cat /proc/cmdline
root=LABEL=ROOT ro consoleblank=0 console=ttyS0 crashkernel=130M@0M
In CentOS or Red Hat , install the package kernel-doc
.
yum install kernel-doc
ls -lrt /usr/share/doc/kernel-doc-2.6.32/Documentation
For example file /usr/share/doc/kernel-doc-2.6.32/Documentation/filesystems/proc.txt
will give information about /proc
directory.
/boot/vmlinux
/boot/vmlinuz
Use file
command to check Kernal Image Type
file /boot/vmlinuz-4.14.33-51.37.amzn1.x86_64
/boot/vmlinuz-4.14.33-51.37.amzn1.x86_64: Linux kernel x86 boot executable bzImage, version 4.14.33-51.37.amzn1.x86_64 (mockbuild@gobi-build-60006) #1 SMP Thu May 3 20:07:43 UTC 2018, RO-rootFS, swap_dev 0x4, Normal VGA
The initial RAM disk is responsible for loading a temporary root file-system during the Linux boot process. It contains drivers to load real root file-system and to do initial integrity check on it.
initrd
/dev/ram
ext2
but some use cramfs
initramfs