On Mon, Aug 06, 2007 at 01:41:17AM +0200, [EMAIL PROTECTED] wrote:
> I would like to get a OpenBSD installed on a box where a FreeBSD 6.2 is
> currently installed.
> 
> I thought about using Yaifo like I did many times before.
> I just have to face a problem with FreeBSD.....:
> 
> My HDD is ad4s1 and I would like to use dd to simply overwrite the HDD
> with yaifo.fs but I can't. I get a "permission denied" (as root!) if I try
> it.
> 
> I tried:
> 
> ad0, ad4, ad4s1, ad4s1c.. all the same.
> 
> Seriously: Somebody knows how to get RID OF THAT DAMN fBSD and get a
> OpenBSD at the Box? Inserting a CD is no choice because the Box is about
> 14000 miles away.
> 
> Seriously: if root can't write a Image to the HDD (as "root"....) the
> system is just "fucked" up and the concepts are braindead.... But propably
> I'm lacking leet fBSD skills here...
> 
> So has somebody more fBSD experience to advise me how I can (without
> serial consoele nor "rescue" linux..) I simply apply a Image to the HDD?
> 
> A simple dd if=yaifo.fs of=/dev/ad4s1 or so would be great!

Well, you could try remounting the filesystem as read-only. Also, I seem to
remember that geom had a sysctl for allowing dangerous operations such as
writing to the MBR while partitions were in use. Hmm, a quick google
suggests:

   sysctl kern.geom.debug = 16

This is known as the "foot-shooting" flag :-) See
http://www.freebsd.org/cgi/man.cgi?query=geom&sektion=4&apropos=0&manpath=FreeBSD+6.2-RELEASE

HTH,

Brian.

Reply via email to