Solved

Clone via DD OpenSUSE not working

Posted on 2012-04-05
3
226 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 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Trying to make SNMP connection work 7 65
Oracle 12c patching 1 59
linux ssh 4 57
expectj telnet failing 5 17
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

929 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

10 Experts available now in Live!

Get 1:1 Help Now