We help IT Professionals succeed at work.
Get Started

Cloned drive using dd will not boot or mount

567 Views
Last Modified: 2012-06-27
I cloned a drive using dd on a CentOS 6.2 box.  Used the following commands to image then clone:

Image:
dd if=/dev/sdb  of=/home/al/image.dd

Restore:
dd of=/home/al/image.dd if=/dev/sdb

I went from a 160 GB drive to a 320 GB drive

No errors reported with either creating the image or restoring the drive.

if I do a fdisk -l. I get partition info on the new drive:


   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          25      200781   83  Linux
/dev/sdb2              26         286     2096482+  82  Linux swap / Solaris
/dev/sdb3             287       19457   153991057+  83  Linux

Disk /dev/mapper/vg_test-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

However if I try to boot from the drive nothing happens, the drive light on the computer stays lit and the monitor displays a pre-boot screen.

If try to mount the drive:

mount /dev/sdb /media  I get the following error:

mount: you must specify the filesystem type

I have tired to mount the drive as ext, ext2, ext3, ext4 and nothing works.  

The original drive will mount as a slave in CentOS and will boot.

Any suggestions?

Al
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE