From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 11:24:34 2003 Return-Path: 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 628C637B401 for ; Mon, 21 Apr 2003 11:24:33 -0700 (PDT) Received: from thunderbird.etv.net (thunderbird.etv.net [208.14.190.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60BE843FCB for ; Mon, 21 Apr 2003 11:24:33 -0700 (PDT) (envelope-from efinleywork@efinley.com) Received: from [208.14.190.162] (helo=elliotdevelop) by thunderbird.etv.net with smtp (Exim 4.10) id 197fxx-0009iW-00; Mon, 21 Apr 2003 12:24:33 -0600 Message-ID: <059201c30833$414f82b0$695ad70a@elliotdevelop> From: "Elliot Finley" To: , References: <200304211812.h3LIC3iY015231@tatooine.compnor.net> <058801c30832$36e57420$695ad70a@elliotdevelop> <200304211820.h3LIK5iY015802@tatooine.compnor.net> Date: Mon, 21 Apr 2003 12:24:28 -0600 Organization: Emery Telcom MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: Re: Problem formatting new hard drive. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Elliot Finley List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 18:24:34 -0000 That's it. Just set kern_securelevel_enable="NO" while you are messing with your drives. Elliot ----- Original Message ----- From: "James Pancoast" To: "Elliot Finley" ; Sent: Monday, April 21, 2003 12:19 PM Subject: Re: Problem formatting new hard drive. > > > kern_securelevel="2" > kern_securelevel_enable="YES" > > Is that it? > > On Monday 21 April 2003 14:17, Elliot Finley wrote: > > What is your securitylevel set to in rc.conf? > > > > Elliot > > > > ----- Original Message ----- > > From: "James Pancoast" > > To: > > Sent: Monday, April 21, 2003 12:11 PM > > Subject: Problem formatting new hard drive. > > > > > I'm new to FreeBSD (I installed it on a system this weekend). I've been > > > trying to add a new Hard drive, following the directions at: > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/formatting-media/x66.ht > >m l > > > > > Going through sysinstall didn't work, so I tried the command line > > > (dd if=/dev/zero of=/dev/ad2 count=2). However, when I run that command > > > > (as > > > > > root), I get "Operation not permitted". Anyone have an idea what I'm > > > > doing > > > > > wrong? > > > > > > The drive used to be in a Linux system, and an fdisk /dev/ad2 gives this: > > > ******* Working on device /dev/ad2 ******* > > > parameters extracted from in-core disklabel are: > > > cylinders=25232 heads=16 sectors/track=63 (1008 blks/cyl) > > > > > > Figures below won't work with BIOS for partitions not in cyl 1 > > > parameters to be used for BIOS calculations are: > > > cylinders=25232 heads=16 sectors/track=63 (1008 blks/cyl) > > > > > > Media sector size is 512 > > > Warning: BIOS sector numbering starts with sector 1 > > > Information from DOS bootblock is: > > > The data for partition 1 is: > > > sysid 131 (0x83),(Linux native) > > > start 63, size 25433793 (12418 Meg), flag 0 > > > beg: cyl 0/ head 1/ sector 1; > > > end: cyl 1023/ head 15/ sector 63 > > > The data for partition 2 is: > > > > > > The data for partition 3 is: > > > > > > The data for partition 4 is: > > > > > > > > > Thanks. > > > > > > > > > -- > > > James Pancoast > > > jamesp@uversa.com > > > www.uversa.com > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > > "freebsd-questions-unsubscribe@freebsd.org" > > -- > James Pancoast > jamesp@uversa.com > www.uversa.com