kvm

  • warning: Parameter 1 to texy_image_texy_handler() expected to be a reference, value given in /usr/share/drupal6/includes/module.inc on line 483.
  • warning: Parameter 1 to texy_syntaxhighlighting_texy_handler() expected to be a reference, value given in /usr/share/drupal6/includes/module.inc on line 483.
  • warning: Parameter 1 to texy_texy_settings() expected to be a reference, value given in /usr/share/drupal6/includes/module.inc on line 483.
  • warning: Parameter 1 to texy_image_texy_settings() expected to be a reference, value given in /usr/share/drupal6/includes/module.inc on line 483.
  • warning: Parameter 1 to texy_syntaxhighlighting_texy_settings() expected to be a reference, value given in /usr/share/drupal6/includes/module.inc on line 483.

Boot a VM from an ISO and redirect the ouptut to the console

Let's imagine that you have a server which is only accessible over ssh and want to install a virtual machine with kvm or qemu on it based on an Ubuntu server ISO or alternate CD. The logical way to perform this install would have normally been to use a VNC connection to perform the installation, but your machine is so far away that the latency renders this option almost unuseable. Here is a way to do this by redirecting the console output to the terminal and bypass the initial graphical boot screen. 

  1.  Mount you iso as a loopack on /mnt

    #mount -o loop hardy-server-i386.iso /mnt

  2. Create a new empty virtual disk image

    #qemu-img create -f qcow2 -c disk.qcow2 2G

OSCON and LinuxWorld 2008 [en]

LinuxWorld 2008 just ended, OSCON was a couple weeks ago, I guess now would be a good time for me to post the presentation I used at these events… Both were great events, and Ubuntu won (again) the best desktop product award and for the first time the best booth one :) Clear that our booth kept quite busy the 3 days. It was hard to find a moment to go eat something!

Anyway, as promised to

Syndicate content