Skip to content

Instantly share code, notes, and snippets.

@gjedeer
Forked from macdot/gist:508880
Created August 4, 2010 22:09
Show Gist options
  • Save gjedeer/508883 to your computer and use it in GitHub Desktop.
Save gjedeer/508883 to your computer and use it in GitHub Desktop.
#!/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