Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2003 14:54:37 -0700 (PDT)
From:      Jason Stone <freebsd-current@dfmm.org>
To:        freebsd-current@freebsd.org
Subject:   Re: re-fdisk'ing a partition - permission denied? 
Message-ID:  <20030908143810.V55021@walter>
In-Reply-To: <20030908203049.5FF375D04@ptavv.es.net>
References:  <20030908203049.5FF375D04@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> You have hit one of the main issues still to be resolved in GEOM. (I
> don't know that phk thinks it's a problem to be resolved or a feature to
> be documented.)
>
> In any case, since GEOM was added you can no longer slice or label an
> active device.

Ah - is that to say that, in general, you can't mess with the disk's MBR?

I was also running into this.  The situation that I have is that I have a
bunch of colocated machines that are set in the bios to try booting a hard
disk, and then, failing that, pxe netboot.  I keep a pxeboot server there
in the colo with an up-to-date binary release, and when I want to upgrade
a machine, I just overwrite the mbr with zeros and reboot.  The bios will
then netboot, and the release is scripted to be noninteractive, to wipe
the disks and re-install and then reboot the system when it's done.

If I can't touch the mbr on the running system, then I won't be able to
work this way anymore.  Is there some other alternative?

If I were running linux, I could write to /dev/nvram to update the bios
cmos settings from the running system - does freebsd have a similar way to
access the bios cmos settings?


 -Jason

 --------------------------------------------------------------------------
 Freud himself was a bit of a cold fish, and one cannot avoid the suspicion
 that he was insufficiently fondled when he was an infant.
	-- Ashley Montagu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
Comment: See https://private.idealab.com/public/jason/jason.gpg

iD8DBQE/XPqeswXMWWtptckRAiZPAJwLRGlbcIPCEJGgnJzeCG2sZtXvxACfWMhz
tBO8PAjJu6OOZrNP4S3zIps=
=9wdb
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030908143810.V55021>