Archive for April, 2007

VMWare Server 1.0.2 with Feisty Fawn(Kernel 2.6.20)

I have been using Feisty now for… 1 hour and I found the first major problem. VMware is not running anymore. Re-Running the configuration file /usr/bin/vmware-config.pl, as suggested, fails and returns an error that it could not compile. So after a search I found that VMware Server is not supporting Kernel version 2.6.20, used by Feisty. But, I found in the same topic the following work-around.

 Originally Posted by marceloshima
VMware Server Howto (Feisty)
 Step 1 (Installing the modules from repository)
$ sudo apt-get install vmware-server-kernel-modules

Step 2 (Installing VMware Server) $
tar -xzf VMware-server-1.0.2.???????.tar.gz
$ cd vmware-server-distrib/
$ ./vmware-install.pl
Step 3 (Make VMware Server Daemon work with Feisty modules)
$ sudo sed -i -e "s/\/sbin\/insmod -s -f \"\/lib\/modules\/\`uname -r\`\/misc\/\$1.o\"/modprobe -s -f \$1/" /etc/init.d/vmware
Step 4 (Make the configure script ignore the configure of a new module)
$ sudo sed -i -e "s/sub configure_module {/sub configure_module {\n return 'yes';/" /usr/bin/vmware-config.pl
Step 5 (Reconfigure)
$ sudo vmware-config.pl
Step 6(Restarting the application)
$ sudo /etc/init.d/vmware restart

Another solution would be to use the vmware-any-any-patch available, here http://knihovny.cvut.cz/ftp/pub/vmware/. This unofficial patch, is also suggested by vmware themselves.

VMware Server 1.0.2 About DialogVMware Server 1.0.2 Start Up Screen

Upgrade to Feisty on my Thinkpad x60

Feisty is released for almost one week now, and today I found some time to do the upgrade. This time I chose to make the first upgrade, instead of re-installing Ubuntu from scratch. So, upgrading is in fact very very easy and it prevents you from investing a lot of time re-configuring your system. However, as I don’t know exactly what’s going on under the hood, regarding the packages, next time(Gutsy Gibbon), I will do a fresh installation.

So let’s get started. I followed the official recommended way to upgrade(www.ubuntu.com). Make sure you have the latest updates installed and then launch the update-manager, from System -> Administration -> Update-Manager. You will find a new button to UPGRADE. Just push the button and follow the on-screen instructions. The upgrade process, for me, needed to download 1GB of files, so make sure you have plenty of time or a good connection. My upgrade process needed exactly one hour, but having a really fast connection at the University.

Unluckily, you cannot just start the process and return and it’s finished, as during the upgrade process, sometimes you need to give some input. I was asked which libssl configuration to choose, where I used the proposed configuration. Later, my /etc/services file was overwritten, but Ubuntu asked to keep the old or to copy the new one. Ubuntu allows you to see the difference between those two files, which is quite good, as you can see what is being replaced. And that’s it.

Good-bye Edgy - Hello Feisty!!

Up to now everything seems to run fine(except vmware, needs to re-run /usr/bin/vmware-config.pl). More about the after-upgrade experience soon…
Pics from the upgrade to FeistyPics from the upgrade to Feisty

Making Backup of Partition with Partimage

Before I am going to upgrade to Feisty Fawn (Ubuntu 7.04), I want a complete backup of my Ubuntu partition. So whenever something would go wrong, or I don’t like Feisty, I can quickly switch back to my old Ubuntu. So what I want is:

  • A complete Image of my Partition,
  • don’t copy empty space,
  • I should be able to easily restore the image,
  • Compression of the Image to Save Disk Space.

So I came across the tool Partimage, which is perfectly suited for my needs. One problem is, you cannot backup the partition if it’s mounted!! So you cannot use Partimage from within your running Ubuntu if you want to backup this partition. Partimage does not save the empty space of a partition(as mkisofs…), so as I am only using 23GB of my 55GB partition this saves me almost 30GB. So we need a LiveCD to boot and then do the Backup. I immediately thought that the SystemRescueCD would have Partimage integrated, and I was right.
Continue reading ‘Making Backup of Partition with Partimage’

Strange Bug in /etc/hosts

Today I came across the Bug #94048 at Launchpad.net. It seems that the /etc/hosts file is badly configured, which slows down the start-up time of the GNOME Applications. It says that this BUG is for Feisty, but changing the /etc/hosts file gave me some speed up for the start-up times for the apps.

Here’s what you have to do, open the file /etc/hosts:
sudo vim /etc/hosts
You’re file will look something like the following:
127.0.0.1 localhost
127.0.1.1 malcolm

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Here is my file /etc/hosts and malcolm is my hostname. So now you have to change the first line to
127.0.0.1 localhost malcolm
So you simply append your hostname (whatever is in the second line) to the first line after localhost. This seems to speed up the start up time for GNOME apps and it might prevent possible slow downs or hangs of some applications.

Ubuntu News

Mark Shuttleworth announces "Gutsy Gibbon" as the "Feisty Fawn"+1. The release is scheduled for 18th of October 2007 making it the release 7.10(7 for 2007 and 10 stands for the release month). The complete release schedule is available at the Ubuntu Wiki.

The release for Feisty Fawn is planned for April 19th, so only 6 days remaining. I still don’t know if I will switch over to Feisty or if I should stay with Edgy? I have planned to make an installation and create a small "experimental" partition to test Feisty. But as I am pretty happy with my actual OS, being Edgy Eft, I will decide only later if I want to switch depending on the number of regressions in hardware recognition.

It is now possible to order CD for Feisty Fawn, Ubuntu 7.04, at shipit.ubuntu.com. So go ahead and help to spread Ubuntu to the world



Creative Commons License