From owner-freebsd-stable@FreeBSD.ORG Fri Apr 22 23:19:31 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00AC116A4CF for ; Fri, 22 Apr 2005 23:19:31 +0000 (GMT) Received: from mta10-winn.mailhost.ntl.com (smtpout18.mailhost.ntl.com [212.250.162.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10FEA43D46 for ; Fri, 22 Apr 2005 23:19:28 +0000 (GMT) (envelope-from rasputnik@hellooperator.net) Received: from aamta07-winn.mailhost.ntl.com ([212.250.162.8]) by mta10-winn.mailhost.ntl.com with ESMTP <20050422231927.DOJL18795.mta10-winn.mailhost.ntl.com@aamta07-winn.mailhost.ntl.com>; Sat, 23 Apr 2005 00:19:27 +0100 Received: from 9.hellooperator.net ([81.103.32.202]) by aamta07-winn.mailhost.ntl.com with ESMTP <20050422231927.ESI10174.aamta07-winn.mailhost.ntl.com@9.hellooperator.net>; Sat, 23 Apr 2005 00:19:27 +0100 Received: from [10.4.0.5] (helo=eris.tenfour) by 9.hellooperator.net with esmtp (Exim 4.44) id 1DP7Qg-00072I-NT; Sat, 23 Apr 2005 00:19:24 +0100 Received: from rasputnik by eris.tenfour with local (Exim 4.50 (FreeBSD)) id 1DP7Qg-0009vr-KY; Sat, 23 Apr 2005 00:19:22 +0100 Date: Sat, 23 Apr 2005 00:19:22 +0100 From: Dick Davies To: Uli Middelberg Message-ID: <20050422231922.GP73687@eris.tenfour> References: <20050422101436.GL73687@eris.tenfour> <426954DB.50409@middelberg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <426954DB.50409@middelberg.de> User-Agent: Mutt/1.4.2.1i cc: FreeBSD Stable Users Subject: Re: grub on 5.4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dick Davies List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 23:19:31 -0000 * Uli Middelberg [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