LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-28-2009, 10:20 AM   #1
mannpt
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Rep: Reputation: 0
Acronis Image -> VM Conversion -> boot issues


Ok, Here is the run down.:

Using the Acronis True Image Echo Agent, I created an image of one of our linux boxes. I then used the VMware converter 4 to comvert this image into a VM. Upon booting the newly created VM, I got an "Unable to load operating system (or something along those lines) error so I installed grub using a floppy image.

Now when I select the kernel to boot, I end up with the following output at failure:

Code:
Creating block devices
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00

So, I edit the kernel arguements and remove the root statement and it fails at this point:

Code:
Loading jbd.o module
Journalled Block Device driver loaded
Loading ext3.o module
Creating block devices
EXT2-fs: unable to read superblock
isofs_read_super: bread failed, dev=09:01, iso_blknum=16, block=32
EXT3-fs: unable to read superblock
Kernel panic: VFS: Unable to mount root fs on 09:01
What is going wrong?
 
Old 07-29-2009, 08:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,003
Blog Entries: 54

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
If you boot the VMware guest from CDROM or ISO (HELIX, KNOPPIX, whatever you fancy) with the vmdk available and run 'sfdisk -l /dev/devicename' and 'disktype /dev/devicename', what do they return?
 
Old 07-29-2009, 12:10 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Moved: This thread has been moved at the OPs request.
 
Old 07-29-2009, 02:22 PM   #4
mannpt
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
d/ling KNOPPIX image now. I'll be back.
 
Old 07-30-2009, 10:12 AM   #5
mannpt
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by unSpawn View Post
If you boot the VMware guest from CDROM or ISO (HELIX, KNOPPIX, whatever you fancy) with the vmdk available and run 'sfdisk -l /dev/devicename' and 'disktype /dev/devicename', what do they return?
sfdisk results:
http://i15.photobucket.com/albums/a3...ann/sfdisk.jpg

says disktype: command not found
 
Old 07-30-2009, 10:45 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,003
Blog Entries: 54

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
OK, so disktype exists on HELIX only... In any case your sfdisk output shows the partitions inside the VMDK are recognised. Running 'echo /dev/sda[0-9]* | xargs -iX e2label 'X' 2>/dev/null' should show which partition has what label so you can append the right "root=" at the GRUB commandline.
 
Old 07-30-2009, 01:32 PM   #7
mannpt
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by unSpawn View Post
OK, so disktype exists on HELIX only... In any case your sfdisk output shows the partitions inside the VMDK are recognised. Running 'echo /dev/sda[0-9]* | xargs -iX e2label 'X' 2>/dev/null' should show which partition has what label so you can append the right "root=" at the GRUB commandline.

after running
Code:
echo /dev/sda[0-9]* | xargs -iX e2label 'X' 2>/dev/null
I get no output. Am I missing something?
 
Old 07-30-2009, 02:37 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,003
Blog Entries: 54

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
Are you running the command with the same conditions as in post #2?
 
Old 07-30-2009, 02:56 PM   #9
mannpt
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
The first command i ran was

sfdisk -l /dev/sda

does this mean i should imput the second command as

echo /dev/sda[0-9]* | xargs -iX e2label 'sda' 2>/dev/null

Last edited by mannpt; 07-30-2009 at 03:12 PM.
 
Old 07-30-2009, 04:29 PM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,003
Blog Entries: 54

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
No, I mean the command should be run with the VMware guest booted from CDROM or ISO and with the vmdk available. FDS don't give e2label arguments like that or you'll write things to it and writing to your VMDK is th last thing you want to do right now, just recon.
 
  


Reply

Tags
acronis, image


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Boot Ubuntu Server After Acronis Image VitalSpark798 Linux - Server 2 05-30-2009 04:34 PM
Acronis True Image ? cccc Linux - Software 1 11-29-2008 10:10 AM
A backup utility like Acronis true image Ineed2muchHelp Linux - Software 3 11-27-2006 12:22 AM
Cloned image using Acronis not booting dogbreath_NZ Linux - Kernel 2 08-09-2006 11:35 PM
Ghost 9 or Acronis True Image 8? nathanv117 Suse/Novell 0 01-09-2005 08:11 PM


All times are GMT -5. The time now is 06:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration