Thursday, June 26, 2008

NSPluginWrapper in CentOS-5.2 (x86_64)

This is an update for an older post by me: Installing Flash on CentOS-5.x86_64

CentOS-5.2 already includes NSPluginWrapper. Yust install it as usual with:

yum -y install nspluginwrapper

Sync time without VMware Tools installed

Just a little note for those who are always looking for missing configuration parameters (like me).

Guests can sync time with the host automatically if you set the following parameter in the .vmx file of the guest:

tools.syncTime = "TRUE"


The same can be achieved by using the VMware Tools, however these might not be installed and installing them could be troublesome on systems not containing a development environment.

Saturday, June 21, 2008

Chicken-Melon Soup

Just had a (late) lunch at Gallia (corner Stargarderstr./Papelallee, Berlin). They change the menu every 3-4 weeks, so there is always something new to try.



Today I had a chicken-melon soup (very exotic!). It's a very tasteful combination of chicken, gallia melon balls, lots of cream and some spices. It tasted really great and inspired me to Blog about it :)



For the main course I chose Pasta Gallia. No melon on this dish, but therefor fried chicken, noodles and champions in a nice sauce. Some salad leaves and small pieces of tomato made it really look appetizing.



I can highly recommend anyone to visit Gallia. For this menu, including a coke and my coffee afterwards, I paid around €15. You can definitely eat cheaper in the area, but the food is outstanding, service is nice and it is't overcrowded like lot's of other restaurants.

Monday, June 16, 2008

Starting SafeBoot with GRUB

Installation of SafeBoot


SafeBoot can be installed over Tivoli. After installation, you need to authenticate on every boot and Windows will be started.
Only the partitions used by Windows will be encrypted, the Linux partitions are not affected.

Boot from a Rescue System


Booted my CentOS x86_64 with the installation DVD, giving on the boot-prompt linux rescue. This rescue system automatically detects my /-filesystem and all used partitions. The dialogs explain how to change to the installed system:
chroot /mnt/sysimage

Now you are prepared to backup SafeBoot and setup GRUB as default bootloader.
Note:
If your Linux is installed with a x86_64 version, you'll need a x86_64 rescue system.
Note:
It is adviced to use a CD or DVD for booting. A USB-Stick (which is emulated like a harddrive) could give troubles installing GRUB.

Backup the SafeBoot MBR


dd if=/dev/sda of=/boot/safeboot.mbr bs=512 count=1

The master-boot-record will be saved in the file called /boot/safeboot.mbr.

Install GRUB on the MBR


/sbin/grub-install /dev/sda

This overwrites the MBR with GRUB. By default GRUB will boot (no authentication needed).

Starting SafeBoot from GRUB


Edit /boot/grub/grub.conf (on Red Hat/CentOS) or /boot/menu.lst on other distributions. Add the next entry too the file:

title Microsoft Windows XP Professional
rootnoverify (hd0,0)
makeactive
chainloader (hd0,5)/safeboot.mbr

Here (hd0,0) is the Windows partition and /safeboot.mbr is the backup of the SafeBoot-MBR. In this case it is missing the /boot directory, as /boot is a seperate partition ((hd0,5) which is /dev/sda6).

Monday, June 9, 2008

Compose key magic

A very good article about typing special characters under Linux: Compose key magic by cyberborean.