Ubuntu 10.10 Minimal Virtual Kernel + VMWare Workstation

To install Ubuntu 10.10 with a virtual kernel instead of the normal one = good, less stuff installed that you may not need.

  1. When setting up the install, do not use the easy install. Chose to install an OS later. Set up bridged/nat depending on which one you want.
  2. Add the install .iso to the CD-drive in the VM
  3. Select a language
  4. Press F4 (it didn’t work in the first screen)
  5. Chose – install a minimal virtual machine
  6. Install Ubuntu Server
  7. Chose language again
  8. Chose key map – (I chose English and had to browse to Finland)
  9. Asked to press some buttons, wanted Swedish (but have an English keyboard) so tried to press the right ones :p
  10. Then time zone Helsinki/Finland was found.
  11. Using default (whole disk, no encryption or lvm) for partitioning.
  12. set up users
  13. set up encryption on home dir
  14. proxy setup
  15. installing security updates automagically
  16. any extra packages (DNS, LAMP, Mail, OpenSSH, etc)? – I chose no, want to chose this myself later.
  17. yes I want grub (it finds only one OS on the virtual disk ;)

Then I see the login prompt! Obviously the easy-install in VMWare Workstation has a lot less steps :)

But on the other hand you could install OpenSSH directly through the install and then you do not have to log on to the VM via VMWare Workstation, but can do it via your favorite ssh program instead.

Post install

What I want installed every time after an uninstall.
After install it is a very very small installation.
Not even ‘man’ is installed.

sudo apt-get install openssh-server ntp nano

edit /etc/network/interfaces – configure static ip
edit /etc/ntp.conf – add time servers
edit ~/.bashrc – change colors in the prompt and add color

Kernel difference you can see when running uname: 2.6.35-22-virtual in comparison to 2.6.35-22-generic


Now you can set up whatever you want on it! Of course you may want to do more things, set up iptables or you could use it like it is before the things I do after each install. You can use vi instead of nano/pico and use dhcp instead, depends on what you are going to do with your VM.

7 thoughts on “Ubuntu 10.10 Minimal Virtual Kernel + VMWare Workstation

  1. Ken Cochran

    I install Ubuntu 10.04 LTS with the Virtual kernel option. Everything is great until I do my first ‘sudo apt-get dist-upgrade’, then I loose the Virtual Kernel and get the Generic-PAE kernel. Any suggestions to keep the virtual kernel? BTW, nice article. Very helpful. Thank you for posting it.

  2. guldmyr Post author

    Hey Ken!

    I’ve never done a dist-upgrade so don’t know actually.
    Maybe there is a way to specify what kind of kernel you are running?

    Maybe it’s a thing with the boot manager.
    When the OS boots – which options do you get?

    Also it’s fun that somebody actually reads my ramblings ;)

  3. guldmyr Post author

    Or maybe you could use aptitude? Maybe that would give you more options?

    I’ll download it and give it a shot tomorrow ;)

  4. guldmyr Post author

    A couple more questions:

    1. how do you check if you have the virtual kernel installed or not?

    Linux ubuntults 2.6.32-24-server #39-Ubuntu SMP Wed Jul 28 06:21:40 UTC 2010 x86_64 GNU/Linux

    is how ‘uname -a’ looks when I just installed 10.04.

    Did you change anything in /etc/apt/sources.list before running the command?

  5. guldmyr Post author

    sudo aptitude dist-upgrade:

    The following NEW packages will be installed:
    bc{a} linux-image-2.6.32-28-virtual

    completed without errors
    after reboot

    Linux ubuntults 2.6.32-28-server #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011 x86_64 GNU/Linux

    and then it says “Ubuntu 10.04.2 LTS” at the prompt instead.

    Looks like that works better? :)

  6. Pingback: Ubuntu Server + VMWare Workstation | Home

  7. /dev/random

    It sounds like you are missing the metapackage used to determine which kernel image annd dependent packages to install. Try installing the metapackage ‘linux-virtual’ — once you have done this you will want remove any trace of the non-virtual kernel images, headers, and metapackages to prevent the system from installing them the during the next dist-upgrade.


Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.