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: 1,431     Votes:  3     ✅ Solution
Tags: boot   grub2   themes  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1102423
Title: Grub theme terminal-box appearing, why?
ID: /2018/12/16/Grub-theme-terminal-box-appearing_-why_
Created: December 16, 2018    Edited:  June 12, 2020
Upload: September 15, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


It’s perfectly normal for the black text box to appear empty. Sometimes it will show the “Loading” kernel version though:

Grub boot.gif

The purpose of the box is to show terminal messages before the kernel boots and mounts it’s own screen with scrolling list of kernel messages.

In this example the “black box” background image was created as cut-out image of the main screen to make it less distracting.


Putting Boot Text into box

When you boot your first kernel (last installed version) no text is displayed in the box. When you boot older kernels:

Although you can write a script to update /boot/grub/grub.cfg it is easiest to simply edit it:

    echo    'Loading Linux 4.15.0-42-generic ...'
        linux   /boot/vmlinuz-4.15.0-42-generic root=UUID=b40b3925-70ef-447f-923e-1b05467c00e7 ro  noplymouth fastboot acpiphp.disable=1 pcie_aspm=force scsi_mod.use_blk_mq=1 vt.handoff=7 i915.enable_guc_loading=1 i915.enable_guc_submission=1 i915.edp_vswing=2 nopti nospectre_v2 nospec
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initrd.img-4.15.0-42-generic

Insert the two echo lines in front of the two existing lines.

Important: After you, or more often a system update, runs sudo update-grub the changes are lost and you will have to manually edit the file again.

⇧ How can I limit page cache/buffer size CPU frequency too high even with 'powersave' governor  ⇩