From owner-freebsd-hackers Fri Apr 6 1:15: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail2.resfeber.se (Resfeber-gw.customer.internet5.net [195.66.48.230]) by hub.freebsd.org (Postfix) with ESMTP id 7958937B43E for ; Fri, 6 Apr 2001 01:14:55 -0700 (PDT) (envelope-from jon.molin@resfeber.se) Received: from resfeber.se ([212.75.72.9]) by mail2.resfeber.se (8.9.3/8.9.3) with ESMTP id KAA29448; Fri, 6 Apr 2001 10:06:22 +0200 Message-ID: <3ACD7B94.300B2D49@resfeber.se> Date: Fri, 06 Apr 2001 10:17:24 +0200 From: Jon Molin X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Hesford Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Adding a new drive References: <3ACD6E95.9AF73435@resfeber.se> <20010406030353.A28772@cec.wustl.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The -I option gives the same output: jmo# fdisk -I ad3 ******* Working on device /dev/ad3 ******* fdisk: invalid fdisk partition table found jmo# disklabel -B -w -r ad3s1 auto disklabel: /dev/ad3s1: Device not configured /jon Andrew Hesford wrote: > > On Fri, Apr 06, 2001 at 09:21:57AM +0200, Jon Molin wrote: > > jmo# fdisk -BI ad3 > > > > ******* Working on device /dev/ad3 ******* > > fdisk: invalid fdisk partition table found > > Obviously you didn't read the man pages. `fdisk -BI ad3` is a typo, most > likely because the disklabel command uses the -Brw flag. From the > man page, we see that fdisk's -B flag reinitializes boot code in sector > 0 of the disk. But if there is no code to reinitialize, it exits with an > error, saying you don't have a proper MBR. > > If you want a single slice on the disk, just do `fdisk -I ad3`. Then run > disklabel like the walkthrough says. > -- > Andrew Hesford > ajh3@chmod.ath.cx > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message