Sometimes I do not like to work in a graphic interface. I like to learn more efficiently on the Character interface, but my Ubuntu character interface resolution is very small (640*480), so I went to the Internet to search for it. How can I change the Ubuntu character interface resolution, later, the following method was found, and the change was successful on the local machine, and the graphic interface could also be used. Step 1: The file vim/boot/grub. cfg is the GRUB option during system startup. Edit the startup letter in this file.
Sometimes I do not like to work in a graphic interface. I like to learn more efficiently on the Character interface, but my Ubuntu character interface resolution is very small (640*480), so I went to the Internet to search for it. How can I change the Ubuntu character interface resolution, later, the following method was found, and the change was successful on the local machine, and the graphic interface could also be used.
Step 1:
Vim/boot/grub. cfg
This file is the GRUB option when the system starts. We need to edit the startup information in this file.
Step 2: Find the information we usually use to start Ubuntu (My is
Menuentry 'ubuntu, with Linux 2.6.35-22-generic '-- class Ubuntu -- class gnu-linux -- class gnu -- class OS {
Recordfail
Insmod part_msdos
Insmod ext2
Set root = '(hd0, msdos6 )'
Search -- no-floppy -- fs-uuid -- set 30b3c856-a931-44cf-bb03-99fa91fcc597
Linux/boot/vmlinuz-2.6.35-22-generic root = UUID = 30b3c856-a931-44cf-bb03-99fa91fcc597 ro quiet splash vga = 792
Initrd/boot/initrd. img-2.6.35-22-generic
}
Then we add this line of information to the linux/boot/vmlinuz-2.6.35-22-generic root = UUID = 30b3c856-a931-44cf-bb03-99fa91fcc597 ro quiet splash! Vga = 792, that is, my startup information is
Menuentry 'ubuntu, with Linux 2.6.35-22-generic '-- class Ubuntu -- class gnu-linux -- class gnu -- class OS {
Recordfail
Insmod part_msdos
Insmod ext2
Set root = '(hd0, msdos6 )'
Search -- no-floppy -- fs-uuid -- set 30b3c856-a931-44cf-bb03-99fa91fcc597
Linux/boot/vmlinuz-2.6.35-22-generic root = UUID = 30b3c856-a931-44cf-bb03-99fa91fcc597 ro quiet splash vga = 792
Initrd/boot/initrd. img-2.6.35-22-generic
}
VGA indicates the interface. The following table lists the meanings of VGA 792:
Depth ----- 640x480 ---- 800x600 ---- 1024x768 ----- 1280x1024
8bit --------- 769--------771--------773----------775
15bit -------- 784--------787--------790----------793
16bit -------- 785--------788--------791----------794
24bit -------- 786--------789--------792------------795