forked from shedd/duckpan-vagrant
-
Notifications
You must be signed in to change notification settings - Fork 1
/
manual-vmware-steps.txt
61 lines (48 loc) · 3.02 KB
/
manual-vmware-steps.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Done using VMware Workstation Tech Preview 2014
# The VM can be imported as far back as VMware Player 4.0.x
# (which corresponds to VMware Workstation 8.0.x)
Import the VirtualBox .ova.
Name: ddh-vmw-2014-12-31 (assuming that is today's date)
You will need to select to relax the hardware check.
(Presumably because VMware does not support AHCI.)
Change the OS from "Ubuntu 64-bit" to "Ubuntu"
Change the virtual hardware compatiblity to 8.0 (Under "manage")
Enable shared folders.
Sync guest time with host.
Detach hard disk from IDE interface and reattach using SCSI.
When prompted, do not select to upgrade the VMDK format.
Change the DVD drive from being on IDE 0:1 to IDE 0:0 so that you do not get an error when starting the VM.
Deselect "Connect at power on" for the DVD drive.
Once you login to a TTY:
sudo apt-get update
# Prevent xorg and xserver-xorg from being removed during the next step
sudo apt-get install xserver-xorg-video-vmware
sudo apt-get purge virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
# Open Source VMware Tools. Depends on the drivers package.
sudo apt-get install open-vm-toolbox
# We need to switch to the generic kernel to get the vmwgfx kernel module
sudo apt-get install linux-generic linux-image-generic linux-headers-generic
# This step assumes the current kernel version is 3.2.0-67
sudo apt-get purge linux-virtual linux-image-virtual linxu-image-3.2.0.67-virtual linux-headers-virtual linux-headers-3.2.0.67-virtual
sudo dpkg-reconfigure linux-image-generic
sudo dpkg-reconfigure open-vm-dkms
sudo dpkg-reconfigure xserver-xorg-video-vmware
sudo reboot
You should now be booted to X11.
Then repeat manual-disk-shrink-steps.txt
Description: (See manual-virtualbox-steps.txt, but exclude the portion about Intel VT-x/AMD-V because VMware auto-detects whether to use them.)
# Note, we would set the Appliance View "Version" and "Author"
# but VMware Workstation and VMware Player ignore them when exporting.
# Even if you manually edit the .OVF, they also ingore them when importing.
#Run this command, adjusting the file paths as needed:
#"c:\Program Files (x86)\VMware\VMware Workstation\OVFTool\ovftool.exe" --overwrite --allowExtraConfig --eula@="Z:\ddh\duckpan-vagrant\LICENSE.txt" "c:\Virtual Machines\ddh-vmw-2014-10-14\ddh-vmw-2014-10-14.vmx" "c:\Virtual Machines\ddh-vmw-2014-10-14.ovf"
#
# Note the use of a .ovf file extension, not .ova
File -> Export to OVF -> ddh-vmw-2014-10-14.ovf
# This command uses max compression, which VMware workstation's GUI does not offer.
# It also sets the license file.
#
# Note that the license file will have the whitespace at the beginning of the 1st line ignored.
# This is a bug in how VMware Workstation/Player renders the license file.
Run this command, adjusting the file paths as needed:
"c:\Program Files (x86)\VMware\VMware Workstation\OVFTool\ovftool.exe" --overwrite --skipManifestCheck --compress=9 --eula@=z:\ddh\duckpan-vagrant\LICENSE.txt --name="DuckDuckHack" "c:\Virtual Machines\ddh-vmw-2014-10-14.ovf" "c:\Virtual Machines\ddh-vmw-2014-10-14.ova"