How’s The new look Guys?

Hi Guys! (or gals)
I changed the theme of my WP blog because Asa & Naya told me they had problems viewing the page. My evil twin, ChanuX, uses this theme without any issues, so I switched to it. Albeit, I loved my previous theme because it was simple and amazing. But I like this one too! 😀 Anyway, feel free to leave a comment if you like this one more than the previous one (or vice versa).

C.J.

Bloging made easy with Firefox!

Hello Firefox lovers! Here’s some great news for you guys (or gals). Remember I told you about “Flock” in my post “Life Made Easy with Flock”? Well, this time I found an extension for Firefox that lets you post to your blog!

Actually, my good old buddy Chanux is the one who introduced it to me. It’s called “Performancing.” For me, it seems far better than the blog posting tool that comes with “Flock” because previous posts can be easily edited with this… and there’s much more!

Why don’t you guys give it a try?

C.J.

powered by performancing firefox

Emulate with QEMU!

The first day I met Ven. Ilgo (my Linux guru), the venerable thero showed me a magic trick (it was that surprising for me at the time) with his Linux-installed laptop by booting “Windows XP” within a window of his Debian Linux installation. Although we could see it in a window, “Windows XP” seemed to act as if it were the only OS running at that moment. He had even installed Firefox and a Python interpreter.

“First, I used this to make my machine useful to another monk who refused to work with Linux because he was a great fan of MS Word macros. But now I use QEMU to check how well my Python scripts work in Windows,” said Ven. Ilgo.

After a few minutes in “Windows,” we were shutting down WinXP. Guess what? Windows crashed!

“This is a joke! I can’t believe how people use this in their day-to-day life,” said Ven. Ilgo.

“Maybe it’s because of the emulation?” I replied.

“Oh no. It’s true that QEMU might be slower than a normal Windows installation, but not when KQEMU is installed with 1GB of RAM. At least it’s fast enough not to crash,” said the venerable thero. (KQEMU is a driver that allows the QEMU PC emulator to run much faster when emulating a PC.)

“What if we just close this window without shutting down Windows?” I asked.

“Then Windows will assume it’s a power loss and run ‘the famous disk scan!’”

That was enough for me that day, but it wasn’t enough for me later. So, I started using QEMU after getting a good tutorial from Ven. Ilgo. I always wanted to write a post about this but couldn’t do it earlier because of my lack of free time. Here it is now!

(Important: This is not a QEMU man page. This is just a simple intro to QEMU.)
(Disclaimer: I’M NOT GUILTY IF YOU GET BUSTED OR KICKED OUT OF “LKLUG” FOR USING ‘Windows’ WITH THIS EMULATOR.) D

First, we need to install QEMU:

apt-get install qemu

Once QEMU is installed, try typing qemu to check whether it’s up and running.

I assume you guys (or gals) are going to emulate Windows. Normally, Windows will need 2GB of disk space, so let’s create an image file that will act as an HDD during the emulation:

qemu-img create win.img 2048mb

Yes! You can change the name or file size as you like.

Next, create an ISO image of a CD containing Windows XP. You can do this by selecting the “Copy to Disk Image” option, which appears after right-clicking the CD icon. Name the file “winXP.iso.”

Now, to boot your emulated PC from the CD, type:

qemu -hda win.img -cdrom /path/to/winXP.iso -boot d

Make sure to replace /path/to/winXP.iso with the correct path to your ISO file.

A window resembling a normal BIOS will open. From there, proceed as you normally would during a Windows setup.

After installing, you’ll need to boot from the HDD. Type:

qemu -hda win.img -cdrom /path/to/ANY.iso -boot c

If you want to install software or drivers in Windows, simply create an ISO image containing the software and replace /path/to/ANY.iso with the correct path and name of the ISO image.

For further information, check the QEMU manual (man qemu). You can also use a SAMBA server to transfer files between Linux and Windows, though I’m not sure if it supports Windows XP.

Oh! For those of you wondering… Yes! you can use QEMU to emulate another Linux distro too. After all, why emulate just to be a fool?

C.J.

Digg this post!

Life made easy with Flock

Hi guys! I’m typing this post with the help of an open-source browser called Flock. It seems interesting because this browser has a built-in blog posting tool that supports not only WordPress but also Typepad, Movable Type, MetaWeblog, Blogger, and Atom. The next best thing is that this browser uses the source code of our good old buddy, Firefox! It looks like Firefox with a new color scheme and some extensions installed.

I’m planning to keep this browser handy for my blog posting, but Firefox is going to stay with me for a loooong time because I’m still using it for browsing. I think the Firefox team should be careful with this competing “twin brother.”

Oh! And for those of you who are interested in my results, check out the comments on my last post. 😉

C.J.

Blogged with Flock

Dear Department!

www.doenets.lk is the official website of Sri Lanka’s Department of Examinations. To my knowledge, this is the site most people are visiting these days, and it’s also the site that gets blamed and cursed the most. This is because of the stupid/false announcements made by Mr. Anura Edirisinghe, the commissioner of the Department of Examinations (DoE).

The results of the G.C.E. A/L exam 2006 are about to be issued, and students who sat for the exam, including myself and Chanux, are anxiously waiting to see what will happen to our future. But this so-called “commissioner” of the DoE seems to be playing with the heartbeats of every A/L result-pending student in Sri Lanka. We all remember what that nerd did last time (in the 2005 A/L results) and how he tried to hide his misdeeds by blaming those “good old” computers, like a cat defecating on a rock. 😆

Even this time, proving he hasn’t changed, he announced to the media that the A/L exam results would be issued on Saturday, 30th September. We checked the website the whole day and saw nothing. Then he said, “Oh, I forgot about Jaffna, so Monday will be the day, kids!” On Monday, we heard another announcement that we’d have to wait until Wednesday. And here we are, on Thursday, 5th October, at 2:45 AM, still checking the site (www.doenets.lk), which hasn’t been updated since April 2006.

Is this behavior suitable for a commissioner of a government department? especially the DoE?? I don’t know, because I’m just a 20-year-old guy without much experience in life. But believe me, I know enough to say that even a 13-year-old dumb kid would be far better for the post of Commissioner of the DoE than Mr. Anura Edirisinghe.

Anyway, dear Mr. President, why don’t you leave this position in the DoE empty? It’s far better than keeping this joker in the post. 😆

C.J.

Day before SF day 2006

So, Chanux and I came to the road with Randy and got ourselves onto the bus at about 4:30 AM, hoping Randy and Asanka would come to Colombo tomorrow to celebrate SF Day. It was about 9:30 AM when we got down at Majestic City. We were expecting LKLUGers all over the place, but not even a single Linux guy was present. Instead, we saw the EPSI guys (EPSI Computers) setting up their self-promoting campaign instead of promoting free software.

Chanux sent an SMS to Bud to find out what was going on. Bud was busy because he was lecturing at APPIT (an IT school), so he sent us the phone number for the Narada Center to call Ven. Meththavihari Thero. We tried that number but found no one there to answer the phone. So, we wandered around MC, kicking our heels, until we called the Linux Center, which was the next number BUD gave us.

While we were on our way to the Linux Center, Bud called us and asked us to come back to MC because he was there. So, we returned to MC and were introduced to the EPSI guys as LKLUGers by Bud. After that introduction, we were free to use all those “cute” Asus laptops and other powerful Asus hardware to install and configure Linux, or even play awesome 3D games.

At about 3 PM, Ven. Meththa came to MC. Ven. Meththa was very nice to us and stayed until 5:30 PM before heading to TLC (the Linux Center). We stayed at MC until 7:00 PM, spending our time handing out invitations to guys and gals to attend the SF Day events happening the next day.

We met Bud at 7:00 PM, and he happily spent money on our dinner at KFC. Thanks a lot, Bud ! Afterward, the three of us went to the Linux Center in Nugegoda. There were five of us at TLC at that time, including Ven. Meththa and a guy called Ruwan. We did a lot of work to finish preparing the Ubuntu, Kubuntu, and Xubuntu CDs, which were to be given out for free the next day.

Bud left TLC at 1:30 AM, and the rest of us crashed at TLC, hoping to have a nice day of FREEDOM.

C.J.