This does, however, have the disadvantage that your existing partitions are copied but not resized. Eventually, you end up with lots of little partitions (after a couple of hard disk upgrades...)
P. On Thu, 2002-10-31 at 16:59, Dragos LUNGU wrote: > > > 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 > | [EMAIL PROTECTED] > | 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 [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.linux-learn.org/faqs > -- Paul Furness Systems Manager Steepness is an illusion caused by flat things leaning over. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
