From owner-freebsd-questions@FreeBSD.ORG Thu Mar 10 20:53:01 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 905BA16A4CE for ; Thu, 10 Mar 2005 20:53:01 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BB5143D5D for ; Thu, 10 Mar 2005 20:53:01 +0000 (GMT) (envelope-from pietro.cerutti@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so629771rng for ; Thu, 10 Mar 2005 12:53:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=sl2DwBXLcUM+wOsxoIlisg0mKRjaqtfp1TlTHsBShFGNT2ui2+CtIW28p5N9kvsPK5rbdy91JeRAEefw+fCwb1cJ2ztSoqQKaBMHKwHyNAYAE6H5sQyGlgHjjRqGVcji9n7gFGRLi9o8415qetHT2uGV609TFQ6CViQnYU4eBcQ= Received: by 10.38.68.47 with SMTP id q47mr2090648rna; Thu, 10 Mar 2005 12:53:00 -0800 (PST) Received: by 10.38.13.78 with HTTP; Thu, 10 Mar 2005 12:53:00 -0800 (PST) Message-ID: Date: Thu, 10 Mar 2005 20:53:00 +0000 From: Pietro Cerutti To: Alejandro Pulver In-Reply-To: <20050310174837.2a2d05fb@ale.varnet.bsd> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050310160455.013df4b0@ale.varnet.bsd> <20050310174837.2a2d05fb@ale.varnet.bsd> cc: FreeBSD Subject: Re: how to install Windows on an existing partition? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pietro Cerutti List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 20:53:01 -0000 On Thu, 10 Mar 2005 17:48:37 -0300, Alejandro Pulver wrote: > > Hello, Hello, > > If you want to use the free space of 'g' you will have to delete it and > collapse all the partitions near 'd'. But is *dangerous*, and in fact > there are *no* tools (I searched and it is often said) to resize > filesystems (even if you resize the partition, the filesystem thinks > the space is still assigned to it, I think). The only think I believe is > possible (with raw tools: 'dd') is moving partitions, but if you > are moving less space than the size of the partition itself, it is only > possible to do it backwards, and the copied bytes will be overritten > (after copied) so if the process is interrupted you will lose all the > data (half in the destination, the rest in the original place, and one > immediatly following the other). > > I found a (possible) better way to do this: > > 1) Revert the changes with the partitions 'd' and 'g' (back-up, delete, > create only 'd', restore). > > 2) Save the data in 'f' ('/home') to somewhere (like '/usr'). > > 2) Delete 'f' ('/home') and create it with less space (like 10 GB, or > less, if you do not need much space there). > > 3) Then the BSD label entry 'c' should have less size. > > 4) Use 'fdisk' to resize the slice. It should be equal to the size of > partition 'c' (that is not a real partition, but the size sum of all > of them). Then the slice must not cover the entire disk, and you will > be able to create a 'msdosfs' slice after it (in the unallocated space). > > I never tried this and I do not know if it is possible, so I *recommend* > you to back up your data. > > Good Luck! > > Best Regards, > Ale It sounds quite complicated... I need some more experience before doing that! Thank you, I'll take in consideration in the future! -- Pietro "Piter" Cerutti Beansidhe - SwiSS Death / Thrash Metal Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?"