Using Bootchart

For Ubuntu 8.04, bootchart is easy to use and install.
Run the following:
apt-get install bootchart

Reboot your machine.

You should then find a bootchart image already generated in:
/var/log/bootchart

If you need the Java file for bootchart, the program that processes bootchart data, it is located in:
/usr/share/bootchart/

---------------------

For versions of Ubuntu prior to 8.04 and for Debian Etch 4.0, this method worked for me:

Using apt-get, install bootchart (bootchartd)
Then install bootchart-view
Ensure Sun Java is installed, not kaffe, blackdown etc.
Use apt-cache search sun-java

I found kaffe caused problems