How to scroll in grub2 shell?

27

10

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

massive output in grub2 shell, how to scroll?

LiuYan 刘研

Posted 2012-11-13T06:15:20.233

Reputation: 1 929

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 – 2012-11-13T14:23:44.933

@Xyon, what scrollback feature? do you mean the kernel parameter mentioned in this thread?

– LiuYan 刘研 – 2012-11-13T18:10:09.403

Answers

38

After googled, I still can't found a way to scroll up the output of grub2 shell. However, there's a way to pause output (like the behaviour of 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 set pager=1 command first in grub2 shell, then the output will behave like more.

grub2 shell - set pager=1, output will paused after each screenful

References

LiuYan 刘研

Posted 2012-11-13T06:15:20.233

Reputation: 1 929