Enabling bootchart with Fedora 16
Sunday, January 8th, 2012To install bootchart under fedora simply run
yum install bootchart
Once installed you simply need to enable a grub entry to call it. You just need to add the init=/sbin/bootchartd string to the end of the kernel settings.
I actually copied the existing kernel entry and added it (incase I mistyped something)
title Fedora (3.1.6-1.fc16.i686.PAE) with bootchart root (hd2,0) kernel /vmlinuz-3.1.6-1.fc16.i686.PAE ro root=/dev/md126 rd_NO_LUKS rd_NO_LVM rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 \ KEYTABLE=de-latin1-nodeadkeys rhgb \ quiet nouveau.modeset=0 rdblacklist=nouveau \ init=/sbin/bootchartd initrd /initramfs-3.1.6-1.fc16.i686.PAE.img
Now when I reboot and select this grub entry a bootchart file is written to /var/log/bootchart.tgz
Then run the bootchart command to generate an image of the results.