1

I installed a fresh new version of ubuntu 16.04 on my system, parallel to windows, and have some trouble understanding why my grub is so slow:

Basically, grub seems to run normally until I select an entry in the menu. Then, the menu disappears, but grub's background (ubuntu's default purple color) hangs there for around 20 seconds, before handing control to the operating system. I removed quiet & splash to distinguish better.

Here's my config file:

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="i915.preliminary_hw_support=1 acpi_backlight=vendor"
GRUB_CMDLINE_LINUX=""
GRUB_GFXMODE=640x480

I tried different things:

  • uncommenting the GRUB_GFXMODE=640x480, faster in the menu, but not helping for the hanging after the system is chosen.
  • I tried the hidden timeout thing, thinking that was the reason, but it isn't the case.
  • The linux flags I added (acpi + intel's hardware support) are not the cause of the slowdown, since I had the same problem before adding them.

I have not much experience with grub, I used syslinux on arch linux before, (which was faster than light =) but had to quit arch because I needed a more stable system. Still I don't think this is grub's standard behavior =D.

For the record, I have a gigabyte laptop with a skylake i7 HQ processor and a ssd for storage.

Anyone knows where this issue comes from? Thanks in advance!


Up?

I know this isn't a critical issue, but 20sec to load the initial ramdisk is a quite annoying lag.. :/

I unsuccessfully tried a boot-repair, which reinstalled grub with the same issue in the end.

Mitch
  • 109,787
lagarkane
  • 151

1 Answers1

0

Bring your system up to date so that you get the current kernel with

sudo apt update sudo apt upgrade

After completion and reboot if necessary the output of uname -a should be 4.4.0-36 generic or newer.

Remove i915.preliminary_hw_support=1 from your config and update grub as usual. This will likely alleviate the confusion that I believe is the source of your delay at kernel launch

Source: http://www.phoronix.com/scan.php?page=news_item&px=intel-slk-linux-4.3-no-prelim

Elder Geek
  • 36,752