A given Debian Squeeze server running on a virtual machine was "cloned" using the vmSphere conversion tool.

The process was unsuccessful, it fail at 98%, after the tool tried to install grub. So, the VM have no boot loader.

I booted from CD into rescue mode, used the "grub reinstall" and reboot. Now grub was installed in MBR but it reports an error telling there is no such device and show an a string UUID and then fail (failing to find the root partition there is no way to continue).

After few hours of debugging I finally was able to make the virtual...

more »

Starting configuration: HP Proliant ML150 G3 server.

  • 2 x 500 GB SATA drives (Seagate ...) /dev/sda and /dev/sdb.
  • 2 raid1 device - /dev/md0 (made of /dev/sda1 and /dev/sdb1) for system /dev/md1 for swap

One of the hdd crashed physically (/dev/sda). I wanted to upgrade to better and bigger hdd and got 2x 1TB Samsung.

I replaced the faulty disk and I booted the system from /dev/sdb  (needed BIOS boot device reconfiguration) and then

  1. Clean the new HDD of all existing partitions (already clean since was new but this step s...
more »

Recently we've had to upgrade few eZ Publish sites from an older 3.9 version. Since we wanted to use ezupgrade for this then we've got to make php4 available in order to complete the upgrade from 3.9.x to 3.10.1.

To solve the problem of having both php4 and php5 running on the same PC (running Ubuntu 11) I choose the simplest solution: keep the default apache2 + php5 packages and add php4 by cgi (aslo cli will be available). Then I will configure a new virtual host php4-cgi that will parse the php files using php4 by cgi.

So, my goal was: when I want to test a info.php script...

more »