From owner-freebsd-questions Fri Jul 17 04:59:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA21873 for freebsd-questions-outgoing; Fri, 17 Jul 1998 04:59:05 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from harfang.CC.UMontreal.CA (harfang.CC.UMontreal.CA [132.204.2.102]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA21863 for ; Fri, 17 Jul 1998 04:59:03 -0700 (PDT) (envelope-from beaupran@JSP.UMontreal.CA) Received: from epsom.jsp.umontreal.ca (epsom.JSP.UMontreal.CA [132.204.45.25]) by harfang.CC.UMontreal.CA (8.8.8/8.8.8) with SMTP id HAA18513; Fri, 17 Jul 1998 07:58:52 -0400 (EDT) Received: from outpost.nada.org (derby.jsp.umontreal.ca [132.204.45.26]) by epsom.jsp.umontreal.ca via SMTP (951211.SGI.8.6.12.PATCH1502/JSP1789) id HAA06476; Fri, 17 Jul 1998 07:58:50 -0400 Date: Fri, 17 Jul 1998 08:00:44 -0400 (EDT) From: Spidey X-Sender: beaupran@outpost.nada.org To: Julian Elischer cc: Question=answer Subject: Melting 2 partitions into 1, again In-Reply-To: <356DBD66.167EB0E7@whistle.com> 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 must thank you if haven't already for the help you gave me on partition handling. I know it's been a while but I still need your help. Remember my HD settings? On Thu, 28 May 1998, Julian Elischer wrote: > > > 1000MB DOS > > > 500MB free > > > 1250MB FBSD > > > 500MB free > > > Well, I grew up the fbsd part, and it's now: 1 GB DOS 500 MB Free 1750 MB FBSD Now I wish to fit in the 500 MB that is before the FBSD. Is it a different procedure? If I would try, I would do fdisk to change to starting block, reboot as -s, do disklabel to reflect the changes. Is that OK? BTW, once I fitted the new sizes, is it possible to change the respective partition sizes in FBSD itself, later? (let's say I need more /var space?) Thanks in advance! > ok this is a dead snap. > just use (from UNIX in single user mode) > fdisk -u /dev/rwd0 > and extend the size of the BSD partition to be the > whole rest of the diskby adding the remaining blocks to the > present size of 2612736 > then reboot ( not strictly needed but.... ) > after reboot, in single user mode do: > If the device /dev/rwds2 doesn't exist in /dev. > (cd /dev ; sh MAKEDEV wd0s2g) > > disklabel -r -e /dev/rwd0s2 rwd0c might work as well > > edit the 'blocks per unit field and the size of the 'c' > partition to reflect the new size. > > reboot. to single user mode again > check during boot for any unusiual errors about the disk partitions. > > let me know what disklabel and fdisk looks like after this.. > > Spidey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message