From owner-freebsd-questions Wed May 16 12:35:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.121.49]) by hub.freebsd.org (Postfix) with ESMTP id 4640137B43C for ; Wed, 16 May 2001 12:35:50 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (1Cust25.tnt11.buffalo.ny.da.uu.net [63.42.224.25]) by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id MAA05846; Wed, 16 May 2001 12:35:48 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id PAA00735; Wed, 16 May 2001 15:35:24 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200105161935.PAA00735@scarlet.my.domain> Subject: Re: expanding swap space? In-Reply-To: <20010516113141.D63106@dogma.freebsd-uk.eu.org> from j mckitrick at "May 16, 2001 11:31:41 am" To: jcm@FreeBSD-uk.eu.org (j mckitrick) Date: Wed, 16 May 2001 15:35:24 -0400 (EDT) Cc: freebsd-questions@freebsd.org Operating-System: FreeBSD X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I tarred and gzipped the main filesystems: /boot /home /usr / /var /tmp and /opt. I recreated the filesystems after using fdisk by untarring and uncompressing. I didn't notice any data missing. Ian As told by, j mckitrick > On Tue, May 15, 2001 at 04:18:26PM -0400, User Ipt Ian Patrick Thomas wrote: > | I have done something like this in Linux. What I did was write down the cylinders of where each partition began and ended. Once I had this I went and erased the appropriate partition, shaved of the amount of space I needed and reentered the partition info with the info from the new partition added. I used fdisk to do this. It seems like you would need to use disklabel. I would back up all info before attempting just to be safe. > > And how did you make sure you didn't lose data on the boundary of the two > partitions? > -- Have blue screens given you the blues, go to www.freebsd.org for the cure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message