Solved

Clone via DD OpenSUSE not working

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Hosting 16 78
error log using ftp 7 81
CentOS 7 Linux for HP DL380 G4 32Bits 7 79
Granting root permissions to a user (in Debian Jessie) 17 53
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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

749 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