grub.conf configuration

Swapana Ghosh swapana_ghosh
Mon May 17 11:58:49 PDT 2004


Hi

    Our server is redhat9.0. i will install *OpenSSI* software for
clustering with two nodes..

    In the OpenSSI document they suggested *Configure GRUB as the boot loader*.
My server is at remote place.. I have modified the  grub.conf file as below.

    Pl. suggest/advice/correct the config file which i created. And also
suggest me whether any other options i need to mention in the config file which
is absolutely necessary. Once again i have to restart the server remotely.


The orginal grup.conf file is as follows::
_____________________________________________________
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /initrd-2.4.20-8.img
_____________________________________________________

I have modified it as follows:
_____________________________________________________
boot=/dev/hda
default=0
timeout=10
title Red Hat Linux (2.4.20-8-Jan2004)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-8-Jan2004 ro root=LABEL=/
        initrd /initrd-2.4.20-8-Jan2004.img


title Red Hat Linux (2.4.20-8)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-8 ro root=/dev/hda1
        initrd /initrd-2.4.20-8.img
_____________________________________________________


Here is the server's /etc/fstab file:;
_____________________________________________________
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda3               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
_____________________________________________________

Hre is the display of df -h
_____________________________________________________
[root at server grub]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2              27G  1.7G   24G   7% /
/dev/hda1              99M  9.0M   85M  10% /boot
none                  220M     0  220M   0% /dev/shm
[root at server grub]#
_____________________________________________________

Regards.
-Swapna

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


More information about the Linux-users mailing list