Created
August 4, 2010 22:06
-
-
Save macdot/508880 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# turn off some services not needed | |
chkconfig kudzu off | |
chkconfig mcstrans off | |
chkconfig restorecond off | |
chkconfig netfs off | |
chkconfig gpm off | |
rpm -ivh kernel-2.6.28.10-2.x86_64.rpm | |
mkinitrd /boot/initrd-2.6.28.10.img 2.6.28.10 | |
echo "title CentOS (2.6.28.10)" | |
echo "root (hd0,0)" | |
echo "kernel /vmlinuz-2.6.28.10 ro root=/dev/sda2" | |
echo "initrd /initrd-2.6.28.10.img" | |
sleep 4 | |
vim /boot/grub/menu.lst |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment