[NBLUG/talk] [Fwd: Boot loader]

Mark Street jet at sonic.net
Fri Mar 19 19:39:00 PST 2004


Well..... at least we know the grub package is installed.

We may as well take the scenic route.  From a root shell run;

# which grub-install
System returns ->  /sbin/grub-install

NOTE - if you are not logged into a root shell with an 'su -' or logged in 
from a virtual terminal as root you will not see the grub-install program 
because it is not located in your search PATH, the $PATH variable is used to 
search for programs that run on the system.

After you grok that you are welcome to run the grub-install program located 
in /sbin and install the grub boot loader onto your system.

# /sbin/grub-install /dev/hda

or 

# cd /sbin
# ls grub*
# ./grub-install /dev/hda

Have a good weekend.


On Friday 19 March 2004 07:02 pm, Ian Sutherland wrote:
> [root at localhost RPMS]# rpm -ivh grub-0.93-4.i386.rpm
> Preparing...                ###########################################
> [100%]
>         package grub-0.93-4 is already installed
>
>
> [root at localhost root]# grub-install /dev/hda
> bash: grub-install: command not found
>
>
> [root at localhost root]# yum install grub
> bash: yum: command not found
>
> DOES THIS NOTICE IN grub.conf. CONVEY ANYTHING?
>
> 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

-- 
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