From owner-freebsd-questions@FreeBSD.ORG Fri Jan 28 16:08:03 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 AFEAE16A4CE for ; Fri, 28 Jan 2005 16:08:03 +0000 (GMT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5081143D3F for ; Fri, 28 Jan 2005 16:08:03 +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 j0SG7tA14683; Fri, 28 Jan 2005 11:07:55 -0500 (EST) From: Jerry McAllister Message-Id: <200501281607.j0SG7tA14683@clunix.cl.msu.edu> To: sarav_gsa@yahoo.com (saravanan ganapathy) Date: Fri, 28 Jan 2005 11:07:54 -0500 (EST) In-Reply-To: <20050128054914.65755.qmail@web51706.mail.yahoo.com> from "saravanan ganapathy" at Jan 27, 2005 09:49:14 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: jerrymc@clunix.cl.msu.edu 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: Fri, 28 Jan 2005 16:08:03 -0000 > > > > # "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. > > > > Now I tried to create new partitions on the free space > of the existing slice in single mode, but I am getting > the same error as 'unable to write data on ad0' . I am > doing this in root user only. What are all the > permissions should I have for this? > > Or please suggest me to create a partition in another > way? As I say, I have never tried to modify partitions on the root/boot disk currently being used. I suspect that, since the root partition of that disk is mounted, you will not be able to write in the label even for other not-currently mounted partitions on that disk. You may have to boot from some other device, either another disk or a live CD or fixit floppy in order to work on that particular disk label. Maybe someone else on the list knows for sure.j ////jerry > > Sarav >