hastapasta / financereport

Automatically exported from code.google.com/p/financereport
0 stars 0 forks source link

Work on making a vmware image of the ubuntu machine #64

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Work on making a vmware image of the ubuntu machine

Original issue reported on code.google.com by hastapas...@gmail.com on 18 Dec 2010 at 3:46

GoogleCodeExporter commented 8 years ago
Here are steps for creating an image from a physical drive using ghost and 
vmware workstation can be installed on a separate machine:

http://whatislinux.net/howto-convert-physical-windows-os-to-vmware

Original comment by hastapas...@gmail.com on 20 Dec 2010 at 6:31

GoogleCodeExporter commented 8 years ago
Attempting to use ghost for linux from here:

http://linux.softpedia.com/get/System/Hardware/Ghost-for-Linux-53.shtml

Original comment by hastapas...@gmail.com on 20 Dec 2010 at 6:36

GoogleCodeExporter commented 8 years ago
Instructions from IBM for using clonezilla with vmware (clonezilla is included 
with unetbootin):

http://www.ibm.com/developerworks/linux/library/l-clonezilla/

Original comment by hastapas...@gmail.com on 20 Dec 2010 at 6:41

GoogleCodeExporter commented 8 years ago
Good walkthrough of clonezilla:

http://www.dedoimedo.com/computers/free_imaging_software.html

Original comment by hastapas...@gmail.com on 20 Dec 2010 at 7:12

GoogleCodeExporter commented 8 years ago
On experts-exchange they suggested going with acronis which will back up a 
system and convert to a virtual image. The basic product options don't support 
linux. I requested a 15-day trial of one of the advanced products. 

Not sure if I have to install it directly on the linux box.

Original comment by hastapas...@gmail.com on 21 Dec 2010 at 1:05

GoogleCodeExporter commented 8 years ago
It looks like the easiest way to accomplish this is to use the vmware converter 
tool.

There is an issue with root access and linux machines that is addressed here:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=display
KC&externalId=1008164

Original comment by hastapas...@gmail.com on 21 Dec 2010 at 1:37

GoogleCodeExporter commented 8 years ago
Ran into in issue with vmware converter. Created thread on vmware communities 
here:

http://communities.vmware.com/thread/296803

Original comment by hastapas...@gmail.com on 21 Dec 2010 at 3:54

GoogleCodeExporter commented 8 years ago
Also created a thread on ee for the root privileges issue:

http://www.experts-exchange.com/Software/VMWare/Q_26695942.html

Original comment by hastapas...@gmail.com on 22 Dec 2010 at 12:59

GoogleCodeExporter commented 8 years ago
Ended up enabling the root account using these instructions:
http://www.liberiangeek.net/2010/11/change-root-password-enable-root-account-ubu
ntu-10-10-maverick-meerkat/

which got me past the root privileges issue.

Now it looks like I need to have another vmware component installed (ESX or 
ESXi) to get this to work:
http://serverfault.com/questions/81908/vmware-converter-remote-linux-install-p2v

Original comment by hastapas...@gmail.com on 3 Jan 2011 at 9:07

GoogleCodeExporter commented 8 years ago
Installed ESX 3.5 on my old thinkpad.

Now the issue is that there is not enough hard drive space on the laptop 
(~70GB) to hold the virtual image.

Tried hooking up an external usb drive but that's not working so far. Next 
option is to look at trying to set up NFS.

Original comment by hastapas...@gmail.com on 4 Jan 2011 at 6:51

GoogleCodeExporter commented 8 years ago
Deleted some files from the ubuntu machine and figured out how to configure the 
converter to generate a smaller image. Initiated the conversion process but 1% 
into it, I received the error:

FAILED: A general system error occurred:
failed to poweron vm

I think I'm missing a step somewhere but not sure what. 
Opened ee thread:

http://www.experts-exchange.com/Software/VMWare/Q_26715237.html

Original comment by hastapas...@gmail.com on 4 Jan 2011 at 7:35

GoogleCodeExporter commented 8 years ago
Ran the conversion again and not exactly sure what fixed the problem in comment 
11 but was able to get past it - to a new problem.

Conversion gets to 99% and then throws this error message:
Error: Unable to reconfigure the destination virtual machine.

In the vmware-converter-server log I get this:
2011-01-04 18:32:32.299 10036 error 'App'] [task,344] [LRO] Unexpected 
Exception: converter.fault.CloneFault
[2011-01-04 18:32:32.761 10036 info 'App'] [task,373] [task-2] -- ERROR -- 
Convert: converter.fault.CloneFault
(converter.fault.CloneFault) {
   dynamicType = <unset>, 
   faultCause = (vmodl.MethodFault) null, 
   description = "GrubInstaller::InstallGrub: /usr/lib/vmware-converter/installGrub.sh failed with return code: 127, and message:
/vmware-updateGrub.sh: 38: grub: not found
Error running GRUB
Error running vmware-updateGrub.sh through chroot into /mnt/p2v-src-root

I found this thread which should address this issue:
http://communities.vmware.com/message/1395202

Original comment by hastapas...@gmail.com on 5 Jan 2011 at 3:49

GoogleCodeExporter commented 8 years ago
Opened 2 threads inquiring about the cold converter iso:

http://www.experts-exchange.com/Software/VMWare/Q_26716909.html

http://communities.vmware.com/thread/297917

Original comment by hastapas...@gmail.com on 5 Jan 2011 at 2:25

GoogleCodeExporter commented 8 years ago
I'll try fixing the ESX image and then if that doesn't work, it looks like I'll 
just have to build the image from scratch.

Original comment by hastapas...@gmail.com on 5 Jan 2011 at 9:49

GoogleCodeExporter commented 8 years ago
Manually built a new image. Pandora is up and running (still need to add the 
testdataload agent but that will be done after testdataload is migrated). 
Eclipse still needs to be moved over and maybe also xdotool.

Original comment by hastapas...@gmail.com on 2 Feb 2011 at 12:09