본문 바로가기
OS/linux

🥰 [linux] 리눅스 콘솔 해상도 변경

by Knowledge Store In Hyunsoft 2016. 8. 1.
  • Centos 7
    • /boot/grub2/grub.cfg 수정

menuentry 'CentOS Linux (3.10.0-327.22.2.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-327.el7.x86_64-advanced-48be6cf4-8b96-426b-bf79-a2b5ba484d7d' {

load_video

set gfxpayload=keep

insmod gzio

insmod part_msdos

insmod xfs

set root='hd0,msdos1'

if [ x$feature_platform_search_hint = xy ]; then

search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 0666010e-e892-44d3-999e-a0c6fcb73d43

else

search --no-floppy --fs-uuid --set=root 0666010e-e892-44d3-999e-a0c6fcb73d43

fi

linux16 /vmlinuz-3.10.0-327.22.2.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet vga=791 LANG=ko_KR.UTF-8

initrd16 /initramfs-3.10.0-327.22.2.el7.x86_64.img

}

 

  • 해상도별 코드 번호

해상도

600x480

800x600

1024x768

1152x864

1280x1024

1600x1200

8bit

769

771

773

353

775

796

16bit

785

788

791

355

794

798

24bit

786

789

792

  

795

799

728x90

댓글