If boot's not a separate partition, it probably shouldn't be mentioned in the 
fstab.  If you mount boot, I think it will be the same as the root, which 
would explain why /boot/grub would end up being /grub.

On August 21, 2003 01:19 pm, Shawn Grover wrote:
> hmmm... at first glance, I don't really see a problem with your fstab -
> except that you are mounting the same partition twice, but I don't know if
> that shouldn't be done.
>
> At this point, I think you've passed by my skills...  My boxes are setup
> using the 3 partition layout that the install guide uses.  Beyond this,
> we'll need to hear from someone who understands the fstab and mounting
> better than me.
>
> Best of luck with it....
>
> Shawn
>
> -----Original Message-----
> From: Jason Louie [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 21, 2003 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: Re: (clug-talk) Gentoo Grub help
>
>
> Here is the fstab:
>
> /dev/hda1               /boot           ext3
> noauto,noatime          1 1
> /dev/hda1               /               ext3
> noatime                 0 0
> /dev/hda2               none            swap
> sw                      0 0
> /dev/cdroms/cdrom0      /mnt/cdrom      iso9660
> noauto,ro               0 0
>
> none                    /proc           proc
> defaults                0 0
>
> none                    /dev/shm        tmpfs
> defaults                0 0
> ### End of fstab ###
>
> Yes it was a late night.  Vacation can skew your schedule like that :-)
>
> Shawn Grover wrote:
> > You need to do something like this:
> >
> > mount /dev/hda1 /boot
> >
> > before you copy your image to the boot partition, and before you setup
>
> Grub.
>
> > In your fstab file, the default is to NOT mount the /boot partition when
>
> the
>
> > system comes up.  So, if you don't do the mount first, then you are
> > simply putting the files into a directory - not on the boot partition.
> >
> > (looks like you had a LATE night.... :D )
> >
> > HTH
> >
> > Shawn
> >
> > -----Original Message-----
> > From: Jason Louie [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 21, 2003 10:49 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: (clug-talk) Gentoo Grub help
> >
> > 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