From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 11:12:04 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 A29BD37B401 for ; Mon, 21 Apr 2003 11:12:04 -0700 (PDT) Received: from tatooine.compnor.net (007.jamesp.adsl.st.staffnet.com [198.79.85.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB10543FAF for ; Mon, 21 Apr 2003 11:12:02 -0700 (PDT) (envelope-from jamesp@uversa.com) Received: from there (004.jamesp.adsl.st.staffnet.com [198.79.85.195]) by tatooine.compnor.net (8.12.9/8.8.7) with SMTP id h3LIC3iY015231 for ; Mon, 21 Apr 2003 14:12:03 -0400 Message-Id: <200304211812.h3LIC3iY015231@tatooine.compnor.net> Content-Type: text/plain; charset="iso-8859-1" From: James Pancoast To: freebsd-questions@freebsd.org Date: Mon, 21 Apr 2003 14:11:58 -0400 X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Problem formatting new hard drive. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jamesp@uversa.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 18:12:05 -0000 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.html 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