LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 08-01-2012, 08:19 AM   #1
Majed17
Member
 
Registered: Jul 2011
Posts: 102

Rep: Reputation: Disabled
virtualization of a live linux mandrake 10 server into vmware gives error


Hello, we've tried, with the help of acronis, to convert the live mandrake 10 linux server into vmware but when starting the system it used to say: error no operating system present.
then after some googling i downloaded grub and installed it and now the system boots from limited grub menu.
in the grub menu i try:
Code:
grub> find /boot/grub/stage1
i get the result
(hd0,0)
then i try:
Code:
root (hd0,0)
then those 3 commands in sequence:
Code:
grub> kernel /boot/vmlinuz
grub> initrd /boot/initrd.img
grub> boot
then it loads and reaches the point:
Code:
ext2-fs warning: checktime reached, running e2fsck is recommended
vfs: mounted root (ext2 filesystem).
mounted devfs on /dev
red hat nash version 3.5.18-mdk starting
loading jdb.ko module
loading ext3.ko module
mounting /proc filesystem
creating devices files
mounting sysfs
creating root device
mounting root filesystem
ext3-fs: unable to read superblock
mount: error 22 mounting ext3 flag defaults
well, retrying without the option flags
ext3-fs: unable to read superblock
mount: error 22 mounting ext3
well, retrying read-only without any flags
ext3-fs: unable to read superblock
mount: error 22 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
Remounting devfs at correct place if necessary 
mounted devfs on /dev
freeing unused kernel memory: 272k freed
kernel panic: no init found. try passing init= option to kernel
after some googling i found a thread where it said to create a /initrd directory and that is supposed to solve the problem but it didn't.
here is the thread:
http://backdrift.org/fixing-pivotroo...2-umount-error
does anyone know why it might be not loading fully and how to solve it? thanks for any help.
 
Old 08-02-2012, 03:32 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
I think you might consider starting over.

See this for some ideas maybe. http://www.petri.co.il/physical-to-v...ter-bootcd.htm

What web site or how did you use acronis? I assume you have true image 9?
 
Old 08-03-2012, 01:57 AM   #3
Majed17
Member
 
Registered: Jul 2011
Posts: 102

Original Poster
Rep: Reputation: Disabled
i asked the guy who cloned the image and he's not sure what acronis he used if it was version 10 or 9 but it's probably the older one because he said the newer one didn't work on an earlier try. after that he used some vshere converter to convert the image into a vmware image.
i read the article you sent and thanks for that and it seems bad news as it supports redhat suse and ubuntu only. i guess what is left to try is copy the image according the vmware converter mentioned in the israeli website (didn't know they are capable of helping) using their bootcd.
 
Old 08-03-2012, 03:29 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
In a strict sense you could simply dd a live install to a virtual hard drive just as if it were any real computer. dd or clone tool is fine even cpio. Boot to a live cd and use it to copy to the virtual hard drive.

The problems one finds is grub may have disk by id or other original hard drive issues that need to be changed by hand. fstab and stuff like that.

I use the clone way more than a p2v app but all sorts of people swear by the p2v so it must be OK. I would use VMware's tool on a VMware product before I selected any other to test.
 
Old 08-06-2012, 02:27 AM   #5
Majed17
Member
 
Registered: Jul 2011
Posts: 102

Original Poster
Rep: Reputation: Disabled
well guess what he managed to get it working.. he said he used the acronis iso he made and didn't convert it into vmware machine but instead he used it as a disk iso when creating the virtual machine he pointed to the location in the network when searching for the iso and when he started the machine it worked without installing grub even... i was surprised to here that.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] new to virtualization -- kvm, virtualbox or vmware server Thane Linux - Virtualization and Cloud 17 01-20-2011 08:40 PM
LXer: Install and Configure VMWare Server virtualization in openSUSE LXer Syndicated Linux News 0 08-11-2008 04:40 AM
LXer: Vmware Server Console — Introduction to Virtualization LXer Syndicated Linux News 0 07-19-2007 10:46 AM
LXer: Linux server virtualization gains live migration feature LXer Syndicated Linux News 0 11-16-2006 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration