From owner-freebsd-questions@FreeBSD.ORG Tue Jan 3 20:01:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3159316A41F for ; Tue, 3 Jan 2006 20:01:32 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52A8E43D81 for ; Tue, 3 Jan 2006 20:01:23 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2) with ESMTP id k03K1IiU018461; Tue, 3 Jan 2006 15:01:18 -0500 (EST) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2/Submit) id k03K1HI6018460; Tue, 3 Jan 2006 15:01:17 -0500 (EST) From: Jerry McAllister Message-Id: <200601032001.k03K1HI6018460@clunix.cl.msu.edu> To: nagylzs@freemail.hu (=?ISO-8859-2?Q?L=E1szl=F3_Nagy?=) Date: Tue, 3 Jan 2006 15:01:17 -0500 (EST) In-Reply-To: <43B74566.9010202@freemail.hu> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: unable to write data to disk ad0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 20:01:32 -0000 > > > >First of all, lets get the terminology straightened out. > >I think you mean to say that you want to add a partition to > >your FreeBSD slice. > > > Yes. > > >Second, I presume you are booted to that drive. The system does > >not allow you to modify the label on the boot drive. If it is the > >only FreeBSD bootable drive you have, then you will need to boot > >from the 'fixit' CD and run from that to modify the label and > >add the additional partition. > > > > > Well, finally I read the disklabel manual over again (about 3 times) and > I COULD add a new > partition on my boot drive! > > >By the way, this is in either the handbook, FAQs or the archive. > > > > > This is typical. You know what, after googling for serveral hours, I > found out that > it did not let me write on the disk because the kernel had > SECURELEVEL=2. This is > something that should be in the manual. I appreciate that you wanted to > help me, but > actually you pointed me to the wrong direction two times. regardless, you would be better off doing this from a not booted drive. ////jerry > > I suggest to change the documentation of the disklabel/bsdlabel and > fdisk programs. > We should add this warning: > > "Warning: you need to disable your kernel securelevel in /etc/rc.conf. > The kernel does not > allow to modify disk label information above securelevel=N." > > (I'm still not sure about the value of N). > > I'm not sure where can I add this request to change the documentation. > But it would save hundreds of hours for newbies and supporters too. > > Best, > > Les > >