Ubuntu – How to access the grub boot menu in order to generate bootchart


I am running Ubuntu Gnome 15.04, and I want to generate a bootchart to help me diagnose some system problems. However in the guide it says:

enter image description here

So how do I access the grub boot menu in order to append this text? And just to be clear, how should the line look once I have appended the necessary text? Also, is grub already installed for I don't appear to have either or these packages: grub or grub2?

OS Information:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.04
Release:    15.04
Codename:   vivid

Best Answer

If you want to do this once you can press e to edit the boot line and add the required entry manually.

If you want a permanent entry you need to edit the file

sudo gedit /etc/default/grub

add the entry at the end of GRUB_CMDLINE_LINUX_DEFAULT and issue

sudo update-grub

the line should look like

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash init=/lib/systemd/systemd-bootchart"

to update the changes.