Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Clone via DD OpenSUSE not working

Posted on 2012-04-05
3
Medium Priority
?
239 Views
Last Modified: 2012-04-10
I cloned a Virtual machine hard drive by hooking up an external hard drive and booting the source machine from Live CD. After doing
dd if=/dev/sda of=/dev/sdb

Open in new window

everything looks to be exact.

When inserting the new drive into a physical server, it boots up, gets to the GRUB, and asks me what kernel to select. I allow it to use the first kernel and proceed. It never boots and shows the following screen:
http://i43.photobucket.com/albums/e352/shockwavecs/photo-32.jpg

So we immediately changed the two files below:

device.map:
from:
(hd0)      /dev/disk/by-id/ata-VBOX_HARDDISK_VBaa736b17-5f8d9b0e
to:
(hd0)      /dev/sda

and

menu.lst:
from:
    root (hd0,0)
    kernel /vmlinuz-2.6.37.6-0.11-desktop root=/dev/disk/by-label/root resume=/dev/disk/by-id/ata-VBOX_HARDDISK_VBaa736b17-5f8d9b0e-part3 splash=silent quiet showopts vga=0x317
    initrd /initrd-2.6.37.6-0.11-desktop
to:
    root (hd0,0)
    kernel /vmlinuz-2.6.37.6-0.11-desktop root=/dev/sda vga=0x317
    initrd /initrd-2.6.37.6-0.11-desktop



Still, it does the same thing from above. I am clueless. Is this something to do with a "resume" file that is not listed in the above two files that we edited? Thanks for looking.
0
Comment
Question by:Justin_Edmands
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 88

Expert Comment

by:rindi
ID: 37810688
Did you also change the entries in the fstab file, or did you forget that?
0
 

Accepted Solution

by:
Justin_Edmands earned 0 total points
ID: 37811691
turns out I needed to just rebuild initrd image. new hardware, new initrd image. doh!
http://lists.opensuse.org/opensuse/2010-05/msg00989.html
0
 

Author Closing Comment

by:Justin_Edmands
ID: 37826748
I overlooked the rebuilding of initrd image
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question