GEOM and grub
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Apr 6 12:23:23 PDT 2004
On Tue, Apr 06, 2004 at 08:43:05PM +0200, Poul-Henning Kamp wrote:
+> In message <20040406183623.GA17430 at 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! :-)
+>
+> sysctl kern.geom.debugflags=16
+>
+> 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
:)
--
Pawel Jakub Dawidek http://www.FreeBSD.org
pjd at FreeBSD.org http://garage.freebsd.pl
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20040406/9f81d4db/attachment.bin
More information about the freebsd-geom
mailing list