Date: Fri, 22 Apr 2005 19:29:26 -0400 From: Scott Robbins <scottro@nyc.rr.com> To: freebsd-stable@freebsd.org Subject: Re: grub on 5.4 Message-ID: <20050422232926.GA26455@mail.scottro.net> In-Reply-To: <20050422231922.GP73687@eris.tenfour> References: <20050422101436.GL73687@eris.tenfour> <426954DB.50409@middelberg.de> <20050422231922.GP73687@eris.tenfour>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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 <heh> 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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050422232926.GA26455>