Vmware image linux ubuntu

Ubuntu Documentation

Style Cleanup Required
This article does not follow the style standards in the Wiki Guide. More info.

Unsupported Version
This article applies to an unsupported version of Ubuntu. More info.

Ubuntu as a VMware host

Installing from the .bundle

Tested with:

  • VMware Workstation 6.5.1 Build 126130, Ubuntu 8.10, AMD64
  • VMware Workstation 6.5.1, Kubuntu 8.10, AMD64
  • VMWare Workstation 6.5.0, Ubuntu 8.10 x86
  • VMWare Workstation 6.5.0, Super Ubuntu 8.10 x86

Install required packages build-essential, linux-kernel-headers and linux-kernel-devel

Navigate to where the .bundle VMWare file is, then type this in

And that’s it! Enjoy your VMWare Workstation installation!

Alternate Installation from .bundle

VMWare Workstation 6.5.0, HackBuntu Alpha 3 8.10 x86 (PM me for DL link)

  • VMWare Workstation 6.5.0, Super Ubuntu 8.10 x86
  • In the terminal, navigate (cd) to where your installation resides. Then type this in

    Installing on Jaunty

    0. Same as above, but then you have to remove the broken module:

    1. then simply rebuild the module.

    Installing from the .rpm

    It’s relatively easy to convert VMWare’s .rpm to a .deb and install VMWare inside the package manager. Here’s how:

      Make sure you have the kernel headers and compiler first, with:

    Download VMWare Workstation 6.0 from their site in .rpm format, and get a serial number from them while you’re at it.

    Convert the .rpm to a .deb with
    Install the .deb with

    Edit /etc/vmware/locations as root and add the following three lines (not necessary on 6.0.5):

    1. Just after
      • add
    2. Just after
      • add

    Run vmware-config.pl (and answer the questions accordingly; this hasn’t really changed since VMWare 4.5. You will have to give the correct location for the kernel headers, i.e. /usr/src/linux- uname -r/, although you must know in advance what uname -r will return.) with

  • Unzip the EULA, which VMWare expects to be uncompressed but which is installed compressed:
  • Start vmware, accept the EULA, and enter the serial number.
  • Ubuntu as a VMware Guest

    VMware version 5 is reported to work with Ubuntu out-of-the-box. Try using NAT rather than bridging when using VMware 5 with Ubuntu as a guest OS.

    Initial Install

    Download the iso from http://www.ubuntu.com/download/ this demo used the ubuntu-5.10-install-i386.iso image.
    Create a new Virtual Machine.

    Virtual Machine Configuration: Typical

    Guest Operating System: Linux

    Version: Other Linux 2.6.x kernel

    Virtual Machine Name & Location: Pick as you will. (for the record I chose Ubuntu and O:\VPC\)

    Network Connection: Use bridged networking (Refer to this VMware documentation for information on the other network connection configurations.)

    Disk capacity: Again the choice is yours, I chose 4GB and turned on Allocate all disk space now and Split disk into 2 GB files. Allocating the disk space will increase performance, while spliting the disk into 2GB chunks will minimise any file size limitations if transferring a virtual machine using Samba.

    Читайте также:  Hp officejet 7110 сброс картриджей

    Change the settings of the new virtual machine:

      Memory — Increase the memory given to the guest OS from 256 (the default) to 512. Although not necessary since I’ve got the RAM, why not.

      CD-ROM — Use ISO Image: set to the location of the downloaded is, mine was O:\BitTorrent\ubuntu-5.10-install-i386.iso

  • Start the virtual machine.
  • At the boot menu, press enter.
  • Configure the Ubuntu installation:

      Language & Location: Doesn’t matter

      Keyboard: I stuck with the default, American English

      Hostname: Doesn’t matter, I went with Ubuntu

      Disk Partition: Erase entire disk: SCSI (.

      Write Changes to Disk: Yes

    • . wait.
    • Timezone: Doesn’t matter

      Full name for the new user: I chose bob

      Username for your account: I chose bob
      Password and Verify: pick one, no restrictions

      Reboot: Continue, I didn’t bother «removing» the ISO.

      Once you see Restarting system. Ubuntu has shutdown, press Ctrl-Alt to release the cursor and click VM->Power->Reset
      . wait.

      Select video modes. Don’t add anything more than the defaults 1024×768, 800×600, 640×480

    At this point Ubuntu is usable but without the virtual tools you can not use some of the higher resolutions. and to release the mouse you must press Ctrl-Alt. So onto the install.

    Installing Virtual VmwareTools

    There a number of advantages in installing VmwareTools in your Ubuntu guest VM.

    Open the System->Administration->Synaptic Package Manager

    Install the following packages (replace ‘kernel version’ below with what is reported with uname -r):

      Goto the desktop and eject the Ubuntu iso.

    Ctrl-Alt to get the cursor back, VM->Install VMware Tools.

    Wait for the CD to appear on the desktop. This may require going to Places->Computer and clicking on the CD icon to make Ubuntu read the new disk.

    Copy VMwareTools-x.x.x-xxxx.tar.gz from the CD to your desktop.

    Right click on the VMware Tools tarball and select Extract Here

  • Open a terminal
    • Accept all the defaults, this should take you through making a few directories and then run the config program. The config program will need to compile the drivers and so it will use make, the gcc you specified and the headers to compile.
    • The first non default is screen size. I know 640×480, 800×600 and 1024×768 work, I have had 1280×1024 work (I use this one) and I’ve had 1600×1200 not work.
    • If you pick one that doesn’t work, get to a terminal and run /usr/bin/vmware-config-tools.pl to pick a different one.
    • What you pick here becomes the max setting and you can pick a lower one withing Ubuntu, however the max is used at startup so if it doesn’t work you are up the creek.

      Restart the system with System->Log out->Shutdown. Wait until Ubuntu has shutdown and either turn off or restart the VM.

    Installation tips

    The install script asks for the path of gcc. If it isn’t automatically found find the path on your system by running

    . Set the full path to the binary in the variable CC:

    When you run vmware-config.pl, if the script can’t find your kernel’s C headers you must install the appropriate headers package. Do this by running

    You must then point vmware-config.pl to the appropriate directory, such as

    If the VMware Management Interface (MUI) for GSX complains about a lack of libdb.so.3 and instruct you to get compat-db-3.3. — .i386.rpm. You want the Ubuntu package libdb2 for this.

    Enabling Parallel Port Access

    VMware allows direct access to parallel ports, which is handy if you’ve got a scanner that only has Windows drivers. You may need to make the following minor change to VMware’s startup script.

    Open /etc/iniit.d/vmware in an editor by running

    Find the case statement that looks like this (around line 814)

    Add the following text at the end of the case statement

    Troubleshooting Tips

    After a kernel update, VMWare stops working

    After upgrading to a newer kernel version, you may find VMWare stops working and displays the error (note: if you’re not running it from a terminal the program will just exit with no graphical error messages):

    This happens even on a minor kernel update (e.g 2.6.12-9 to 2.6.12-10), but is simple to rectify using the steps above. Before running «/usr/bin/vmware-config.pl» as suggested you will need to get the correct kernel headers for your new kernel, and make sure you point the correct version of gcc to the config script.

    All this is explained above, so I wont go through it here. Once you’ve done that run the conifg script, select the defaults for all the options except:

    Select yes, as you’re network setting should not have changed.

    Once the config file has finished you should be able to run VMWare again with no problems.

    Important Note about Updating from Hoary to Breezy

    A heads up for people coming from hoary to breezy with a VMWare install. I was trying to reconfigure my vmware install for use in breezy (regenerate kernel modules, etc) using vmware-config.pl; however, doing so would not only fail to make VMWare work, but it would leave my system relatively unusable (specifically, sudo no longer worked!). The solution was to download the distribution tarball again, and reinstall (as per the instructions here). Simply reconfiguring the old install doesn’t seem to work.

    Configuration aborts when updating from Dapper to Edgy

    When upgrading from Dapper to Edgy, and then running sudo vmware-config.pl (as explained above), you might find that the configuration aborts with the message:

    You need to install the vmware-any-any-update patch, which you can find here: http://platan.vc.cvut.cz/ftp/pub/vmware. Just download the vmware-any-any-update file, untar it, and run sudo ./runme.pl It will automatically call vmware-config.pl, which should then complete normally (ignore the warnings generated).

    Configuration aborts when updating from Feisty to Hardy (or any system running the 2.6.24-2 kernel)

    When using the 2.6.24-2 kernel, a patch must be applied to get the vmware modules to compile. This applies to you if vmware-config.pl crashes with the message

    The solution is to download a patch from http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update115.tar.gz that will correct this issue. Extract the files, then run

    from the vmware-any-any-update115 directory. Note: This is not my mirror, if someone cares to mirror this file it would be a good thing

    When running kernel 2.6.24-16, you need the patched patch from http://aldeby.org/blog/?p=113.

    Configuration aborts when Installing VMware 6.0.5 on Intrepid (or any system running the 2.7.27 kernel)

    You need to replace the three files

    Ubuntu is hosting a guest VM, and the clock gets out of sync

    The clock of a Linux guest OS could run much faster than the host computer, if the host computer isusing dynamic CPU speed technology.

    To Fix this problem:

    Edit your /etc/vmware/config

    Add the following line to /etc/vmware/config x = Max CPU speed in kHz (i.e. 2GHz CPU = 2000000)

  • Install VMware Tools in Guest OS
  • Verify that Time synchronization between the virtual machine and the host operating system is selected
  • VMWare «Snapshot Manager» Crashes

    The VMWare «Snapshot Manager» may still crash when clicked on. To work around this problem, set an environment variable in the shell before running VMware. I have these two commands together in a shell script for launching the program:

    VMWare Runs Slowly on Pentium-M «Centrino» Notebook

    If you have a Pentium-M «Centrino» notebook, you may notice VMware runs very slowly at times. To fix this problem, do as follows in a shell script:

    Bridged Networking Won’t Start

    Some people may have a problem starting bridged networking (vmnet0). vmnet0 is bridged to eth0, so try running ifdown eth0 first, THEN running the vmware-config.pl or runme.pl.

    VMWare 5.5 breaks after installing the ‘vmware-any-any-update’ package

    VMware 5.5 doesn’t need the ‘vmware-any-any-update’ package. If you did try this, you will get the following sorts of errors:

    To fix this problem, run the version of vmware-config.pl included in the VMware package. If have already run the version in the vmware-any-any-update package, rerun the vmware-install.pl script to reinstall VMware.

    Missing Library Files Error

    You get an error about missing library files (file extension .so). This will happen if you don’t have the X Window system installed. You can either install the libraries one by one or install x-window-system-core, which is simpler, but will also install other unnecessary packages:

    VMware/Workstation (последним исправлял пользователь crazybilly 2010-04-09 02:36:49)

    The material on this wiki is available under a free license, see Copyright / License for details
    You can contribute to this wiki, see Wiki Guide for details


    Установка Ubuntu Server 20.04 LTS на виртуальную машину VMware ESXi 6.7

    Установим на виртуалку сервер Ubuntu Server 20.04 LTS 64-bit. Используем гипервизор ESXi 6.7 U3.


    Дистрибутив Ubuntu Server скачиваем с сайта:

    Ubuntu Server 20.04 LTS — гарантированная поддержка до апреля 2025 года.


    Скачиваю дистрибутив ubuntu-20.04-live-server-amd64.iso:

    Создаю виртуальную машину. 1 процессор, 1Гб оперативки, 20 Гб жёсткий диск.

    ISO образ дистрибутива загружаем в хранилище ESXi:

    Через некоторое время образ Ubuntu 20.04 загружен в хранилище.

    Загружаю виртуальную машину.

    Выбираю язык — Русский. Enter.

    Найдена новая версия инсталлятора Subiquity, попробую обновиться, Update to the new installer.

    Продолжаю установку. Странно, язык не везде русский, не продолжаю установку. Назад. Выбираю язык — Русский. Enter. Другое дело.

    Выбираю раскладку клавиатуры. Я привык к Английской. Готово.

    Настрою сеть. DHCP сервер уже выдал какой-то IP адрес, поэтому и смог обнаружиться новый установщик, но я хочу использовать статический IP адрес.

    Выбираю Изменить IPv4.

    Указываю настройки сети. Сохранить.

    Здесь можно настроить агрегацию портов. Мне не нужно. Готово.

    Настройка прокси. Мне не требуется. Готово.

    Можно указать зеркало для Ubuntu. Я оставляю значение по умолчанию. Готово.

    Use An Entire Disk — выделяю весь диск под систему.

    Проверяю разделы. Готово.

    Подтверждаю очистку диска. Продолжить.

    Указываю имя пользователя для входа в систему, пароль, hostname. Готово.

    Выбираю галку Install OpenSSH server. Я планирую работать с сервером через консоль Putty. Здесь же можно при желании сразу импортировать SSH ключи. Готово.

    Предлагают установить дополнительные пакеты. Ничего из перечисленного мне не нужно. Готово.

    Установка завершена. Но почему-то продолжают скачиваться обновления безопасности. Подожду.

    Установка подошла к завершающему этапу. Перезагрузить сейчас.

    Please remove the installation medium, then press ENTER. Вытаскиваю ISO образ из CD/DVD ROM, нажимаю Enter. Сервер перезагружается.

    Пробую войти на сервер по SSH с помощью Putty.

    Всё работает. Установка Ubuntu 20.04 LTS на виртуальную машину VMware ESXi 6.7 успешно завершена.


    Поделиться с друзьями