Archive for category Uncategorized

'Hardware' clocks in Fedora 13/14 VMs

Disable the hardware clock The Xen domU will use the host’s clock, so we replace hwclock with an empty shell script echo exit 0 > /sbin/hwclock (from blog.jphoude.qc.ca/2007/10/26/centos-5-xen-images-part-1/)

No Comments

opensolaris domU on a Fedora 13 dom0

Has been nothing but a pain. Seriously. Tried justindthomas.wordpress.com/2009/04/03/installing-nexentacp-2-rc1-on-xenserver-5/ . Close, but no cigar. Installing goes fine, but switching from HVM to PV kills it. bderzhavets.wordpress.com/2009/03/20/pygrub-install-opensolaris-200811-at-xen-unstable-dom0-with-2629-rc7-pvops-enabled-kernel/ looks good, but I have no idea where he’s getting the kernel and ramdisk from. I’ll be trying wiki.tardis.ed.ac.uk/index.php/OpenSolaris_Xen_domU, blogs.sun.com/levon/entry/opensolaris_2008_11_guest_domain and blogs.sun.com/levon/entry/opensolaris_2009_06_guest_domain over the weekend from a clean slate, […]

No Comments

Gotchas when installing a HVM

Using the Nexenta 3 release to get a better userland system than opensolaris. It’s based off OpenSolaris build 134, and still comes with ZFS, so it fits my needs perfectly. Since some customization has to be done first, it has to be installed in HVM mode. Which… has a few gotchas. 1. Only 4 devices […]

No Comments

Xen 4 on Fedora 13

Have decided to go with Fedora 13 for my Xen install. Reaons being: VMWare and XenServer don’t support USB Passthrough, which I want to run one of the VMs as a home server, and will pass 2 printers through to it. CentOS is running off an old kernel and Xen version. If I want the […]

No Comments

Setting the timezone from the shell

In Fedora 13 (and likely others), use cp /usr/share/zoneinfo/$TIMEZONE /etc/localtime && ntpd -q, where $timezone is your timezone. (The ntpd -q is likely unnecessary, but, eh. It’ll force an update to the system time.)

No Comments

CentOS 5.5 on an ASUS Motherboard

Trying a new VM host that uses an ASUS motherboard. Unfortunately, old version of kernel in CentOS 5.5 means that no networking ever comes up. Specifically, the Atheros L1 Gigabit Ethernet driver isn’t in such an old version of the kernel. (Only came in in 2.6.21, centOS 5.5 is 2.6.18) Fix: Going by the page […]

2 Comments

Oddities in OpenSolaris b130

Problem: Apache’s default SSL configuration doesn’t work. “\x16\x03\x01” 501 shows up in /var/apache2/2.2/logs/access_log Situation: The default config doesn’t have Apache responding to an SSL query – instead, it sends an unencrypted response back, leading to the web browser showing an error page. Fix: Change the line in /etc/apache2/2.2/sample-conf.d/ssl.conf that has to Problem: Some php programs […]

No Comments

CentOS 5.4 domU on centOS 5.4 dom0 install using qemu

Assuming cd image is in the working directory, qemu -hda /dev/domUs/centos5 -hdb /dev/domUs/centos5swap -cdrom ./CentOS-5.4-i386-bin-DVD.iso -boot d -vnc 0.0.0.0:0 Use a VNC client (ie. RealVNC) and connect to the display – [Hostname or IP Address of the Xen server]:0 Seems to be bloody slow, but working. For some reason, restarting it after the install causes […]

No Comments

Debian domU on CentOS 5.4 Dom0 using debootstrap

I’m hoping to essentially follow this: bderzhavets.wordpress.com/2009/05/02/debootstrap-ubuntu-jaunty-pv-domu-at-xen-331-f10-dom0-kernel-2630-rc3-tip/ Essentially, create LVs and format them (look at the previous posts for the how to), and have debootstrap installed on the CentOS host. Mount the LV in which you’re going to install Debian on by running mount <LV location> <mount location>. I did mount /dev/mapper/debian /mnt/debian. The command […]

2 Comments

Ubuntu 9.10 domU on CentOS 5.4 Dom0 using debootstrap

I’m hoping to essentially follow this: help.ubuntu.com/9.10/installation-guide/i386/linux-upgrade.html and this: ubuntuforums.org/showpost.php?p=4892417&postcount=2 Essentially, create LVs and format them (look at the previous posts for the how to), and have debootstrap installed on the CentOS host. Mount the LV in which you’re going to install Ubuntu on by running mount <LV location> <mount location>. I did mount /dev/domU/ubuntu […]

2 Comments