Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

dd and MBR

T60/T61 Series
Post Reply
Message
Author
jozien
Posts: 8
Joined: Thu May 10, 2007 5:11 pm
Location: Toms River, NJ

dd and MBR

#1 Post by jozien » Thu May 03, 2012 10:24 pm

I used dd to clone the XP c:\ drive and want to use dd
to restore XP on a new drive.
Will dd copy the MBR to the new drive?

jozien

twistero
Senior Member
Senior Member
Posts: 852
Joined: Sun Feb 26, 2012 2:25 am
Location: Princeton, New Jersey
Contact:

Re: dd and MBR

#2 Post by twistero » Fri May 04, 2012 12:16 am

What's the exact command you used for backup?
X60 tablet 6363-P3U, 3GB ram, 128GB SanDisk Extreme SSD, SXGA+ screen, Intel 6300
T61 Frankenpad in 15 inch T60 body, UXGA LED-lit AFFS LCD, T9300, 6GB RAM, NVidia NVS140m, Intel 6205, 128GB Crucial M4 SSD, 1TB HGST HDD + eBay caddy in Ultrabay
701c butterfly, 75MHz 486DX4, 40MB ram, 1GB CF card

jozien
Posts: 8
Joined: Thu May 10, 2007 5:11 pm
Location: Toms River, NJ

Re: dd and MBR

#3 Post by jozien » Fri May 04, 2012 6:43 pm

twistero wrote:What's the exact command you used for backup?
I used:

dd if=/dev/sda1 of=/dev/sdb1

jozien

twistero
Senior Member
Senior Member
Posts: 852
Joined: Sun Feb 26, 2012 2:25 am
Location: Princeton, New Jersey
Contact:

Re: dd and MBR

#4 Post by twistero » Fri May 04, 2012 8:18 pm

jozien wrote: dd if=/dev/sda1 of=/dev/sdb1
Well, then you only copied the first partition of the hard drive, not the MBR, because the MBR is not part of any partition. You'll have to do something like
dd if=sda of=sdb
i.e. copying the entire drive, to clone the MBR. If you know exactly how long the MBR is, you can use the "bs" and "count" arguments of dd to selectively clone the MBR only.

However, if you still have the source drive, I suggest using a "smarter" cloning tool like Clonezilla, which is also free and open source.
X60 tablet 6363-P3U, 3GB ram, 128GB SanDisk Extreme SSD, SXGA+ screen, Intel 6300
T61 Frankenpad in 15 inch T60 body, UXGA LED-lit AFFS LCD, T9300, 6GB RAM, NVidia NVS140m, Intel 6205, 128GB Crucial M4 SSD, 1TB HGST HDD + eBay caddy in Ultrabay
701c butterfly, 75MHz 486DX4, 40MB ram, 1GB CF card

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad T60/T61 Series”

Who is online

Users browsing this forum: No registered users and 20 guests