Help with dd needed

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alan Dayley
Date:  
Subject: Help with dd needed
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 14 November 2003 11:26 pm, wrote:
> Old Drive:
> 2.5 gigs on one fat partition (that just sounds wrong)
>
> New Drive:
> I will fdisk it blank and then create a 8 gig first partiton which will
> receive all the files to be copied over and then a 32 gig second partition
> to fart around with later.
>
> I am concerned really only with the dding the MBR. I can figure out cp
> again (it has been a few months away fromt he command prompt) on my own.
>
> Thanks for the reply.
>


So you want to copy only the MBR?

dd if=3D/dev/hda of=3D/dev/hdb bs=3D512 count=3D1

Will copy the very first block of hda to the very first block of hdb.

This will, of course, wipe out your new partition table that you just creat=
ed=20
so I guess I still don't understand. Maybe dd is not the tool you want.

Alan
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/tchtUIl18h7/dy4RAsEnAKC3lG6wxI/VNSHORv/qEs5N+6eXIQCcD5GK
58q+j7BYqcKkWtMPh9/5fU8=3D
=3DEkfb
=2D----END PGP SIGNATURE-----