From owner-freebsd-questions@FreeBSD.ORG Thu Jan 27 15:38:25 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 B31A816A4CF for ; Thu, 27 Jan 2005 15:38:25 +0000 (GMT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29D2C43D48 for ; Thu, 27 Jan 2005 15:38:25 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id j0RFcMY08750; Thu, 27 Jan 2005 10:38:22 -0500 (EST) From: Jerry McAllister Message-Id: <200501271538.j0RFcMY08750@clunix.cl.msu.edu> To: sarav_gsa@yahoo.com (saravanan ganapathy) Date: Thu, 27 Jan 2005 10:38:21 -0500 (EST) In-Reply-To: <20050127104219.60643.qmail@web51707.mail.yahoo.com> from "saravanan ganapathy" at Jan 27, 2005 02:42:18 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: 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 15:38:25 -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? First guess is not having permission. It should be done in single user mode. Second guess is the partition you want to delete is mounted. I have never tried to modify partitions on the disk with root on it, so maybe that presents special problems. You may need to boot from something else - live CD for example. ////jerry > > 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 > _______________________________________________ > 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" >