From owner-freebsd-geom@FreeBSD.ORG Tue Apr 6 12:23:22 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEB5E16A4CE for ; Tue, 6 Apr 2004 12:23:22 -0700 (PDT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90F7143D45 for ; Tue, 6 Apr 2004 12:23:22 -0700 (PDT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 1328CACAEE; Tue, 6 Apr 2004 20:47:01 +0200 (CEST) Date: Tue, 6 Apr 2004 20:47:01 +0200 From: Pawel Jakub Dawidek To: Poul-Henning Kamp Message-ID: <20040406184701.GC661@darkness.comp.waw.pl> References: <20040406183623.GA17430@schweikhardt.net> <11438.1081276985@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qbvjkv9qwOGw/5Fx" Content-Disposition: inline In-Reply-To: <11438.1081276985@critter.freebsd.dk> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: geom@freebsd.org cc: Jens Schweikhardt Subject: Re: GEOM and grub X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2004 19:23:23 -0000 --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 06, 2004 at 08:43:05PM +0200, Poul-Henning Kamp wrote: +> In message <20040406183623.GA17430@schweikhardt.net>, Jens Schweikhardt = writes: +> >Hello *, +> > +> >it appears GEOM prevents grub from mucking with the MBR and/or the next +> >15 or so sectors where it wants to write stage1 and/or stage1_5 (grub +> >reports failed write attempts). +> > +> >Is there any way to let grub do its magic (other than installing 4.X +> >without geom, patching grub, booting a 4.X fixit CD)? I want rope +> >to shoot my foot!!!1! :-) +>=20 +> sysctl kern.geom.debugflags=3D16 +>=20 +> will allow you to write to the full disk even if it is open. Do I said: THANK YOU! already?:) I was trying to create new file system, and instead of doing: # newfs -O2 /dev/ad0s2 I did: # newfs -O2 /dev/ad2 very important data for me were there, but geom_slice saved my ass: newfs: /dev/ad2: failed to open disk for writing :) --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --Qbvjkv9qwOGw/5Fx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAcvslForvXbEpPzQRAtzOAJ4j+hl4ZMGbi9YyPHrTFYr/RSC7+wCeOGAB fElXTr/C0W748f+kv9H/zYw= =/3Bf -----END PGP SIGNATURE----- --Qbvjkv9qwOGw/5Fx--