Archive for category Linux
Fedora 16 dom0 – update
Posted by Kyle Lexmond in Xen on November 23, 2011
I’m trying out F16 as a dom0 from the beginning. No upgrades from F15 this time. So far, it’s generally ok. The install (from the netinstall ISO) was straightforward. Only issue was that F16 strongly recommends that a BIOS boot partition be present. (Read: Requires it unless you pass a nogpt option to the kernel […]
Because this is worth repeating
Posted by Kyle Lexmond in Xen on November 23, 2011
I could have sworn I did this a while ago. But I got the error “‘Out of memory’, “xc_dom_boot_mem_init: can’t allocate low memory for domain\n “” when I tried to do a virt-install today. The problem? I was installing a 64bit domU on a 32bit dom0. Which is a no-no. Didn’t realise until I found […]
Dangers of not thinking about what you’re typing
Posted by Kyle Lexmond in Linux, Xen on November 7, 2011
Just upgraded a domU to Fedora 15 from F14. As part of the upgrade, init essentially dies, and you have to hard reboot the VM. So I thought “Oh hey, why not use the Magic Sysrq keys to trigger a reboot. After all, I just learnt about xm sysrq.” The first command, xm sysrq 0 […]
How I learnt to love xl block-attach
Posted by Kyle Lexmond in Linux, Xen on November 7, 2011
Originally, I exported one block device to each VM, then partitioned it. No fuss, everything self-contained in the one file/logical volume. Then I had a few incidences where the VM crashed, and I needed to get a file or two off the virtual drive. It was a complicated process, as detailed in one of my […]
Xen 4.1.2 on Fedora 16 Beta – My experience
Posted by Kyle Lexmond in Xen on October 31, 2011
Duplicate of my mail to the Xen-users list:
Stupid Trick: Changing the UUID in /etc/fstab from an emergency shell with screen
Posted by Kyle Lexmond in Linux on October 29, 2011
So. I installed a new VM with /boot formatted as btrfs. Except pygrub apparently doesn’t like btrfs, so it refused to boot. And I refused to reinstall. So it looked like an impasse – I didn’t want to mess around with chroots and installing grub2, but it couldn’t boot without said messing around. And then […]
Revised Fedora virt-install command
Posted by Kyle Lexmond in Xen on October 22, 2011
I got tired of having to muck around with kpartx and such whenever a domU went down. So I decided to just go with 4 LVs per domU – root, home, swap and boot. The command to create the LVs is just one really long one, the original command replicated 4 times: lvcreate -L10G -n […]
Why I’m becoming increasingly disillusioned with SELinux
Posted by Kyle Lexmond in Linux on October 22, 2011
My history with SELinux is a… varied one. I first remember using it back in Fedora Core 6. I soon gave up on it, the labeling wasn’t consistent and I didn’t have the time nor inclination to relabel everything, especially when a quick one work change in a config file fixed all my problems. The […]
Win2K8R2 as HVM VM on Xen 4.1
Posted by Kyle Lexmond in Xen on October 21, 2011
Config file: pastebin.com/ULE1Y49R Also, it’s working fine without the Xen extensions, though there’s (at least) one unknown device in the device manager)
Sudo broken on F16?
Posted by Kyle Lexmond in Linux on October 21, 2011
I haven’t been able to use sudo on F16Beta on both machines that I upgraded – even though I know sudo worked fine before I upgraded. Not sure why/how it broke… Turns out SELinux broke it somehow.