How to set unlimited scrolling on a TTY? [duplicate]

Solution 1:

First, you buy unlimited memory. Take a look at the kernel paramter fbcon=scrollback:Nk where N is the desired buffer size is kilobytes. The default is 32k, so increase it from there.

To increase framebuffer console memory :

gksu gedit /etc/default/grub 

Now edit and change GRUB_CMDLINE_LINUX="" to GRUB_CMDLINE_LINUX="fbcon=scrollback:<value>k" .

Now, update grub:

sudo update-grub

And restart your computer