From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 15:05:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DF029963 for ; Mon, 3 Jun 2013 15:05:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9DDF91211 for ; Mon, 3 Jun 2013 15:05:54 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r53F5ieT028130; Mon, 3 Jun 2013 09:05:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r53F5i9D028127; Mon, 3 Jun 2013 09:05:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 3 Jun 2013 09:05:44 -0600 (MDT) From: Warren Block To: saeedeh motlagh Subject: Re: define more partitions in freebsd In-Reply-To: Message-ID: References: <87y5atg73c.fsf@oak.localnet> <87y5ascp6v.fsf@oak.localnet> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 03 Jun 2013 09:05:44 -0600 (MDT) Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 15:05:54 -0000 On Mon, 3 Jun 2013, saeedeh motlagh wrote: > thanks Carl, > > i tried your your manual step by steps on FreeBSD8.2 but error happened. > this is what i've done: > gpart create -s MBR ad3 > ad3 created > gpart add -t freebsd ad3 > ad3s1 added > gpart create -s BSD -n 20 ad3s1 > gpart: geom 'ad3s1': File Exists > > if i do not run the second command and run the third one, it says "invalid > argument". > > i don't know what should i do:( any comments or hints are really > appreciated. [please stop top-posting, it makes replies more difficult] The slice entry is still present on the disk, and must be removed and recreated: gpart delete -i1 ad3 gpart add -t freebsd ad3 Again, GPT is a better solution unless you have a Thinkpad with a broken BIOS.