RSS2.0

RHCE RHCT Linux Certification Exam : GRUB Boot loader

Sunday, March 19, 2006

Configuring the GRUB Boot Loader for RHCE/RHCT :

To configure the boot loader or edit anything for GRUB configuration file is:

  • /boot/grub/grub.conf
  • In case MBR is corrupted try
    • /sbin/grub-install /dev/hda
where hda is first installed PCI hard drive on your RHEL 4 server.




#NOTICE: You have a /boot partition. This means that
# all kernel paths are relative to /boot/
default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz

title Red Hat Linux (2.4.18-0.12)
root (hd0,0)
kernel /vmlinuz-2.4.18-0.12 ro root=/dev/hda3
initrd /initrd-2.4.18-0.12.img

0 comments: