Skip to content

VMware 사용 중, 리눅스 텍스트 모드에서 해상도 변경방법 (xwindow 모드에서는 적용 안됨)

1.jpg

 

1) vim /boot/grub/grub.conf

2.jpg

//////////////////////////////////////////////////////////////////////////////////////////////////////////////

// 내용

 

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda2
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=3
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-194.17.1.el5)
    root (hd0,0)
   
kernel /vmlinuz-2.6.18-194.17.1.el5 ro root=LABEL=/ rhgb quiet
    initrd /initrd-2.6.18-194.17.1.el5.img
title CentOS (2.6.18-194.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet
    initrd /initrd-2.6.18-194.el5.img

 

//////////////////////////////////////////////////////////////////////////////////////////////////////////////

 

2) 빨간 부분 뒤에 vga=791 을 추가한다.

[수정 전] kernel /vmlinuz-2.6.18-194.17.1.el5 ro root=LABEL=/ rhgb quiet
[수정 후] kernel /vmlinuz-2.6.18-194.17.1.el5 ro root=LABEL=/ rhgb quiet vga=791


3) 재부팅 후 아래와 같이 해상도가 높아졌음을 확인할 수 있다.

3.jpg

* 아래 테이블을 참고하여 다른 해상도로 설정할 수 있다.       

 

 640x480  

  800x600

 1024x768

 1280x1024

  256  

 769  (0x301)

 771 (0x303)

 773 (0x305)

 775 (0x307)

 32k

 784 (0x310)

 787 (0x313)

 790 (0x316)

 793 (0x319)

 64k

 785 (0x311)

 788 (0x314)

 791 (0x317)

 794 (0x31A)

 16M

 786 (0x312)

 789 (0x315)

 792 (0x318)

 795 (0x31B)

 

추가적으로 vga=791 이 부분을 vga=ask 로 변경하면 매번 부팅 시 사용 가능한 해상도 리스트에서 선택할 수 있다.

List of Articles
번호 제목 글쓴이 날짜sort 조회 수
47 top 화면 내용중 load average와 PRI : priority(우선순위... ADMINPLAY 2013-12-24 5201
46 ModSecurity 로그파일의 사이즈가 너무 큰데 이를 날짜나 ... file ADMINPLAY 2013-12-29 6571
45 ll 명령시 날짜 전체가 보이도록 하기 ADMINPLAY 2014-01-02 5485
44 ZFS 파일에 ACL 설정 ADMINPLAY 2014-02-03 5338
43 ctime, mtime, atime 다른 점 설명 ADMINPLAY 2014-02-07 5990
42 VirtualBox 4.3 Released – Install on RHEL/CentOS/Fedor... ADMINPLAY 2014-02-14 7309
41 CentOS 6.5 에서 VirtualBox 4.3 설치후 VirtualBox 구동... ADMINPLAY 2014-02-14 7831
40 Strace - 시스템콜과 신호 추적 file ADMINPLAY 2014-02-25 6094
39 linux daemon (리눅스 데몬 설명) ADMINPLAY 2014-02-26 648654
38 디스크 UUID 변경후 하드부팅정보 수정하기 ADMINPLAY 2014-02-26 21067
37 Linux 마우스 휠 방향 바꾸기 (mac 처럼 마우스 휠 바꾸기) ADMINPLAY 2014-02-27 11908
36 vimrc 설정 file ADMINPLAY 2014-03-01 6150
35 telnet 과 ssh 의 차이점 ADMINPLAY 2014-03-01 6518
34 OS X 10.9 매버릭스의 기본 파일공유 프로토콜은 AFP가 아... ADMINPLAY 2014-03-04 11168
33 OS X 매버릭스가 NAS, 윈도우 PC 등 SMB 장비에 연결하지 ... ADMINPLAY 2014-03-04 6806
32 CentOS 6.X GUI 로그인 화면에서 로그인 했던 계정 리스트... ADMINPLAY 2014-03-05 16713
31 SVN 클라이언트 명령어 ADMINPLAY 2014-03-18 7496
30 python mysql connector 설치 및 SQLAachemy 연동 ADMINPLAY 2014-03-27 7937
29 python과 mysql 연동시 libmysqlclient_r.so.* 에러가 날 ... ADMINPLAY 2014-03-27 5599
28 CentOS 6.5 + Python2.7 + MySQL_Python-1.2.3 ADMINPLAY 2014-03-28 8013

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234