From owner-freebsd-questions@FreeBSD.ORG Thu Jan 27 10:42:20 2005 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 3A16B16A4CE for ; Thu, 27 Jan 2005 10:42:20 +0000 (GMT) Received: from web51707.mail.yahoo.com (web51707.mail.yahoo.com [206.190.38.225]) by mx1.FreeBSD.org (Postfix) with SMTP id A5B6343D41 for ; Thu, 27 Jan 2005 10:42:19 +0000 (GMT) (envelope-from sarav_gsa@yahoo.com) Received: (qmail 60645 invoked by uid 60001); 27 Jan 2005 10:42:19 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Y00O86ULnz8RKdinOwqqXdXNoopJCzd8CZjIRH5GN4w1hbFOlK8BAU6Iao9sMv8sy4BGbNo+IV86pVkxKVtqXGWxYlGB6Z500qkIbCW92fR8pZZ1pvKsB2zRzzzNhvRMIQtAFQOu/yYo6jMKvpYiohryuEl7DEbzjtmutKP5AYI= ; Message-ID: <20050127104219.60643.qmail@web51707.mail.yahoo.com> Received: from [203.193.155.110] by web51707.mail.yahoo.com via HTTP; Thu, 27 Jan 2005 02:42:18 PST Date: Thu, 27 Jan 2005 02:42:18 -0800 (PST) From: saravanan ganapathy To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: modify existing partitions - newbie X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 10:42:20 -0000 Hai, I just needed to delete some partitions(ad0s1e & ad0s1f) in my existing slice(ad0s1) and recreate with some changes. 1) I tried using 'sysinstll --> Config --> Label' , then delete e & f , but this couldn't write. It says 'unable to write data on ad0' . What is the problem? 2) Tried using 'disklabel -e ad0s1', then a file opens. I deleted the last two lines(e & f) and saved. Now it shows as the following # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 41943040 0 4.2BSD 2048 16384 28552 b: 4194304 83886080 swap c: 320159322 0 unused 0 0 # "raw" part, don't edit d: 41943040 41943040 4.2BSD 2048 16384 28552 Is it the correct way to delete the partitions? 3) How to add new partitions in the same slice? ( I read lot of links, all are about formatting a new slice) Please help me Sarav __________________________________ Do you Yahoo!? All your favorites on one personal page – Try My Yahoo! http://my.yahoo.com