Pondering the mystery…

A quick n95 note

February 7th, 2008 cmsj

I just found an excellent post which includes some runes for getting the oh-so-ugly opensync to work with an n95. I just synced all my contacts to my laptop via Bluetooth \o/

Want to work for Canonical?

February 7th, 2008 cmsj

Maybe you’re fresh out of college or university, or maybe you just love tinkering with computers so much you didn’t bother with stuffy education.
We’re looking for someone to take on a junior role in our sysadmin team, so if you’re interested, take a look at the description and mail our lovely HR people!

Terminator PPA plans

January 31st, 2008 cmsj

Some administrivia about my PPA builds of Terminator.
Firstly, and somewhat late (for which I apologise), the 0.7 release should be available shortly from the PPA. It’s just been accepted, so should be built for gutsy soon.
Secondly, as some people may have noticed, Terminator is now included in the Universe repository of hardy (for which I humbly thank all involved in making it happen).
When hardy is released, I will remove terminator from my PPA. at that point, we can consider publishing further gutsy packages in the Terminator team’s PPA, however, I’m not hugely keen on supporting old distro releases that I don’t run myself anymore.

Terminator 0.7 released

January 14th, 2008 cmsj

Yes that’s right, it’s time for another advance in the endless march of that most robotic of terminals, Terminator.

Head over to its homepage for all the links you need to ease yourself into the future!

Migrating Ubuntu to RAID1

January 14th, 2008 cmsj

I have a fair stack of data that I quite like, some of which is vitally important, stored in multiple places and generally not at concern for loss without some very bad things happening already.
The rest I’d just like to keep. For example, I wouldn’t cry if I lost all my uni work, but it would be a shame. Same for the working emulation of my trusty Amiga that I used for so long, but now barely remember how to use.
So, not wanting to trust it all to a single hard disk, I bought a second so I can could clone the data onto two disks with RAID1. Not a problem in Linux thanks to software RAID. I knock up a RAID1 with a single partition on the new disk (which the tools like doing as much as they make sandwiches, grr). rsync across the existing / to the raid volume, modify fstab, grub and maybe something else and reboot expecting tenshu to finally live up to its name…

Except that’s not its name.

Not when it’s booting.

It turns out that having created the RAID volume while fully booted, it had been tagged as being for a machine with a hostname of “tenshu”. The initramfs does not know your hostname because your hostname is stored on your root partition, which is a RAID partition that hasn’t been mounted yet. It is possible for the initramfs to have a hostname, and I expect it might even have a kernel commandline option to specify it, but either way it’s not there by default.

As any string comparison function will tell you, “tenshu” is not an acceptable match for “(none)”.

So to fix this, boot the system and it should sit for ages waiting for the RAID arrays to assem ble (this timeout is *far* too long. what the hell takes this long to be detected by the system?!). After a while it will get bored and give you an initramfs shell. Busybox to the rescue!

I suspect you can run mdadm -A /dev/md0 --auto-update-homehost, although I ran mdadm -A /dev/md0 /dev/sdb3 --update=homehost to be specific and because I found those options first.
Reboot and bam, the orange bar of progress skips up merrily.

Assured that my data is safe on the new partition, I can now proceed to trash the original disk and grow the RAID1 to include it.

Jorge rocks

December 27th, 2007 cmsj

Thanks very much to Jorge Castro for pimping Terminator on his blog. I hope I get the flurry of patches he mentions!

Terminator 0.6 released

December 26th, 2007 cmsj

Terminator 0.6 is out. As usual you can get all of the goodness from here or my PPA, which has the 0.6 package already.

Terminator 0.5 released

November 9th, 2007 cmsj

Terminator 0.5 is out. This is another bugfix release. This one includes some pretty major fixes and some new default behaviours.
Maximisation of the window is no longer the default (but you can pass -m to do it). Additionally, you will just get one terminal when you start Terminator. Ctrl-shift-h and ctrl-shift-v will split the terminals (or you can still right click for a context menu).
Ctrl-shift-q will close a terminal, and ctrl-shift-n/ctrl-shift-p will cycle through the next/previous terminals respectively.

As usual, please head over here for the goodness. Gutsy packages will be hitting my PPA shortly.

Terminator gets a nice bugfix

November 7th, 2007 cmsj

Thanks to the hero Kees Cook Terminator is now able to resize its window smaller. A pretty stupid bug to have, but a fairly peculiar fix.
Either way, it’s done now. It’s starting to feel like I just need to polish up some features, fix a few tiny bugs and Terminator will be widely usable (not that it will be used widely because of how crazy it is).
Profile support is still a way off though, unfortunately.

Terminator hits PPA

September 21st, 2007 cmsj

If you’ve been over to my Terminator page you may have noticed that I use Launchpad for basically all of the services of releasing.
Taking this one step further, I have been building packages for Ubuntu Gutsy with Launchpad’s excellent PPA service. Details for how to get your Terminator goodness from PPA have been added to the Terminator Homepage.