Howto: Resize Xen Loop Disk Image

Win4lin, KVM, QEMU, Virtualbox and Xen are all widely used technologies, used in virtual servers. Fairly often a virtual server run from within a loop filesystem and generally start with a fairly small file (1GB is big for a normal file, but not when it is pretending to be an entire filesystem!)

However things often grow over time.

Here is a nice simple procedure for increasing the size of a loop filesystem, if the filesystem is ext2 or ext3 (the procedure should work for ext4 too, but I havn’t tested it yet)

1. Stop the virtual server that is using the loop filesystem
2. Add some extra space to your loop filesystem file
# dd if=/dev/zero bs=1024k count=1024 >> loop_image_file

This adds 1GB to the end of a file called loop_image_file (make sure to use the append output redirector >> not a single >, otherwise you’ll have an empty 1GB file!)

3. Force a check on the resized/increased filesystem
# e2fsck -f loop_image_file

4. Resize the filesystem within the loop filesystem file
# resize2fs loop_image_file

5. Start the virtual server again

Comments off

Windows XP Themes

This post reviews the most popular free for download themes for Windows.

Themes for Windows XP often requires different types of heavy and resource demanding 3rd party software, e.g. like ThemeXP and others. In this post I have collected the most popular themes that do not require additional 3rd partysoftware.

The Luna Theme
The Luna Windows XP theme is the traditional Windows XP theme. The Luna themeaka the official Windows XP Style is available in three different color schemes; Blue (the default), Olive Green, and Silver.

The Energy Blue Theme
The Energy Blue theme is a theme concept produced by Microsoft and introduced in 2004 for the Windows Media Center and Windows XP Tablet editions. It is composed of a new redesigned wallpaper (inspired by Windows XP Bliss) and a new desktop theme and skin. The concept presents aesthetic brilliant and relucent blue and green colors. The Energy Blue theme is not only available for Windows Media Center and Windows XP Tablet editions, but also regular Windows XP editions.

Download the Energy Blue theme here.

The Royale Themes
The Royale theme is a new theme for Windows XP that has leaked out of Microsoftand onto the web. The theme appears to have come out of a beta version ofWindows Media Center 2005 that was in testing. The Royale theme is an aesthetic theme and comes with two color schemes Royale (a blue theme) and Royale Noir (a black theme). The Royale theme is refreshingly different to the traditionalWindows XP Luna theme.

Download the Royale theme here and the Royale Noir theme here or here (1).

The Zune Theme
After the Royale and the Royale Noir themes were leaked onto the web Microsoftdecided to release a modified version of the Royale theme called Zune – perhaps to promote the release of their new invention – the Zune. The Zune theme is different to the Royale and the Royale Noir themes by having orange controls and a orange start-button.

Download the Zune theme here at Microsoft

Matching Firefox Themes
Until now I have been unable to find matching themes for Mozilla Firefox. I’m currently searching the net for a Firefox theme that matches the Royale Noir theme.

Comments off