From owner-freebsd-questions Sat Mar 18 13:45:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wookie.bellsouth.cl (bellsouth.cl [206.48.84.212]) by hub.freebsd.org (Postfix) with ESMTP id CAA0837B661 for ; Sat, 18 Mar 2000 13:45:17 -0800 (PST) (envelope-from bsdq@stgo.cl) Received: from stgo.cl (bsdq@[206.48.86.98]) by wookie.bellsouth.cl (8.9.3/8.9.3) with SMTP id RAA09663 for ; Fri, 17 Mar 2000 17:44:43 -0400 Date: Sat, 18 Mar 2000 18:42:48 +0000 (GMT) From: Marcelo To: questions@FreeBSD.ORG Subject: Merging Swap Partitions In-Reply-To: <20000318222716.A879@student.csd.uu.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I set up two 250 meg swap partitions on the same drive. I realised that this wasn't the smartest thing to do so I would like to merge them into one. The thing is that these partitions were configured durring system install and the fdisk command from the prompt is not the most user friendly. swapinfo right now gives me the following: www# swapinfo Device 1K-blocks Used Avail Capacity Type /dev/da0s2b 262144 0 262016 0% Interleaved /dev/da0s2e 262144 0 262016 0% Interleaved /dev/da1s2b 262144 0 262016 0% Interleaved Total 786048 0 786048 0% and fdisk /dev/da0 the following: ******* Working on device /dev/rda0 ******* parameters extracted from in-core disklabel are: cylinders=1106 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1106 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 130,(Linux swap or Solaris x86) start 16065, size 498015 (243 Meg), flag 0 beg: cyl 1/ sector 1/ head 0; end: cyl 31/ sector 63/ head 254 The data for partition 2 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 1012095, size 16755795 (8181 Meg), flag 80 (active) beg: cyl 63/ sector 1/ head 0; end: cyl 1023/ sector 63/ head 254 The data for partition 3 is: sysid 18,(unknown) start 63, size 16002 (7 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 0/ sector 63/ head 254 The data for partition 4 is: sysid 130,(Linux swap or Solaris x86) start 514080, size 498015 (243 Meg), flag 0 beg: cyl 32/ sector 1/ head 0; end: cyl 62/ sector 63/ head 254 Thanks Marcelo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message