사실 grub2 배경 해상도를 설정하는 법인데...
전 그래픽 카드가 지원을 않해서 제대로 동작하는지 확인을 못했습니다.
다만 이렇게 이런식으로 grub2 설정파일을 바꾸는구나 하고 이해하시면 되겠습니다.
터미널을 열고 다음 명령을 실행합니다.
$ sudo gedit /etc/grub.d/00_header
이제 다음 명령을 실행합니다.
$ sudo gedit /etc/default/grub
이제 grub 2 를 업데이트 합니다.
$ sudo update-grub 또는 $ sudo update-grub2
이러면 /boot/grub/grub.cfg 다음과 같은 옵션이 추가됩니다.
이런식으로 다른 옵션도 추가 가능합니다.
전 그래픽 카드가 지원을 않해서 제대로 동작하는지 확인을 못했습니다.
다만 이렇게 이런식으로 grub2 설정파일을 바꾸는구나 하고 이해하시면 되겠습니다.
터미널을 열고 다음 명령을 실행합니다.
$ sudo gedit /etc/grub.d/00_header
if loadfont `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then
set gfxmode=${GRUB_GFXMODE}
set gfxpayload=${GRUB_GFXMODE} #add option
insmod gfxterm
insmod ${GRUB_VIDEO_BACKEND}
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
set gfxmode=${GRUB_GFXMODE}
set gfxpayload=${GRUB_GFXMODE} #add option
insmod gfxterm
insmod ${GRUB_VIDEO_BACKEND}
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
이제 다음 명령을 실행합니다.
$ sudo gedit /etc/default/grub
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1024x768 #remove '#'
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1024x768 #remove '#'
이제 grub 2 를 업데이트 합니다.
$ sudo update-grub 또는 $ sudo update-grub2
이러면 /boot/grub/grub.cfg 다음과 같은 옵션이 추가됩니다.
set root=(hd0,1)
search --no-floppy --fs-uuid --set f6e534e2-3247-4ebb-b480-f530f7296565
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1024x768
set gfxpayload=1024x768 #here
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
search --no-floppy --fs-uuid --set f6e534e2-3247-4ebb-b480-f530f7296565
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1024x768
set gfxpayload=1024x768 #here
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
이런식으로 다른 옵션도 추가 가능합니다.
'리눅스관련 > 커널' 카테고리의 다른 글
| 업데이트후 "isapnp: No Plug & Play device foun" 부팅 에러 (Grub 부팅 메뉴 출력법) (0) | 2010/04/12 |
|---|---|
| GRUB 2 header 옵션 추가하기 (GRUB_GFXPAYLOAD) (0) | 2009/12/02 |
| 부팅 이후 빈화면 (까만화면) 만 보일때, (xorg.conf) 초기화 - K/Ubuntu (2) | 2009/11/14 |
| 32bit 우분투에서 메모리 4Giga 이상 사용하기 - K/Ubuntu (0) | 2009/11/10 |