Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2005 00:19:22 +0100
From:      Dick Davies <rasputnik@hellooperator.net>
To:        Uli Middelberg <uli@middelberg.de>
Cc:        FreeBSD Stable Users <freebsd-stable@freebsd.org>
Subject:   Re: grub on 5.4
Message-ID:  <20050422231922.GP73687@eris.tenfour>
In-Reply-To: <426954DB.50409@middelberg.de>
References:  <20050422101436.GL73687@eris.tenfour> <426954DB.50409@middelberg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
* Uli Middelberg <uli@middelberg.de> [0447 20:47]:
> Dick Davies schrieb:
> >grub> find /boot/grub/stage1
> > (hd0,0,a)
> >
> >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,0,a)"... failed (this is not 
> > fatal)
> > Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p 
> > /boot/grub/menu.lst "... failed
> >
> >Error 29: Disk write error
> >
> >grub> quit
> >
> 
> It will work when you install grub after booting
> from floppy disk or CD.

Wow, that's a bit messed up - I need to boot off a different disk before I 
can write to the MBR? Someone mentioned a GEOM quirk, is that what's stopping
me doing it from within freebsd?

I wonder why boot0cfg doesn't have the same problem?
 
> You may create a bootable grub floppy with
> $ cd /boot/grub
> $ dd if=stage1 of=/dev/fd0 bs=512 count=1
> $ dd if=stage2 of=/dev/fd0 bs=512 seek=1

Thanks, but if it's a freebsd thing I'll just install the MBR from one of the
other OSes - do you know if I need our patched grub for the mbr to grok ufs2,
or will a leenux one work?

-- 
'Oh. Your. God.'
		-- Bender
Rasputin :: Jack of All Trades - Master of Nuns



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050422231922.GP73687>