Overview of SysVinit Sys Vinit scripts have started Linux since its early days but is widely superseded now by systemd in the lastes versions archlinux, SUSE , Debian and Red Hat SysVinit Kernel will start /sbin/init as PID 1 Subsequently reads /etc/inittab Initial start in S mode (single user) to inizialize the system loading Full Article…
Linux Kernel and System Startup (LPIC-2)
Compiling a Linux Kernel
Make files and make targets Build and install a versione 3 kernel Dracut amd mkinitrd runttime tools Introduction to Compiling Kernels /usr/src/linux Download latest kernel from kernel.org wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.18.5.tar.xz It sould be expanded into /usr/src/kernels/ where it will create its own sub-directory structure expanded in /usr/src/kernels sudo tar Jxvf linux-3.18.5.tar.xz -C /usr/src/kernels Link your source to the Full Article…
Linux Kernel Basics
Introduction and Kernel Documentation In CentOS or RehHat install the package kernel-doc In Ubuntu the documentation is installed with the kernel source code Web based documentation can be retrieved fron www.kernel.org/doc yum install kernel-doc ls /usr/share/doc/kernel-doc-2.6.32/Documentation ../Documentation/filesystems/proc.txt less /usr/share../Documentation/filesystems/proc.txt $ cat /proc/self/status less filesystems/proc.txt Understanding Kernel Types and Initial Ram Disks Full Article…
Introduction
Introduction Making Use of uname Kernel Runtime Management asnd Trubleshooting /bin/uname uname -s Kernel name uname -n Computer name uname -r Kernel release uname -v Kernel versionl uname -m Machine name uname -p Processor type uname -i Hardware platform uname -o Operatioin system uname -a All /proc/version cat /proc/cmdline ~$ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-3.13.0-49-generic root=/dev/mapper/vg0-root ro quiet splash /proc/cmdline Full Article…