[NBLUG/talk] Boot loader

Mark Street jet at sonic.net
Fri Mar 19 12:56:01 PST 2004


OK, either the binary is not in your path or grub is NOT installed.

/sbin/grub-install /dev/hda

If that doesn't work.  Place your CD into the drive and install grub with an 
rpm -ivh grub...blah.rpm.  If you have networking up issue the yum command to 
install grub          # yum install grub

After you have it installed from rpm issue the grubinstall /dev/hda command 
and see.

Your grub.conf looks peachy keen. 

On Friday 19 March 2004 12:24 pm, Ian Sutherland wrote:
> This was the response to grub-install.
>
> bash: grub-install: command not found
>
> The following is the contents of grub.conf;
>
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this
> file
> # NOTICE:  You do not have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /, eg.
> #          root (hd0,6)
> #          kernel /boot/vmlinuz-version ro root=/dev/hdc7
> #          initrd /boot/initrd-version.img
> #boot=/dev/hdc
> default=0
> timeout=10
> splashimage=(hd0,6)/boot/grub/splash.xpm.gz
> title Red Hat Linux (2.4.20-30.9)
>         root (hd0,6)
>         kernel /boot/vmlinuz-2.4.20-30.9 ro root=LABEL=/ hdb=ide-scsi
>         initrd /boot/initrd-2.4.20-30.9.img
> title Red Hat Linux (2.4.20-28.9)
>         root (hd0,6)
>         kernel /boot/vmlinuz-2.4.20-28.9 ro root=LABEL=/ hdb=ide-scsi
>         initrd /boot/initrd-2.4.20-28.9.img
> title Red Hat Linux (2.4.20-8)
>         root (hd0,6)
>         kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdb=ide-scsi
>         initrd /boot/initrd-2.4.20-8.img
> title DOS
>         rootnoverify (hd0,0)
>         chainloader +1

-- 
Mark Street, D.C.
Red Hat Certified Engineer
Cert# 807302251406074
--
Key fingerprint = 3949 39E4 6317 7C3C 023E  2B1F 6FB3 06E7 D109 56C0
GPG key http://www.streetchiro.com/pubkey.asc



More information about the talk mailing list