Solved

Clone via DD OpenSUSE not working

Posted on 2012-04-05
3
225 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
  • 2
3 Comments
 
LVL 87

Expert Comment

by:rindi
Comment Utility
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
Comment Utility
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
Comment Utility
I overlooked the rebuilding of initrd image
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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 …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now