p_quarles
February 15th, 2008, 09:35 PM
In Ubuntu, bootchart always configured itself to run on startup upon initial installation. In Lenny, apparently, I need to set it up myself. The man page for bootchartd says:
bootchartd is commonly used to profile the boot process for the purpose of speeding it up.In this case, it is started by the kernel as the init process. This is configured by adding the init=/sbin/bootchartd option to the kernel command line -- either interactively or by editing the bootloader’s configuration file. Please refer to the documentation of your bootloader for details (e.g. lilo, grub or yaboot)Okay, I get this, I think: I need to add the command mentioned to the kernel line in /boot/grub/menu.lst. If I understand correctly, it would look like this:
kernel /boot/vmlinuz-2.6.22-3-amd64 root=/dev/sda1 ro quiet init=/sbin/bootchartdNow, I'm asking for confirmation just because I'm still kind of wary of messing with grub. I imagine this would be perfectly simple to revert by booting into single-user mode if something goes wrong. Still, if I'm way off the mark in my thinking here, I'd appreciate any pointers. :)
bootchartd is commonly used to profile the boot process for the purpose of speeding it up.In this case, it is started by the kernel as the init process. This is configured by adding the init=/sbin/bootchartd option to the kernel command line -- either interactively or by editing the bootloader’s configuration file. Please refer to the documentation of your bootloader for details (e.g. lilo, grub or yaboot)Okay, I get this, I think: I need to add the command mentioned to the kernel line in /boot/grub/menu.lst. If I understand correctly, it would look like this:
kernel /boot/vmlinuz-2.6.22-3-amd64 root=/dev/sda1 ro quiet init=/sbin/bootchartdNow, I'm asking for confirmation just because I'm still kind of wary of messing with grub. I imagine this would be perfectly simple to revert by booting into single-user mode if something goes wrong. Still, if I'm way off the mark in my thinking here, I'd appreciate any pointers. :)