From owner-freebsd-questions@FreeBSD.ORG Fri Sep 22 18:56:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 27C0C16A40F for ; Fri, 22 Sep 2006 18:56:58 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D6CC43D4C for ; Fri, 22 Sep 2006 18:56:57 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id k8MIuoLc049364; Fri, 22 Sep 2006 11:56:52 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Fri, 22 Sep 2006 14:56:49 -0400 User-Agent: KMail/1.9.4 References: <45142A20.5040601@averageadmins.com> In-Reply-To: <45142A20.5040601@averageadmins.com> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609221456.50165.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Jeff Cross Subject: Re: Resizing Partitions, Losing Windows XP... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 18:56:58 -0000 On Friday 22 September 2006 14:23, Jeff Cross wrote: > I have been dual booting FreeBSD and Windows XP for quite sometime. > However, I never boot into Windows XP any longer. I can pretty much do > everything I need to do from within FreeBSD. Is there a way that I can > wipe out the Windows XP partition, resize the FreeBSD partition, and > install a standard FreeBSD MBR (no boot manager) without slicking and > reloading the hard drive? Probably several. See below. > I really like the way I have my stuff setup within FreeBSD and would > hate to have to recreate a lot of it as well as install applications > over again. Could I do a dump of my current FreeBSD partition, reformat > and partition the whole drive, install FreeBSD, and then restore my data > to the new partition or would this cause issues? Yes you could, and this is probably the recommended approach. Make sure you get a dump of each FreeBSD partition if you have more than one ( /, /usr, etc). You'll need to know how to use fdisk, bsdlabel, and newfs in order to create your new partitions from a FreeBSD install CD's rescue prompt. If you pass a -B flag to both fdisk and bsdlabel you should be fine as far as the MBR and boot blocks are concerned. Of course you'll also need to be able to access your dumps on whatever media or network location you put them on, and know how to use restore. Depending on how your disk is currently laid out, it might be possible to wipe out your windows partition and use growfs, but you really should have good backups before attempting this, so get a dump of everything in any case. JN