From owner-freebsd-stable@FreeBSD.ORG Fri Apr 22 23:29:30 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 30EE916A4CE for ; Fri, 22 Apr 2005 23:29:30 +0000 (GMT) Received: from ms-smtp-01.rdc-nyc.rr.com (ms-smtp-01-smtplb.rdc-nyc.rr.com [24.29.109.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1F8043D41 for ; Fri, 22 Apr 2005 23:29:29 +0000 (GMT) (envelope-from scottro@scottro.net) Received: from mail.scottro.net (cpe-68-175-68-211.nyc.res.rr.com [68.175.68.211])j3MNTQT3004264 for ; Fri, 22 Apr 2005 19:29:27 -0400 (EDT) Received: by mail.scottro.net (Postfix, from userid 1001) id 84D2560F4; Fri, 22 Apr 2005 19:29:26 -0400 (EDT) Date: Fri, 22 Apr 2005 19:29:26 -0400 From: Scott Robbins To: freebsd-stable@freebsd.org Message-ID: <20050422232926.GA26455@mail.scottro.net> Mail-Followup-To: freebsd-stable@freebsd.org References: <20050422101436.GL73687@eris.tenfour> <426954DB.50409@middelberg.de> <20050422231922.GP73687@eris.tenfour> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20050422231922.GP73687@eris.tenfour> User-Agent: Mutt/1.5.9i X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: grub on 5.4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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:29:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Apr 23, 2005 at 12:19:22AM +0100, Dick Davies wrote: > > 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? The usual one will work. title FreeBSD root (hd0,1,a) kernel /boot/loader If that doesn't work, you can do the chainloader +1 thingie, but it shouldn't be necessary--somewhere in either the early 5.x or at some point in CURRENT, the above syntax wasn't working with older versions of GRUB. Howevr, the current GRUB will work with the above syntax. (It had to do with older versions not recognizing the ufs2, but the issue has been fixed.) HTH - -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Cordelia: What is stalking nowadays, like, the third most popular sport among men? Angel: Fourth, after luge -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCaYjW+lTVdes0Z9YRAjYZAJ9aV/hXT6mowGT06unbFym9FK7adgCgvAx3 okPUg28Mn0v/Rogd7F/7Xpw= =HCz7 -----END PGP SIGNATURE-----