Linux Hello world kernel hack.
1. Boot the system your hacking
2. get into the root account:
[user@machine]# su -
Everything is done from root for the time being cos a few pieces need this level of access.
3. clear the kernel output log files
[root@machine]# dmesg -c
Reboot and log into the root account again. Dump the kernel log to a file:
[root@machine]# dmesg > dmesg.out
Have a read through dmegs.out as this is all the stuff your kernel had to say during boot. Make a new directory to do kernel development is and put a source tree in. Get, unzip, and make the kernel source:
[root@machine]# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
[root@machine]# tar xjf linux-2.6.29.tar.bz2
[root@machine]# cd linux-2.6.29
[root@machine]# make defconfig
[root@machine]# make all
