Skip to main content

Gentoo, Xgl, Xen and Windows

So I got my new Dell E1705 (again). And this time everything was perfect. As usual instinctively I decided to install Gentoo after wiping all the partitions. However I did not purchase the windows backup cd from dell, which hindered my intense desire to wipe out everything. I carefully repartitioned around winXP partition and was able to cut out 25 GB for my Gentoo. After going through the normal process of compiling everything with CFLAGS="-march=nocona -O2 -pipe", I decided to install Xgl. A very good tutorial to follow is available at http://www.gentoo-wiki.com/HOWTO_XGL. I already used it on my old laptop, so getting Xgl to work is not all that exciting. Xgl brings all the super cool effects to Linux. My Gentoo looks better than Mac OS X! With the Beryl window manager, I can get the cool looking transparent window frames or a frame that looks like Windows Vista theme. Here are some screen shots







Next I installed Xen following the HowTo from http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo. It works really well! I was able to run windows from with in Gentoo. No problems at all. I could not get internet and audio to work in the windows environment when using Xen, but that is for another day. I used the following configuration file to run win XP as a guest OS.

kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
memory = 128
name = "winxp"
sdl = 1

vcpus = 1
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'file:/root/winxp.img,ioemu:hda,w' ]
#, 'phy:/dev/sdb,ioemu:hdb,w' ]
device_model = '/usr/lib/xen/bin/qemu-dm'
#cdrom='/dev/sr0'
ne2000=0
boot='c'
audio=1


I was even able to run Xgl in my Domain 0 OS after modifying the Xen kernel sources and applying a patch to NVidia drivers (see http://www.nvnews.net/vbulletin/showthread.php?t=68648).

Anyway I did a quick benchmark on the laptop and the results are very interesting. More to come soon...

Comments

Popular posts from this blog

Attesting General Power of Attorney in SF

Recently I had to go through the motions of getting a General Power of Attorney (GPA) document attested in San Francisco. I am an Indian by birth. My parents were trying to buy a house back in India for me. Since I did not want to travel to India they needed a GPA so that they can act on my behalf to sign all the documents required to buy the house. The problem however is that they needed it urgently because the seller lives in UK and wants to get all the things done quickly so he can go back. My parents send me a GPA document that they obtained from a lawyer. This is a document that will give the power to my parents to buy the said property in the document on my behalf. The lawyer said that I will have to get the document attested at an Indian Consulate in USA. The closest one for me is in SF and I can drive there in about an hour from where I live. So I though it will be like a day's work to get all the things done. I looked up at their  website  for the procedure t...

XBMC / Boxee remote control android app

I have been writing a few android apps over weekends at home and during 20% time at Google. However I never actually released any of them in the android market mainly because they were quick and dirty apps that fit my needs but perhaps would not be appealing to the general public. One such app that I quickly wrote over a couple of weekends is a XBMC remote. The media center that I use at home is XBMC and I have always wanted to have more control and faster access to my media. Using my remote to navigate through the menus is not as fast. Especially when I wanted to queue a lot of music it is very slow. So I wrote this nice little app called "XBMC remote" for my android phone to control XBMC from anywhere :). Give it a try. Search for "xbmc" in android market and install it if you use XBMC as your media center. When you first launch the app you will start with this screen. You will have to setup your web server address, username and password (if required) by ...

Installing Boxee on Gentoo: my experience

You have probably heard of Boxee and Gentoo (come on). I wanted to give Boxee a try, because of all the movies and tv shows that I can watch for free. I have already switched from Freevo to xbmc (which is a story in itself) as my primary media center. Since boxee is a fork of xbmc I thought I might give it a try. Why not? Because xbmc was so easy to compile and install. I did not have any problem compiling the latest code from subversion. I registered and downloaded the latest code from Boxee's website. There is no link to svn and so I downloaded version 0.9.11.5591. The compile was pretty simple 1. Untar the downloaded file 2. autoconf 3. ./configure 4. make -j3 However the compile was not successful. The first problem I ran into was this compile error: XAPP_MC.cpp:12:20: error: bxcurl.h: No such file or directory To solve it, I googled around and found the solution in the boxee forums. I had to make minor modifications to the following Makefiles xbmc/Makefile SRCS += BoxeeAuthen...