[PLUG] upgrading disk without reinstalling anything
Bill Barry
barryb at proaxis.com
Wed Mar 24 12:17:01 UTC 2004
On Wed, Mar 24, 2004 at 12:12:04PM -0800, Wil Cooley wrote:
> On Wed, 2004-03-24 at 12:06, Bill Barry wrote:
>
> > You can do step 4 (before step 2) by copying over the mbr using dd
> > dd if=/dev/hda of=/dev/hdb bs=512 count=1
> > This copies over the partition table also, so you will have to do it before step 2
> > and then repartition the drive.
>
> Oh man I wouldn't do that. I've tried using dd to copy one filesystem
> to another and while it works, it's dreadfully slow. I'd use something
> like cp -a or rsync on each of the filesystems. Plus, with the above
> method, you end up creating partitions with the same sizes as before.
> And I'm not sure how it handles differing geometeries...
>
I just suggested copying over the mbr, not the whole file system,
Note the count=1.
Bill Barry
More information about the PLUG
mailing list