Grub installation from the ports collection vs. Freebsd boot loader

Bruce Hunter freebsd at solisix.com
Sat Jul 3 16:45:27 PDT 2004


Hmm.. I'm root

I even tried changing the permissions on /dev/ad0
the device has read and write access.. wierd.

Maybe instead of setup (hd0) it should be setup (ad0)
But device.map sets the hd0 pointer to /dev/ad0

any other ideas?

Bruce

On Sat, 2004-07-03 at 19:31, Geert Hendrickx wrote:
> Seems as you don't have write permission for /dev/ad0.  Did you run grub
> as root?  
> 
> GH
> 
> On Sat, Jul 03, 2004 at 07:21:45PM -0400, Bruce Hunter wrote:
> > I moved all the files and ran the commands that you said. I am having
> > this problem.
> > 
> >     GNU GRUB  version 0.95  (640K lower / 3072K upper memory)
> > 
> >  [ Minimal BASH-like line editing is supported.  For the first word, TAB
> >    lists possible command completions.  Anywhere else TAB lists the
> > possible
> >    completions of a device/filename. ]
> > 
> > grub> root (hd0,1,a)
> >  Filesystem type is ufs2, partition type 0xa5
> > 
> > grub> setup (hd0)
> >  Checking if "/boot/grub/stage1" exists... yes
> >  Checking if "/boot/grub/stage2" exists... yes
> >  Checking if "/boot/grub/ufs2_stage1_5" exists... yes
> >  Running "embed /boot/grub/ufs2_stage1_5 (hd0)"... failed (this is not
> > fatal)
> >  Running "embed /boot/grub/ufs2_stage1_5 (hd0,1,a)"... failed (this is
> > not fata
> > l)
> >  Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p
> > /boot/grub/menu.l
> > st "... failed
> > 
> > Error 29: Disk write error
> > 
> > grub>
> > 
> > Bruce
> > 
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
> 



More information about the freebsd-questions mailing list