Yes that is a good link.
The line needs to be added in your /etc/default/grub file if using the script generated menu entry.
This is from mine. Note that in the "default" line I have removed "splash". The line below has an added instruction string to generate the bootchart info, this is where I would put your entry.
Code:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=100
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="initcall_debug printk.time=y quiet init=/sbin/bootchartd ..."
You will need to, as root, run;
to get this in your /boot/grub/grub.cfg file.
Another way to do this is a custom menu entry. I prefer these to the auto generated entries. You just stick it in your /etc/grub.d/40_custom file and save it as 06_custom (this puts it at the top of your screen menu) and run "update-grub". This is the one for the same install as the example above (the one I am on now).
Code:
echo "Adding Squeezy on sda7" >&2
cat << EOF
menuentry "Squeezy on sda7" {
set root=(hd0,7)
linux /vmlinuz root=/dev/sda7 ro quiet initcall_debug printk.time=y quiet init=/sbin/bootchartd ... rdinitrd=/sbin/bootchartd
initrd /initrd.img
}
EOF
The hard part about that is that you need to make sure that line wrapping is NOT enabled in your text editor when editing anything to do with the grub scripts.
The reason that I like those entries is that they never change, always boot to the newest Debian based kernel on the defined partition. By that I mean that kernel updates don't ever have to have editing to get them to work. The defined partition means that I could, for instance, install a new OS, say LMDE, on this partition and use the exact same menu entry with no changes at all.
The is called a symbolic menu entry by the good folks at the grub project.