I've just been struggling to get a xen console working for Ubuntu 8.04 (hardy). By default, xen-create-image uses hvc0, but that's only since kernel 2.6.26 (don't know if that's only pv_ops or xen-patched). Hardy uses 2.6.24 and therefore it's xvc0. The xen-create-image command or xen-tools.conf config file therefore need a parameter serial_device=xvc0.
Read More »
By
halfgaar, 1 year ago, on
December 04, 2010, at 15:12 |
This site provided a nice short c program to measure seek times. I would attach the file in case that site goes down, but this blog still has upload errors...
Read More »
By
halfgaar, 1 year ago, on
December 03, 2010, at 18:12 |
This post is even more of a memory aid than normal; it's really only useful to me.
Source. I assume Ubuntu is similar.
Read More »
By
halfgaar, 1 year ago, on
December 03, 2010, at 15:12 |
It took me forever to find the packages on Archlinux that contained the XML catalogs files for HTML and XHTML. So:
Read More »
By
halfgaar, 1 year ago, on
November 07, 2010, at 23:11 |
My attempts to get Xen working right on Debian stable (Lenny) were not really successful. Xen has had some interesting developments and the version in Lenny is just too old. Plus, the debian bootstrap scripts used to create images don't support Ubuntu Maverick... Squeeze (testing) has the newest Xen and deboostrap, so that's cool. I used the AMD64 architecture.
Read More »
By
halfgaar, 1 year ago, on
November 07, 2010, at 20:11 |
Because the unix permission model sucks, it is very hard to have a shared directory where everybody has full access to each others files. The same is true when making a shared samba archive. Luckily, samba has forcing options.
Read More »
By
halfgaar, 1 year ago, on
November 05, 2010, at 12:11 |
There is this website, dealextreme.nl, which sells all kinds gadgets for low prices. I bought two SD-to-IDE addapters, so that I could put a solid state disk in my router.
Read More »
By
halfgaar, 1 year ago, on
October 31, 2010, at 00:10 |
First, convert it to raw:
qemu-img convert system.qcow2 -O raw system.raw
Read More »
By
halfgaar, 1 year ago, on
October 08, 2010, at 17:10 |
Zimbra installs its own mysql and there is no workable mysqldump command. There is a mysql command wrapper script (/opt/zimbra/bin/mysql) that loads an environment to set password and such, but there is no such thing for mysqldump. I copied that wrapper script to /usr/local/bin/mysqldump so that user zimbra can no run mysqldump. This is it:
Read More »
By
halfgaar, 1 year ago, on
October 08, 2010, at 15:10 |
Dowloading flash normally requires installing a stupid Adobe download manager. Who needs a download manager for 2MB? Here is the direct link to the installer.
Read More »
By
halfgaar, 1 year ago, on
October 05, 2010, at 14:10 |