Powered by Blogger.

Linux Kernel Part 1: Study Notes


Monolithic and modular kernal update

source rpm and binary rpm ( for our basic needs binary rpms are great, source rpms are good if we want to tinker with the system changes)

smp : symetric multiprocessor

Kernal update and installation
we need to go to the redhad website, to download the kernel, once the kernel is downloaded

cat /proc/cpuinfo


md5sum : to check the files wether they are being tamprered with or not.
md5 checksum is really helpful in tracing out if the file is safe to us or not, and its very good to use , in order to avoid using any harmful software.


cd /boot

cat /etc/grub.conf : to check the kernel loading parameters in the grub loader

uname -r : to check the kernel version

Resetting root password on Linux


Suppose, if you have forgotten your linux root password. You seems to be in a little trouble, but dont worry, use below steps to recover your linux password with a few clicks:

1. During boot, highlight the installation for which you want to change the root password. Once the installation is highlighted, press a and Enter, a = append.

2. You will be taken to a prompt, that will look like this:

  
Press Enter once more, and you will see after some processing a prompt like:

sh-2.05b#
 
Here on this prompt you can use all basic commands of Linux. Just type your new password here by using passwd root command and enjoy :)
 
I hope this article was helpful to you guys. See you with some more stuff in future.