xrmx / bootchart

merge of bootchart-collector and pybootchartgui
GNU General Public License v2.0
233 stars 87 forks source link

Wrong config file given for grub2 #57

Open WillBickerstaff opened 9 years ago

WillBickerstaff commented 9 years ago

Both README and manpage examples illustrate editing /boot/grub/menu.lst this should be updated to document configuring grub2, i.e /etc/defaults/grub.cfg and then run grub2-mkconfig

xrmx commented 9 years ago

Thanks for reporting. Any chance you can cook a patch?

Millak commented 9 years ago

I used Will's suggestion, but edited /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet" to GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/sbin/bootchartd", and then ran update-grub, as the first line in the file suggested. Haven't rebooted yet to see how it works out.

xrmx commented 9 years ago

This is not equivalent, your change adds to the default kernel of your machine bootchartd by default and is not what we want. Also you lost some kernel parameters.