From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dragos LUNGU Subject: Re: A way to transfer drives? Date: Thu, 31 Oct 2002 18:59:57 +0200 Sender: linux-newbie-owner@vger.kernel.org Message-ID: <3DC1618D.4060704@xts.ro> References: <200210310853.08719.1stflight@ameritech.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200210310853.08719.1stflight@ameritech.net> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: 1stFlight <1stflight@ameritech.net> Cc: linux newbie 1stFlight wrote: > I'm looking for a way to upgrade my HD and maintain file/directory structure. > I've got a 20GB with partitions for / /home /usr how can I copy/clone this > drive over to it's 60B replacement? Thanks! Hi just finished this operation last night . setup : boot from /dev/hda /dev/hdb - 40GB (old disk) /dev/hdc - 60GB (new disk ) # dd if=/dev/hdb of=/dev/hdc bs=2M it did a perfect,bit by bit, clone . then, i used cfdisk to set up an additional 20Gb partition for the extra space. works like a charm . i always set bs (block size) close to the size of the HDD buffer (2048 in my case) hope it helps. dragos -- | Dragos LUNGU | | http://www.xts.ro | dragos@xts.ro | mobile (+40)745 379 734 | office (+40)251 190 561 - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs