jump to navigation

Installing Ubuntu 7.04 (Feisty Fawn) on Compaq nw8440 May 30, 2007

Posted by Mayank in nw8440, ubuntu.
add a comment

I have a Compaq nw8440 with the following configuration:
Intel Core Duo T2400 1.83 Mhz processor
512 MB DDR2 333Mhz RAM
ATI FireGL V5200 Graphics Card
Soundmax sound card

The Ubuntu 7.04 release has some problems with the graphics card drives/x-server because of which most of the users with some particular ATI graphics cards are not being able to boot using the Live CD.

The Live CD fails to startup xserver and restores the screen to the console. I also tried the alternate CD but faced problems with the kernel installation.

I finally succeeded in the installation by getting the graphics drivers during the installation. The steps to follow to get this done are :
1. Boot the laptop normally using the 7.04 Live CD.
2. When you reach the console prompt, run the following commands:
sudo apt-get update
sudo apt-get install xorg-driver-fglrx
sudo depmod -a
sudo aticonfig –initial
sudo aticonfig –overlay-type=Xv
sudo startx

3. This will install the closed source drivers for your ATI graphics card and start the x-server. You can now proceed with the installation :).

A couple of things to note,
1. You might need to be connected to internet using the ethernet cable because when the x-server crashes, the wireless connection does not seem to have been established. As of now I have no clue why, but if u’re connected using ethernet while booting off the live cd you’ll be able to run the apt-get commands.
2. After installation you might face the same problem with drivers, repeat the same procedure. This happens because the drivers which you installed the first time actually get installed on the RAM DRIVE.

Happy Ubuntu(ing) !


How to skip tests during maven build May 25, 2007

Posted by Mayank in maven.
add a comment

use the -Dmaven.test.skip=true flag :).

Customize VIM May 25, 2007

Posted by Mayank in Uncategorized.
add a comment

VIM supports a lot of customization, to see the power of VIM download the tar file from http://platon.sk/projects/release_list_page.php?project_id=2 and place the vimrc file in u’re home directory as .vimrc.

Format XML documents in linux May 24, 2007

Posted by Mayank in ubuntu.

To format xml documents in linux you can use a utility called xmllint.

# set the indent
$> export XMLLINT_INDENT=" "

$> xmllint –format –recover <XML_File_name> > <New_file_name>