So do I need to make a boot partition?  I did the following:

grub> root (hd0,0)
grub> setup (hd0)

Here is the grub.conf file:

timeout 30
default 0
fallback 1

# Splash Image
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title  GNU/Linux
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/hda1

# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root    (hd0,0)
setup   (hd0)

# Change the colors.
title Change the colors
color light-green/brown blink-red/blue
### end of grub file ###

Here is the /boot/ listing:
lrwxrwxrwx    1 root     root            1 Aug 14 00:41 boot -> .
-rw-r--r--    1 root     root      1333181 Aug 21 02:46 bzImage
drwxr-xr-x    2 root     root         4096 Aug 21 11:19 grub
### End of listing ###


# /etc/mtab
/dev/hda1 / ext3 rw,noatime 0 0
/dev/hda1 /boot ext3 rw,noatime 0 0
### end of mtab ###

Was it correct copying the grub directory into /boot/?  


Shawn Grover wrote:
> 
> Sounds like you forgot to mount the /boot partition before going through the
> Grub setup.  I've done this a couple of times when recompiling my kernel.
> Posting your grub.conf file will help some, but I think the problem is in
> how/when grub got installed.
> 
> Shawn
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 21, 2003 2:34 AM
> To: [EMAIL PROTECTED]
> Subject: (clug-talk) Gentoo Grub help
> 
> Hello all, I've just spent the last little while installing Gentoo and have
> ran into a little snag.  I'm not very formilar with grub or the details of
> the boot process so bare with me.  After I install gentoo and reboot the
> computer I get the following output:
> GRUB hard disk error
> 
> I've gone through the installation manual and looked to google to find a
> solution but couldn't diagnose the problem.  I've complied the kernel and
> copied the bzImage to the /boot directory on /dev/hda1 and installed grub as
> my bootloader.  I have two partitions
> 
> /dev/hda1 >> /
> /dev/hda2 >> swap
> 
> I've set /dev/hda1 to be bootable using cfdisk.
> One odd thing I noticed was that when I installed grub, /grub/ was created
> rather than /boot/grub/ as mentioned in all the gentoo examples I've seen.
> I've tried linking to the /grub/ directory and even copied the directory
> recursivly into the /boot/ directory but the same problem exists.  I'm out
> of ideas here and any help is apprieciated.  Thx.
> 
> Jason

Reply via email to