Thursday, 30 July 2009

Solution : How to batch covert image files to diffrent file format?

Download the ImageMagick from

and run the following command
mogrify -format jpg *.png
it will convert files of x format to y , above command will convert all the png files to jpg format

- Mihir Patel.

Solution : Error: Could not extract bounding box from .eps!

remove the latex file generation from doxygen. or else include the following packages
texlive texlive-pdf texlive-latex-extra
or install  (if on windows)

It is possible to use latex to produce formulas.  There are already some examples of this in the CalRecon code.  When using doxygen to produce documentation where latex commands are included, latex must be available on the system.  This is typically the norm on UNIX machines, however, on Windows this is a different matter.  There is a freely available version of latex available for Windows, MiKTeX:
The Doxygen manual states the following:

Make sure the tools are available from a dos box, by adding the directory they are in to the search path.  For your information, the LaTeX is freely available set of so called macros and styles on the top of the famous TeX program (by famous Donald Knuth) and the accompanied utilities (all available for free). It is used for high quality typesetting. The result – in the form of so called DVI (DeVice Independent) file – can be printed or displayed on various devices preserving exactly the same look up to the capability of the device. The dvips allows you to convert the dvi to the high quality PostScript (i.e. PostScript that can be processed by utilities like psnup, psbook, psselect, and others). The derived version of TeX (the pdfTeX) can be used to produce PDF output instead of DVI, or the PDF can be produced from PostScript using the utility ps2pdf.

If you want to use MikTeX then you need to download the fancyhdr package separately. You can find it at:

- Mihir Patel

Solution : Problems running dot: exit code=-1, command='dot' + Doxygen

As I used Doxygen to generate source code docuemt, I failed to generate graphs and got this kind of error message: Problems running dot: exit code=-1, command='dot', arguments='"" -Tpng -o "classcom_1_1htc_1_1hr_1_1tree_1_1_department_table_bean_50f82c9386b01669779a1524b380b355_cgraph.png"'

Solution to this issue is to restart the eclipse after installing the "graphviz-x.msi".

Basically the path linking is the poblem.

To test that the installtion of the package is successful run the
dot --v
command at the command prompt. if you see nay text that means the installation is successful. To let the eclipse the path up for running the dot you need to restart the eclipse for the first time after installation.

- Mihir Patel.

Re-organize your desktop : In a click -> with Fences

awesome program : this will make your desktop clear. check it out.

Website :
Download :

It's totally free. give it a go !!

Note : - Enable the double click feature. This will switch desktop in clear/ icon mode !!

- Mihir Patel

Wednesday, 29 July 2009

how to test the newly created sata driver integreated cd with WinXp ?

1. Install the Virtualbox (
2. Create new  virtual machine with Os type as MS Windows .. Version WinXP
3. Leave default setting for ram
4. boot hard disk ( primary master ) .. create a new hard disk
5. all default settings.. click next.
6. click on the virtual machine and select settings
7. go to hard drive and ( select "Enable the Additional Controller")
8. click on the "IDE Primary Master"  and select the "Sata Prot x" from the drag list
9. select CD/DVD ROM and point it to your newly created iso/ CD
10. click ok
11. start your virtual machine.

(NOTE : if you select your default disk in step 9 it will show you that no sata drivers can be detected. when you put the iso with integrated drivers. it should just work.)

- Mihir Patel

Shrink Vista Partition for WinXp Installation

A) If you have an available partition for WinXp installation, go to "WinXp Installation".

Materials needed:
1) PerfectDisk 2008(30 days trial version, download here).

*make sure you backup the drive you going to shrink just in case anything goes wrong.
1) In Windows Vista, go to "Start", right click on "Computer" and choose "Manage". You will be prompted, just click "Continue".

2) Click on "Disk Management" and you will see the information of your hardisk installed.

3) Right click on the "VistatOS" drive, in my case it's "(C:)" and choose "Shrink Volume...".

4) By default Vista will give you the largest amount of space that you are able to shrink, it's not the free space that you have on that drive. Why?(If you want to find out, please refer to Query 1 or you are satisfied with the amount of space that you can shrink, just proceed to Step 5).

*Steps below followed after I use "PerfectDisk 2008" to empty more usable space for my XP drive. Need help on it? Go here: Get more usable space out of free space using PerfectDisk 2008
5) Please input the amount of space(in MB) for the new drive and allocate wisely, as you need to take into consideration of programs that you will install on this new drive, data storage and so on. I input "1000"(in MB) then only you click "Shrink".

6) Wait for new partition to be created. Then right click on it to choose "New Simple Volume...".

7) Click "Next".

8) Click "Next".

9) Now assign the drive letter(for my case, it's F).

10) Input the "Volume label" as "WinXp" for easy identification later and check "Perform quick format" as well.

11) Choose "Finish" and you have a new partition ready for WinXp installation. Proceed to normal WinXp installation procedure.

Proceed to?
A) If you have an empty partition for WinXp installation, proceed to "WinXp Installation".

Ref :

Extracting SATA driver from their EXE without Floppy Disk(FD) drive.

Obiously, you don't have any option to use Floppy Disk.

Materials needed:

1) SATA drivers(from your respective chipset manufacturer website, for me it's intel
2) WinImage(30 days trial copy from

1) Download the intel SATA drivers. Make sure you get the correct file by downloading something called "Floppy Configuration Utility".

2) Extract the file and you will get green icon "f6flpy32".

3) Extract the "f6flpy32" again and you will get this a file with .IMA extension.

4) Ok, now you need to open up WinImage and browse to the latest extracted folder "f6flpy32" to load the .IMA file.

5) TATA, you will see all the SATA driver files needed for slipstreaming WinXp using nLite. Before you can use them, extract them to any folder(I name it "SATA driver" on my desktop) by selecting all of the files and choose "Extract".

6) You will be prompted, choose "Extract all files into the same folder".

7) If you open up the "SATA driver" folder, the content is exactly the same with the content Floppy Disk. The difference is that you don't need a FD.

Proceed to?

A) Guide for "Slipstreaming SATA driver into WinXp boot cd using nLite"

Ref :

Windows XP says no hard disk detected - add sata drivers in winxp cd


A) If you don't have Floppy Disk Drive especially on a notebook. You still can install Win Xp but you need to read the "Slipstreaming SATA driver into WinXp boot cd using nLite".
B) If you have FD drive, skip this step and go to "Shrink Vista Partition for WinXp Installation".
C) If you have an empty partition for WinXp installation, proceed to "WinXp Installation"

Materials needed:
1) nLite(download here), a free tool to help you slipstreaming(integrate) your SATA drivers into WinXp installation disk.
2) Extracted SATA drivers(if you are using Intel chipset Intel 82801GR/GH, 631xESB/632xESB, 82801GHM, ICH8R/ICH9R, 82801HEM SATA RAID Controller, get the drivers from here)

1) Get your Windows XP installation disk and copy the contents to a new folder(I named it "WinXp").

2) Extract the SATA drivers you downloaded into a folder, namely "Floppy 32Bit". (Need help for "Extracting SATA driver from their EXE without Floppy Disk(FD)")

3) Run nLite->choose "Next".

4) Now, locate the Windows folder(for me, it's "WinXp").

5) Next again and you will come to "Presets". Ignore this by choosing "Next" again.

6) In "Task Selection", choose "Drivers" and "Bootable ISO" by high-lighting them.

7) Choose "Insert"->"Single driver"

8) Browse to the SATA driver folder(I named it "Floppy 32Bit") and select either one of the .INF file, I choose "iaahci.inf".

9) A screen like below will pop-up, make sure it's "Textmode driver" and select all of them by holding CTRL+A key and choose "OK"

10) You shall see something like this. Choose "Next" and you will be prompted.

11) Choose "Yes" to start the process.

12) Let it finish and choose "Next".

13) Finally, you can create your project as ISO image or burn it directly to CD-R under "Mode". I choose "Direct Burn". You can put anything for "Label" but not too long. Choose "Burn" and you will be prompted again.

14) Choose "Yes" to burn it to CD-R. Wait for it to finish and choose "Next"

15) Choose "Finish" to exit nLite.

Proceed to?
A) Go to "Shrink Vista Partition for WinXp Installation" if you don't have any partition to use.
B) If you have an empty partition for WinXp installation, proceed to "WinXp Installation"

Ref :

Tuesday, 28 July 2009

Resolving "Setup did not find any hard disk drives" during Windows XP Installation

One of the most popular topics among our readers is installing Windows XP on your new Windows Vista computer – sometimes for compatibility reasons, but also because a lot of people just don’t like Vista very much.

The problem that people keep running into left and right is getting to the point where XP starts to install and getting the message “Setup did not find any hard disk drives installed in your computer”. This error happens because your new computer has a storage controller that isn’t supported natively in XP, usually an SATA (Serial ATA) controller.


If you don’t have a floppy drive in your computer (who does anymore), then you’ll need to use a process called slip-streaming to integrate the storage drivers into your XP installation CD.

It should go without saying that this is an advanced topic, so proceed with caution.

Creating a Custom XP Install

We’ll use a software called nLite to create a new XP install cd, so you’ll first need to download and install it. Once it starts up, you’ll be prompted for your Windows installation, so you’ll want to click the Browse button.


First you’ll be prompted for the “Windows installation”, which really means your XP install CD. Find it and select the root of the installation, and then click OK to go to the next dialog.


Next you’ll be prompted on where you want to save the temporary files used during the slip-streaming process. I chose to create a new directory and called it XPISO, but you can put it wherever you’d like. I just recommend to use a new directory.


nLite will copy all the necessary files off the XP installation and into the temporary folder. When it’s done, you’ll see all the information on which version it is.

image image

Hit the next button until you come to this screen, where you can select what options you want. Select “Drivers” and then “Bootable ISO”.


Side note: You can select any of the other options if you’d like. nLite will let you bundle updates, set tweaks or automatically remove components from the installation, but that all goes beyond the scope of this article.

Hit the next button until you get to the screen for selecting drivers. If you click the Insert button, you can choose between adding a single driver or adding a folder of drivers. Since we’ll just be loading a single driver, you can choose that option, but you might want to first read the section below about finding drivers for XP.

image image

 Browse to the directory where you extracted the driver files, and then select Open. Note that it doesn’t really matter which of the *.inf files you choose, because it will select all files in the folder anyway.


 nLite will prompt you to select your driver. If you don’t know which exact one it is, you can either use Device Manager in Vista to find the exact model, or you can just select all of them. Just be careful not to select a 64-bit driver if you are using 32-bit, or the wrong OS version. 


I would recommend including both Storage and Network drivers, as those are the most common drivers that are missing in XP. image

Once you proceed to the next screen, now we can finally finish the process. You can choose to directly burn the cd here, or you can select Create Image to create an ISO file that you can burn to a CD using whatever burning tool you have.

Note: If you chose to create an ISO, make sure to use the “Make ISO” button before you click Next.

image image




At this point you can burn the ISO image to a CD, and then start your XP installation process.

Finding Drivers for XP

The best place to search for drivers for your hardware is at the manufacturer’s support website. The only problem is that almost every manufacturer seems to distribute their drivers in floppy disk image form, even though the computer they are for doesn’t have a floppy drive. Guess nobody has alerted them to get with the program.

We can still extract the drivers using an application called WinImage. Let’s run through a quick example… Here you can see the Intel SATA controller driver for my HP computer.


I downloaded and ran the executable, which extracted a file called f6flpy32.exe into a temporary directory. Don’t bother trying to run this one, because it’ll just prompt you for a floppy drive.


So how to get the drivers out of this file? There are a few options that you can try, depending on how the manufacturer packed the files.

  • You can use Winimage to extract them, which is a shareware software, but you can use it during the trial period for free.
  • You can try and use WinRar to extract the file. In many instances this will extract a *.flp file, which you can mount in a VMware virtual machine or potentially with some ISO mounting software.
  • Some drivers will allow you to automatically extract into a directory. You’ll have to try it and see what happens.
  • Other methods? If you’ve got other ideas, leave them in the comments and I’ll add them to this list.

Here’s the list of files that Winimage can handle, which is quite a lot.


Start WinImage and then open the file, and you should see the contents. Just extract them to a folder, preferably with a useful name so you can remember it later.


Good luck with your installation, and be sure to leave comments.

Download WinImage from

Download nLite from