<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>falstaffs Reise durchs Internet</title>
	<atom:link href="http://blog.falstaff.ch/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.falstaff.ch</link>
	<description>Ein Blog über Computertechnik, das Internet und die Nutzer</description>
	<lastBuildDate>Tue, 17 Aug 2010 21:26:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Zenphoto Dokuwiki integration</title>
		<link>http://blog.falstaff.ch/2010/08/17/zenphoto-dokuwiki-integration/</link>
		<comments>http://blog.falstaff.ch/2010/08/17/zenphoto-dokuwiki-integration/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 21:26:31 +0000</pubDate>
		<dc:creator>falstaff</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Softwareengineering]]></category>

		<guid isPermaLink="false">http://blog.falstaff.ch/?p=104</guid>
		<description><![CDATA[For a small web project I recently decided to use Zenphoto as photo gallery and Dokuwiki as Main page. I wanted that Dokuwiki and Zenphoto share they&#8217;re user database. But both ways, neither Zenphotos user database in Dokuwiki nor Dokuwikis &#8230; <a href="http://blog.falstaff.ch/2010/08/17/zenphoto-dokuwiki-integration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For a small web project I recently decided to use <a href="http://www.zenphoto.org/">Zenphoto</a> as photo gallery and <a href="http://www.dokuwiki.org/">Dokuwiki</a> as Main page. I wanted that Dokuwiki and Zenphoto share they&#8217;re user database. But both ways, neither Zenphotos user database in Dokuwiki nor Dokuwikis user database in Zenphoto seemed to be simple to implement. So I ended up in a Dokuwiki plug in which synchronize the user database with Zenphotos user database. For that purpose the plug in need the MySQL login information for Zenphotos database. It also allows to enable auto login for Zenphoto when login on Dokuwiki (by simple setting the right cookie). I created a <a href="http://github.com/falstaff84/dokuwiki-zenphoto">Github repository</a> and added a plug in wiki page to the Dokuwiki website. I thought it might be useful for anybody else&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.falstaff.ch/2010/08/17/zenphoto-dokuwiki-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using git to install dokuwiki</title>
		<link>http://blog.falstaff.ch/2010/08/12/using-git-to-install-dokuwiki/</link>
		<comments>http://blog.falstaff.ch/2010/08/12/using-git-to-install-dokuwiki/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 21:33:56 +0000</pubDate>
		<dc:creator>falstaff</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[dokuwiki]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[software update]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://blog.falstaff.ch/?p=95</guid>
		<description><![CDATA[Since some months now I use Subversion to update my WordPress installation. A simple &#8220;svn switch&#8221; to the new tag does the trick, and your WordPress installation is up to date! Since my Dokuwiki installation are getting older and older, &#8230; <a href="http://blog.falstaff.ch/2010/08/12/using-git-to-install-dokuwiki/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since some months now I use Subversion to update my WordPress installation. A simple &#8220;svn switch&#8221; to the new tag does the trick, and your WordPress installation is up to date! Since my <a href="http://www.dokuwiki.org/">Dokuwiki</a> installation are getting older and older, I decided doing that with Dokuwiki as well. The source code of Dokuwiki is hosted in a Git repository over at <a href="http://github.com/splitbrain/dokuwiki">Github</a>. I found nowhere a short instruction how to do that with git, so I thought I write one.</p>
<p>First of all, you need git to install git (always strange to install such software on a server, but who cares <img src='http://blog.falstaff.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</p>
<pre>
sudo aptitude install git-core
</pre>
<p>When you already have a Dokuwiki installation, you have to convert it to a git repository. Because git clone doesn&#8217;t allow using a non-empty directory, we have to work around this limitation. Warning: Using this method you will loose any changes made to Dokuwiki  specific files. Configuration and data should be in their own files so  you won&#8217;t loose such data.</p>
<pre>
git clone -b stable -n http://github.com/splitbrain/dokuwiki.git
mv dokuwiki/.git/ .
rmdir dokuwiki
git checkout -f
</pre>
<p>When you are going to install a new installation, use this command</p>
<pre>
git clone -b stable http://github.com/splitbrain/dokuwiki.git wiki
</pre>
<p>For security reasons its recommend to disallow the .git directory for HTTP requests by adding these lines to the .git/.htaccess file. You should also remove install.php.</p>
<pre>
rm install.php
vi .git/.htaccess
</pre>
<pre>
order allow,deny
deny from all
</pre>
<p>To update your installation, just use the command git pull, which will pull the latest commits from the original Github repository.</p>
<pre>
git pull
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.falstaff.ch/2010/08/12/using-git-to-install-dokuwiki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Glibc 2.11 breaks gcc&#8217;s backward compatibility</title>
		<link>http://blog.falstaff.ch/2010/05/18/glibc-2-11-breaks-gccs-backward-compatibility/</link>
		<comments>http://blog.falstaff.ch/2010/05/18/glibc-2-11-breaks-gccs-backward-compatibility/#comments</comments>
		<pubDate>Tue, 18 May 2010 19:48:38 +0000</pubDate>
		<dc:creator>falstaff</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Softwareengineering]]></category>

		<guid isPermaLink="false">http://blog.falstaff.ch/?p=90</guid>
		<description><![CDATA[Today I compiled a ARM Toolchain on my Ubuntu Lucid Lynx 10.04 PC. As I passed that to my friend he got this message: arm-elf-gcc: /lib/libc.so.6: version `GLIBC_2.11' not found (required by arm-elf-gcc) Oh yeah, binary compatibility is sometimes hard &#8230; <a href="http://blog.falstaff.ch/2010/05/18/glibc-2-11-breaks-gccs-backward-compatibility/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I compiled a ARM Toolchain on my Ubuntu Lucid Lynx 10.04 PC. As I passed that to my friend he got this message:</p>
<pre>arm-elf-gcc: /lib/libc.so.6: version `GLIBC_2.11' not found (required by arm-elf-gcc)</pre>
<p>Oh yeah, binary compatibility is sometimes hard in open source world. On the other side, why binary compatibility, we have the source! <img src='http://blog.falstaff.ch/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  But of course, its easier to use binaries then compile the same on every machine&#8230;<br />
I found out that the function mkstemps is used from the new glibc version:</p>
<pre>$ readelf -a arm-elf-gcc | grep GLIBC_2.11
    11: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND mkstemps@GLIBC_2.11 (4)
   427: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND mkstemps@@GLIBC_2.11
  008:   3 (GLIBC_2.3.4)   0 (*local*)       2 (GLIBC_2.2.5)   4 (GLIBC_2.11)
  0x0030:   Name: GLIBC_2.11  Flags: none  Version: 4
</pre>
<p>The functions, namly mkstemps and mkstemps64, <a href="http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=3a83202db6e5591f2b72974c1ad98602c6620770">were added</a> with glibc 2.11. Grepping showed that the function mkstemps is used inside the library &#8220;libiberty&#8221;. The configure script checks if the function is available on the host, if yes, it will use the hosts function, if not, it will build its own. As soon as the compiler descide to use the hosts mkstemps function, the resulting binary need glibc 2.11, which I would like to avoid.<br />
The solution is pretty simple: Add the object file &#8220;mkstemps.o&#8221; to the variable REQUIRED_OFILES in Makefile.in. This forces the Makefile to compile its own mkstemps function, which will be prefered when gcc is linked.</p>
<pre>$ vi libiberty/Makefile.in
</pre>
<pre>REQUIRED_OFILES = ./mkstemps.o                                          \
        ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o        \
...
</pre>
<p>My gcc&#8217;s glibc requirement is now 2.4, which is much older then gcc 2.11! As a result my gcc runs even on very old linux systems <img src='http://blog.falstaff.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.falstaff.ch/2010/05/18/glibc-2-11-breaks-gccs-backward-compatibility/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Convert VMware growable, splitted and snapshoted disks</title>
		<link>http://blog.falstaff.ch/2009/12/20/convert-vmware-growable-splitted-and-snapshoted-disks/</link>
		<comments>http://blog.falstaff.ch/2009/12/20/convert-vmware-growable-splitted-and-snapshoted-disks/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 15:17:53 +0000</pubDate>
		<dc:creator>falstaff</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualisierung]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.falstaff.ch/?p=83</guid>
		<description><![CDATA[In the last weeks I started to migrate my virtual machines to KVM. Until now, I used on two Servers VMware Server 2.0 on Ubuntu, which caused many problems with Disk I/O&#8217;s and performance problems. Either way, I prefer Open &#8230; <a href="http://blog.falstaff.ch/2009/12/20/convert-vmware-growable-splitted-and-snapshoted-disks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the last weeks I started to migrate my virtual machines to KVM. Until now, I used on two Servers VMware Server 2.0 on Ubuntu, which caused many problems with Disk I/O&#8217;s and performance problems. Either way, I prefer Open Source software whenever possible. KVM and libvirt, which I use to manage KVM, is in a quite mature state nowadays.</p>
<p>To convert the VMware images I used <a href="http://blog.bodhizazen.net/linux/convert-vmware-vmdk-to-kvm-qcow2-or-virtualbox-vdi/">this</a> How-To. This worked quite well for most of my Virtual Machines. But several had snapshots or were split into 2GB files. This cant be handled by qemu-img. I converted the files to single, flat disk file first using vmware-vdiskmanager. In the end, I wanted to have pre-allocated (single file) anyway, because it provides best performance:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ vmware-vdiskmanager <span style="color: #660033;">-r</span> Ubuntu.vmdk <span style="color: #660033;">-t</span> <span style="color: #000000;">0</span> Ubuntu-copy.vmdk</pre></div></div>

<p><span id="more-83"></span><br />
This takes a lot of time, and doesn&#8217;t work for snapshoted files (I get always an error saying &#8220;parent of this virtual disk could not be opened&#8221;). Therefore I searched for another solution which I found using &#8220;vmware-mount&#8221;, an utility provided by VMware. Because I already set up a new Ubuntu Server Installation, I tried to avoid installing VMware Server 2 again. I had to copy some libraries around to start that utility direct out of the unpacked VMware directory.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">tar</span> xvzf VMware-server-2.0.2-203138.x86_64.tar.gz
...
$ <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-R</span> vmware-server-distrib<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span> vmware-server-distrib<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>libdir<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>After that, I mounted the source VMware disk (&#8220;-0000002&#8243; points to the current running snapshot).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>user<span style="color: #000000; font-weight: bold;">/</span>vmware-server-distrib<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>vmware-mount VirtMachine-0000002.vmdk <span style="color: #000000; font-weight: bold;">/</span>mnt</pre></div></div>

<p>Using that command generates a flat view to the VMware disk using FUSE. This disk is then mounted using &#8220;losetup&#8221;. By using the command &#8220;losetup&#8221;, we can figure out where that flat FUSE file lies on the filesystem. We see that the loopback device created by vmware-mount uses a offset, which is the effective beginning of the partition which was mounted. But we want the whole disk, with the partition table in it. So we can ignore this offset.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> losetup <span style="color: #660033;">-a</span>
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>loop0: <span style="color: #7a0874; font-weight: bold;">&#91;</span>0015<span style="color: #7a0874; font-weight: bold;">&#93;</span>:<span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span>fuse<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">6512247014271621407</span><span style="color: #000000; font-weight: bold;">/</span>flat<span style="color: #7a0874; font-weight: bold;">&#41;</span>, offset <span style="color: #000000;">32256</span></pre></div></div>

<p>The file &#8220;/var/run/vmware/fuse/6512247014271621407/flat&#8221; contains the flat disk. This can be copied by just invoking the copy command &#8220;cp&#8221;. Its a good idea to unmount the disk before, to avoid writing new data to the disk during the copy process.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">umount</span> <span style="color: #000000; font-weight: bold;">/</span>mnt
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span>fuse<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">6512247014271621407</span><span style="color: #000000; font-weight: bold;">/</span>flat <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>image<span style="color: #000000; font-weight: bold;">/</span>VirtMachine.raw</pre></div></div>

<p>This raw file can be used by KVM. If you want a qcow2 file, you can use qemu-img on the source file, and choose qcow2 as output&#8230;<br />
If you move Windows Machines to KVM, also consider <a href="http://blog.loftninjas.org/2009/05/11/migrating-virtual-pc-windows-servers-to-kvm/">this Blog post</a> to avoid BSOD&#8217;s. I had the 7b BSOD, and wiped VMware away already. I had to set the disk to IDE and use a Windows Server 2003 Disc to repair the installation (Using &#8220;Enter&#8221; to install, and Repair the detected installation with &#8220;R&#8221; then)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.falstaff.ch/2009/12/20/convert-vmware-growable-splitted-and-snapshoted-disks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ISO-Dateien Booten</title>
		<link>http://blog.falstaff.ch/2009/12/02/iso-dateien-booten/</link>
		<comments>http://blog.falstaff.ch/2009/12/02/iso-dateien-booten/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 20:09:53 +0000</pubDate>
		<dc:creator>falstaff</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.falstaff.ch/?p=80</guid>
		<description><![CDATA[Vor kurzem habe ich bei meinem Laptop eine Intel SSD Harddisk eingebaut, und deswegen mein CD-Rom ausgebaut. Dies hab ich ohnehin selten bebraucht, aber es gibt Situationen, in denen es wirklich praktisch ist, zum Beispiel um CD&#8217;s zu booten. Ubuntu &#8230; <a href="http://blog.falstaff.ch/2009/12/02/iso-dateien-booten/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Vor kurzem habe ich bei meinem Laptop eine Intel SSD Harddisk eingebaut, und deswegen mein CD-Rom ausgebaut. Dies hab ich ohnehin selten bebraucht, aber es gibt Situationen, in denen es wirklich praktisch ist, zum Beispiel um CD&#8217;s zu booten. Ubuntu hat dafür ein Tool, um Ubuntu-CD&#8217;s auf USB-Sticks zu schreiben. Dies brauche ich auch öfters und funktioniert ganz ordentlich. Jedoch gibts manchmal auch andere ISO-Dateien die ich booten möchte. Dafür hab ich nun eine <a href="http://www.pendrivelinux.com/boot-iso-from-usb-flash-drive/">Lösung</a> gefunden: Es wird ein Linux mit einem angepassten GRUB-Bootloader auf einen Memorystick geschrieben. Dieser Bootloader kann dan die ISO-Datei direkt vom USB-Stick booten. Wirklich sehr praktisch, allerdings funktioniert die Anleitung nur unter Windows&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.falstaff.ch/2009/12/02/iso-dateien-booten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox 3.1 Performancevergleich</title>
		<link>http://blog.falstaff.ch/2009/12/01/virtualbox-3-1-performancevergleich/</link>
		<comments>http://blog.falstaff.ch/2009/12/01/virtualbox-3-1-performancevergleich/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 19:19:50 +0000</pubDate>
		<dc:creator>falstaff</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualisierung]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.falstaff.ch/?p=72</guid>
		<description><![CDATA[Gestern wurde VirtualBox 3.1 freigegeben. Im ChangeLog steht, dass die Performance erheblich verbessert wurde. Dies wollte ich einmal auf den Prüfstand stellen, und habe ein paar Messungen auf meinem Notebook gemacht (HP EliteBook 8530w, Core 2 Duo T9400, 4 GB &#8230; <a href="http://blog.falstaff.ch/2009/12/01/virtualbox-3-1-performancevergleich/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Gestern wurde VirtualBox 3.1 freigegeben. Im <a href="http://www.virtualbox.org/wiki/Changelog">ChangeLog</a> steht, dass die Performance erheblich verbessert wurde. Dies wollte ich einmal auf den Prüfstand stellen, und habe ein paar Messungen auf meinem Notebook gemacht (HP EliteBook 8530w, Core 2 Duo T9400, 4 GB Ram mit Ubuntu Karmic 64-Bit). Dazu habe ich die Boot-Zeit zweier virtuellen Maschinen gemessen. Dafür habe ich die Maschine zuerst einmal gestartet, so dass alle Daten im Ram vorhanden sein sollten. Dannach habe ich zwei Durchläufe gestoppt, jeweils vom Startklick bis zum Login-Bildschirm. Die erste Maschine im Test war Windows 7 Ultimate 64-Bit von meiner SSD (Intel SSD 80GB X18-M G2), die zweite Maschine Windows XP Professional 32-Bit von meiner Magnetplatte (Seagate Momentus 320GB 7200upm). Beiden Maschinen sind mit S-ATA und Hardwarevirtualisierung konfiguriert. Die Resultate finden Sie nach dem Sprung.<span id="more-72"></span></p>
<p><!--   		BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Arial"; font-size:x-small } --></p>
<table border="0" cellspacing="0" frame="VOID" rules="NONE">
<colgroup>
<col width="227"></col>
<col width="86"></col>
<col width="86"></col>
<col width="86"></col>
<col width="86"></col>
</colgroup>
<tbody>
<tr>
<td width="227" height="17" align="LEFT"></td>
<td style="text-align: right;" colspan="2" width="171" valign="MIDDLE"><strong>VirtualBox 3.0.12</strong></td>
<td style="text-align: right;" colspan="2" width="171" valign="MIDDLE"><strong>VirtualBox 3.1.0</strong></td>
</tr>
<tr>
<td height="17" align="LEFT"></td>
<td style="text-align: right;"><strong>Test 1</strong></td>
<td style="text-align: right;"><strong>Test 2</strong></td>
<td style="text-align: right;"><strong>Test 1</strong></td>
<td style="text-align: right;"><strong>Test 2</strong></td>
</tr>
<tr>
<td height="17" align="LEFT"><strong>Windows 7 Ultimate (64-Bit)</strong></td>
<td align="RIGHT">32 s</td>
<td align="RIGHT">31 s</td>
<td align="RIGHT">25 s</td>
<td align="RIGHT">25 s</td>
</tr>
<tr>
<td height="17" align="LEFT"><strong>Windows XP Professional (32-Bit)</strong></td>
<td align="RIGHT">15 s</td>
<td align="RIGHT">15 s</td>
<td align="RIGHT">13 s</td>
<td align="RIGHT">13 s</td>
</tr>
</tbody>
</table>
<p>Definitiv erfreuliche Resultate. Die Performance Verbesserung konnte gemessen werden, insbesondere mit Windows 7. Der Bootprozess bei Windows XP ist bereits so schnell, das da nicht viel raus schaut, zumal das BIOS/Bootloader selber etwa 5 Sekunden in Anspruch nehmen&#8230; Die Messungen sind keineswegs exakt, jedoch zeigen sie dass sich mit VirtualBox 3.1.0 wirklich etwas getan hat!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.falstaff.ch/2009/12/01/virtualbox-3-1-performancevergleich/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>QEMU&#8217;s qcow2 Format zu VirtualBox vdi Format konvertieren</title>
		<link>http://blog.falstaff.ch/2008/12/21/qemus-qcow2-format-zu-virtualbox-vdi-format-konvertieren/</link>
		<comments>http://blog.falstaff.ch/2008/12/21/qemus-qcow2-format-zu-virtualbox-vdi-format-konvertieren/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 18:12:54 +0000</pubDate>
		<dc:creator>falstaff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.falstaff.ch/?p=66</guid>
		<description><![CDATA[Heute habe ich versucht das QEMU spezifische qcow2-Format zu einem VirtualBox vdi-Format zu konvertieren. Die einfachste Variante die ich gefunden habe wurde in einem Blog eintrag von &#8220;VirtaulGuru&#8221; beschrieben. Die beschriebene Variante funktioniert mit dem QEMU-Utility qemu-img. Standardmässig kann qemu-img &#8230; <a href="http://blog.falstaff.ch/2008/12/21/qemus-qcow2-format-zu-virtualbox-vdi-format-konvertieren/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Heute habe ich versucht das QEMU spezifische qcow2-Format zu einem <a href="http://www.virtualbox.org/">VirtualBox</a> vdi-Format zu konvertieren. Die einfachste Variante die ich gefunden habe wurde in einem Blog eintrag von &#8220;VirtaulGuru&#8221; <a href="http://blogs.sun.com/VirtualGuru/entry/convert_amp_import_vm_virtual">beschrieben</a>. Die beschriebene Variante funktioniert mit dem QEMU-Utility qemu-img. Standardmässig kann qemu-img jedoch nicht mit dem vdi-Format umgehen, dafür wurde jedoch im Sommer dieses Jahres ein <a href="http://lists.gnu.org/archive/html/qemu-devel/2008-07/msg00430.html">Patch</a> auf der QEMU-Developer-Mailingliste veröffentlicht. Leider funktioniert dieser Patch nicht mit der letzten Releaseversion von QEMU (0.9.1). Auch meine 64-Bit installation bereitete einige Fehler. Ich habe deshalb den Patch ein wenig angepasst. Ihr könnt in hier herunterladen. Die Konvertierung ansich ist mit der gepatchten qemu-img Version ganz einfach:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>bellard.org<span style="color: #000000; font-weight: bold;">/</span>qemu<span style="color: #000000; font-weight: bold;">/</span>qemu-0.9.1.tar.gz
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>blog.falstaff.ch<span style="color: #000000; font-weight: bold;">/</span>wp-content<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2008</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">12</span><span style="color: #000000; font-weight: bold;">/</span>qemu-vdi-new.diff
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzvf qemu-0.9.1.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> qemu-0.9.1
<span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">-p0</span> <span style="color: #000000; font-weight: bold;">&lt;</span>qemu-vdi-new.diff
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span> qemu-img
<span style="color: #c20cb9; font-weight: bold;">strip</span> qemu-img
<span style="color: #c20cb9; font-weight: bold;">cp</span> qemu-img <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>qemu-img-vdi
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>qemu-img-vdi convert <span style="color: #ff0000;">&quot;WindowsXP.qcow2&quot;</span> <span style="color: #660033;">-O</span> VDI <span style="color: #ff0000;">&quot;WindowsXP.vdi&quot;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.falstaff.ch/2008/12/21/qemus-qcow2-format-zu-virtualbox-vdi-format-konvertieren/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu virtualisiert mit KVM und hoher Auflösung</title>
		<link>http://blog.falstaff.ch/2008/10/13/ubuntu-virtualisiert-mit-kvm-und-hoher-auflosung/</link>
		<comments>http://blog.falstaff.ch/2008/10/13/ubuntu-virtualisiert-mit-kvm-und-hoher-auflosung/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 21:02:27 +0000</pubDate>
		<dc:creator>falstaff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.falstaff.ch/?p=61</guid>
		<description><![CDATA[Seit einiger Zeit nutze ich nun KVM als Virtualisierungslösung unter Ubuntu und bin absolut zufrieden. Am Anfang habe ich vorallem Windows als Gast verwendet. Bei Windows schalte ich jeweils RDP frei und verbinde dann mit rdesktop auf die virtuelle Maschine. &#8230; <a href="http://blog.falstaff.ch/2008/10/13/ubuntu-virtualisiert-mit-kvm-und-hoher-auflosung/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Seit einiger Zeit nutze ich nun KVM als Virtualisierungslösung unter Ubuntu und bin absolut zufrieden. Am Anfang habe ich vorallem Windows als Gast verwendet. Bei Windows schalte ich jeweils RDP frei und verbinde dann mit rdesktop auf die virtuelle Maschine. Bei Linux verwende ich die integrierte VNC Lösung von KVM. Damit man höhere Auflösungen als 1024&#215;768 (1280&#215;1024 bei 16-Bit Farbtiefe) verwenden kann, muss man die Option &#8220;-std-vga&#8221; (Ab KVM-77 &#8220;-vga std&#8221;) einschalten. Dies emuliert eine Standart VGA Grafikkarte mit VESA VBE 2.0 Unterstützung. Nun muss der entsprechende Treiber installiert und in xorg.conf eingetragen werden:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xserver-xorg-video-vesa
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Section <span style="color: #ff0000;">&quot;Device&quot;</span>
    Identifier    <span style="color: #ff0000;">&quot;Bochs VESA VBE 2.0&quot;</span>
    Driver        <span style="color: #ff0000;">&quot;vesa&quot;</span>
EndSection</pre></div></div>

<p>Eventuell müssen die Modes noch angepasst werden. Bei mir funktionieren damit Auflösungen bis 1920&#215;1200!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.falstaff.ch/2008/10/13/ubuntu-virtualisiert-mit-kvm-und-hoher-auflosung/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Seite in einer PDF-Datei drehen</title>
		<link>http://blog.falstaff.ch/2008/08/25/seite-in-einer-pdf-datei-drehen/</link>
		<comments>http://blog.falstaff.ch/2008/08/25/seite-in-einer-pdf-datei-drehen/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 15:39:30 +0000</pubDate>
		<dc:creator>falstaff</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://blog.falstaff.ch/?p=53</guid>
		<description><![CDATA[Einfaches Problem, einfache Lösung: Es genügt das PDF in einem Editor zu öffnen und die Rotation bei der entsprechenden Seite zu definieren. Kurz nach dem Beginn des Dokumentes findet man die Zeichenfolge &#8220;/Type /Page&#8221;. Direkt nach diesem Eintrag kann ein &#8230; <a href="http://blog.falstaff.ch/2008/08/25/seite-in-einer-pdf-datei-drehen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Einfaches Problem, einfache Lösung: Es genügt das PDF in einem Editor zu öffnen und die Rotation bei der entsprechenden Seite zu definieren. Kurz nach dem Beginn des Dokumentes findet man die Zeichenfolge &#8220;/Type /Page&#8221;. Direkt nach diesem Eintrag kann ein Rotationswinkel angegeben werden. Eine neue Zeile nach der genannten Zeichenfolge mit dem Eintrag &#8220;/Rotate 90&#8243;, wobei 90 für den Rotationswinkel in Grad steht, genügt, und die Rotation der Seite permanennt im Dokument zu gespeichert. Selbstverständlich kann so das Dokument auch um 180° oder 270° gedreht werden. Etwas komplizierter wirds wenn das Dokument viele Seiten lang ist und man Seite X drehen möchte. Dafür verwende ich jeweils <a title="pdftk" href="http://www.lagotzki.de/pdftk/index.html">pdftk</a>, und schneide die entsprechende Seite mit der Funktion &#8220;cat&#8221; aus, drehe diese und füge das PDF mit der selben Funktion wieder zusammen.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.falstaff.ch/2008/08/25/seite-in-einer-pdf-datei-drehen/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>E-Mails mit Tastenkürzel verschieben</title>
		<link>http://blog.falstaff.ch/2008/07/22/e-mails-mit-tastenkurzel-verschieben/</link>
		<comments>http://blog.falstaff.ch/2008/07/22/e-mails-mit-tastenkurzel-verschieben/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 18:34:35 +0000</pubDate>
		<dc:creator>falstaff</dc:creator>
				<category><![CDATA[E-Mail]]></category>

		<guid isPermaLink="false">http://falstaff.blog.deheime.ch/?p=38</guid>
		<description><![CDATA[Um E-Mails zu lesen verwende ich schon seit längerem Thunderbird. Spams welche im Posteingang laden sollte dabei in einen spezifischen Ordner abgelegt werden, damit der Spamfilter von diesen ungefilterten Spams lernt. Bisher habe ich diese E-Mails deshalb immer per Drag-and-Drop &#8230; <a href="http://blog.falstaff.ch/2008/07/22/e-mails-mit-tastenkurzel-verschieben/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-43" title="bildschirmfoto-keyconfig-tastaturkurzel-bearbeiten" src="http://blog.falstaff.ch/wp-content/uploads/2008/08/bildschirmfoto-keyconfig-tastaturkurzel-bearbeiten-300x135.png" alt="" width="300" height="135" />Um E-Mails zu lesen verwende ich schon seit längerem <a href="http://www.mozilla.com/thunderbird/">Thunderbird</a>. Spams welche im Posteingang laden sollte dabei in einen spezifischen Ordner abgelegt werden, damit der Spamfilter von diesen ungefilterten Spams lernt. Bisher habe ich diese E-Mails deshalb immer per Drag-and-Drop in den Spamordner verschoben. Dies wurde mir etwas zu aufwendig, deshalb habe ich nach einer einfacheren Lösung gesucht, was ich mit dem Add-On <a href="http://forum.addonsmirror.net/index.php?showtopic=255">Keyconfig</a> fand. Das Add-On ermöglicht es die Tastenkombinationen von Thunderbird anzupassen und neue zu definieren.<a href="http://blog.falstaff.ch/wp-content/uploads/2008/08/bildschirmfoto-keyconfig-tastaturkurzel-bearbeiten.png"><span id="more-32"></span><br />
</a><a href="http://blog.falstaff.ch/wp-content/uploads/2008/08/bildschirmfoto-keyconfig-tastaturkurzel-anpassen.png"><img class="alignright size-medium wp-image-42" title="bildschirmfoto-keyconfig-tastaturkurzel-anpassen" src="http://blog.falstaff.ch/wp-content/uploads/2008/08/bildschirmfoto-keyconfig-tastaturkurzel-anpassen-300x262.png" alt="" width="300" height="262" /></a><a href="http://blog.falstaff.ch/wp-content/uploads/2008/08/bildschirmfoto-keyconfig-tastaturkurzel-bearbeiten.png">Auf mozillaZine habe ich dazu ein </a><a href="http://kb.mozillazine.org/Keyconfig_extension:_Thunderbird">Artikel</a> gefunden, welcher eingebaute Commands in Thunderbird erklährt. Diese Commands können genutzt werden um neue Tastenkürzel zu definieren.<br />
Erstmal muss das <a href="http://forum.addonsmirror.net/index.php?showtopic=255">Add-On Keyconfig</a> installiert werden. Danach findet man unter Extras den Eintrag “Tastaturkürzel anpassen…”. Hier kann nun eine neue Funktion und ein Tastenkürzel definiert werden.<br />
Für meinen Zweck wollte ich die Taste “J” nutzten um das markierte Mail in den Spamordner zu verschieben. Dafür verwende ich die Funktion “MsgMoveMessage”. Als Parameter wird die Folder-URI übergeben. Um diese URI herauszufinden habe ich zuerst eine neues Tastenkürzel definiert, welche die Folder-URI des akutellen Folder ausgibt:</p>
<div class="wp_syntax">
<div class="code">
<pre>with <span style="font-weight: bold; color: #7a0874;">(</span>GetSelectedFolderResource<span style="font-weight: bold; color: #7a0874;">(</span><span style="font-weight: bold; color: #7a0874;">)</span><span style="font-weight: bold; color: #7a0874;">)</span> prompt<span style="font-weight: bold; color: #7a0874;">(</span><span style="color: #ff0000;">"URI: "</span> + URI, URI<span style="font-weight: bold; color: #7a0874;">)</span></pre>
</div>
</div>
<p>Danach habe ich ein neues Tastenkürzel definiert, welche dann die selektierten E-Mails verschieben soll:</p>
<div class="wp_syntax">
<div class="code">
<pre>MsgMoveMessage<span style="font-weight: bold; color: #7a0874;">(</span><span style="color: #ff0000;">"imap://falstaff@mail.deheime.ch/user/spam/Spam"</span><span style="font-weight: bold; color: #7a0874;">)</span></pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.falstaff.ch/2008/07/22/e-mails-mit-tastenkurzel-verschieben/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
