47

The outputs of the help and/or vbeinfo command of the GRUB 2 shell are massive. How can I scroll up the output? I've tried PageUp and Shift+PageUp, but nothing happened.

Massive output in the GRUB 2 shell. How can I scroll?

Peter Mortensen
  • 12,090
  • 23
  • 70
  • 90
LiuYan 刘研
  • 2,587
  • 3
  • 19
  • 31
  • I don't know the "proper" way to do it, but if you launch the grub-shell within screen, you can use its scrollback feature to get at the overflowed lists. – Xyon Nov 13 '12 at 14:23
  • @Xyon, what **scrollback** feature? do you mean the kernel parameter mentioned in [this thread](http://forums.gentoo.org/viewtopic-t-728450-highlight-grub2.html)? – LiuYan 刘研 Nov 13 '12 at 18:10

1 Answers1

67

After googling, I still haven’t found a way to scroll up the output of the GRUB 2 shell. However, there's a way to pause output (like the behaviour of the more command) - the pager environment variable.

13.1.24 pager

If set to ‘1’, pause output after each screenful and wait for keyboard input. The default is not to pause output.

So, issue a set pager=1 command first in the GRUB 2 shell, and then the output will behave like more.

GRUB 2 shell: set pager=1, and the output will be paused after each screenful

References

LiuYan 刘研
  • 2,587
  • 3
  • 19
  • 31