The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 7,334β€…    Votes:  4β€…
Tags: dual-boot   grub2   gnu  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

Title: GNU grub menu takes too long to boot
ID: /2016/11/18/GNU-grub-menu-takes-too-long-to-boot
Created: November 18, 2016
Upload: September 20, 2023    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

To see what grub is doing while it’s loading the kernel image and booting up Ubuntu you need to remove the splash screen and enable messaging. Open the terminal and use the command gksu gedit /etc/default/grub and search for this line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vt.handoff=7 kaslr"

Change the line to look like this:

GRUB_CMDLINE_LINUX_DEFAULT="vt.handoff=7 kaslr"

Leave the other parameters alone (which probably don’t look like mine). The important thing is to remove β€œquiet” and β€œsplash” parameters.

Save the file and then use:

sudo update-grub

Now reboot your computer and watch for messages that pause for a long time. After getting a message that pauses for a long time you can review the log file using:

gedit /var/log/syslog

Additionally the time for all services loaded during boot can be reviewed using:

systemd-analyze blame

After getting specifics of what module(s) is/are slowing down your boot you can ask pointed question(s) about it/them

⇧ GRUB with two drives and two Ubuntu distros Why does my laptop suspend after 5 minutes?  β‡©