GEOM and grub

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Apr 6 11:43:49 PDT 2004


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.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-geom mailing list