I have to re-install the grub loader on one of my systems
My Centos installation has 3 partitions
100 meg for /boot
6000 for swap
and the rest is created for /
my device names are:
/dev/dciss/c0d0p1 (boot)
/dev/dciss/c0d0p2 (swap)
and /dev/dciss/c0d0p3 ( / ) respectively.
I am not sure which partition (the boot ‘p1′ or the ‘/’ ‘p3′ should contain the grub loader. My /boot partition is marked as boot with an asterisk?
I am following the instructions provided here:
http://roshan18.wordpress.com/2008/0...b-boot-loader/
however I'm a little concerned because I though I'd be installing the grub loader in (hd0,2) and I dumped the grub.conf file from another system I have that has the exact same disk & partition layout and this is what I see:
[root@myserver-backup grub]# cat device.map
# this device map was generated by anaconda
(hd0) /dev/cciss/c0d0
[root@myserver-backup grub]# cat grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/cciss/c0d0p3
# initrd /initrd-version.img
#boot=/dev/cciss/c0d0
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-308.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-308.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-308.el5.img