Tip of the Week 2005-08-22

From FedoraNEWS.ORG

Welcome to Tip of the Week!

Tip of the Week releases on every monday with Fedora Weekly News.

Tip of the week: How to Chart Your Boot Process

This will help you build and install bootchart, and have it chart your boot process - submitted by Marlon Bastida


Download bootchart from: http://prdownloads.sourceforge.net/bootchart/bootchart-0.8-1.src.rpm


Install jakarta-commons-cli-1.0-6jpp.noarch and the fedora RPM development tools

 $ sudo yum install jakarta-commons-cli\* fedora-rpmdevtools

thanks to David Rees for pointing out a typo


Build the RPM tree (this may be done as a regular user)

 $ fedora-buildrpmtree


Build the Bootchart RPM

 $ rpmbuild --rebuild bootchart-0.8-1.src.rpm


The RPM will be saved in the Folder /home/username/rpmbuild/RPMS/noarch/


Install the RPM

 $ cd /home/username/rpmbuild/RPMS/noarch/
 $ sudo rpm -ivh bootchart*


After bootchart install Edit /etc/grub.conf and add line to the kernel line in the bootchart entry:

 init=/sbin/bootchartd


Here is a Sample section of the grub.conf submitted by Juan José del Río

 title Fedora Core (2.6.11-1.1369_FC4)
         root (hd0,4)
         kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet init=/sbin/bootchartd
         initrd /boot/initrd-2.6.11-1.1369_FC4.img


Boot the computer using the modified grub.conf


To generate the graph, visit the page

http://www.bootchart.org/download.html

and upload the file /var/log/bootchart.tgz at the bottom of the page


Here is a Sample Boot Chart

Enlarge


Thanks to Paul Howarth for fedora-rpmdevtools tip.


Previous Tips of the Week Can be found Here: Tips of the IceBurg


Add a Tip

If you have a tip you want to add, contact Tejas Dinkar (mailto:tejasdinkar@gmail.com).


Personal tools