Recently, I had a whim and wanted to write code under tty2, so I was searching for information on the Internet. The methods for modifying tty under Ubuntu seem quite a lot, but many of them are repeated. Xy is used to deciding which method to use after comparing the various tutorials. This modification focuses on modifying the kernel Parameter of menu. list of grub. Many networks provide the specific value of this vga parameter, but xy is a notebook with a resolution of 1280*800. Therefore, xy needs to be viewed through a program named hwinfo.
Recently, I had a whim and wanted to write code under tty2, so I was searching for information on the Internet. The methods for modifying tty under Ubuntu seem quite a lot, but many of them are repeated. Xy is used to deciding which method to use after comparing the various tutorials.
This modification focuses on modifying the kernel Parameter of menu. list of grub. Many networks provide the specific value of this vga parameter. However, xy is a notebook with a resolution of 1280*800, so xy needs to use a program named hwinfo to view the vga parameters of his notebook. Finally, check that 8bits is 0x360, and 24bits is ox361, the specific modification is to add
Java code
Vga = 0x360
Let's just look at 8bits for xy first, because there is not much color in tty. There is basically no problem after the restart, but when it is turned off, I feel that the Ubuntu icon has changed to 8bits. Okay, I changed it to 24 bits.
Change the method xy to 24bits. You can modify the VGA parameter. Then, when Ubuntu is shut down, the icon will not change to 8BITS. However, when switching to TTY, you will feel that the screen is not obviously flushed. Although it is unclear that FRAMEBUFFER is a relatively low-level thing, consider it, delete the VGA parameter. However, this is a joke. The resolution of 640*480 does not affect much.