Archive for the ‘Linux’ Category

Booting to Single User Mode

Tuesday, April 17th, 2007

If it’s LILO, just type “linux single” and that should do it (assuming that “linux” is the lilo label).
If GRUB, hit ‘e”, then select the “kernel” line, hit “e” again, and add ” single” (or just ” 1″) to the end of the line. Press ENTER, and then “b” to boot. (More modern grub uses “a” to append to the boot line)

e.g.
kernel /boot/vmlinuz-2.2.17 root=/dev/hda8 video=matrox:vesa:261 single

Compiling Linux Kernel

Saturday, February 10th, 2007

Get Kernel http://www.kernel.org/

make menuconfig
make
make modules_install
make install
rm -f /boot/initrd-2.6.19.1.img
mkinitrd /boot/initrd-2.6.19.1.img 2.6.19.1