단축키

Prev이전 문서

Next다음 문서

수정 삭제

단축키

Prev이전 문서

Next다음 문서

수정 삭제
Extra Form

CLI 모드로 전환하기

CTRL+ALT+F1CTRL+ALT+F6을 CLI 모드로 전환 할 수 있습니다.

다시 GUI 모드로 전환하려는 CTRL+ALT+F7경우가 있습니다.

GUI 서비스 종료하기

CLI 모드에서 다음을 입력합니다.

sudo service lightdm stop

GUI 모드가 종료됩니다.

CLI 모드로 부팅하기

vi 에디터로 /etc/default/grub파일을 편집합니다.

sudo vi /etc/default/grub

그러면 다음 vi 에디터에 내용이 표시됩니다.

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# 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=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"                  

여기서 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"라인을 주석 처리합니다.

#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

다음은 GRUB_CMDLINE_LINUX=""라인에 text로 지정합니다.

GRUB_CMDLINE_LINUX="text"

다음은 #GRUB_TERMINAL=console의 주석을 제거합니다.

GRUB_TERMINAL=console

이제 wq!를 입력하여 저장합니다.

터미널에서 다음을 입력하여 변경 사항을 grub에 업데이트합니다.

sudo update-grub

다음을 입력하여 시스템 설정을 변경합니다.

sudo systemctl set-default multi-user.target

리 부트합니다.

reboot

GUI 모드로 되돌리기

시스템 설정을 원래대로 되돌립니다.

sudo systemctl set-default graphical.target

vi 에디터로 /etc/default/grub파일을 편집하여 원래대로 되돌립니다.

sudo vi /etc/default/grub

주석을 제거하고

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

GRUB_CMDLINE_LINUX에서 text지정을 해제하고

GRUB_CMDLINE_LINUX=""

다시 GRUB_TERMINAL에 주석을 추가합니다.

#GRUB_TERMINAL=console

wq!를 입력하여 저장 및 종료 터미널에서 다음을 입력하여 변경합니다.

sudo update-grub

다시합니다.

reboot

0 0 3 3 0 0 0 0 0 0
List of Articles
번호 분류 제목 날짜 조회 수
공지 이슈 🚨(뉴비필독) 전체공지 & 포인트안내 8 file 2024.11.04 25989
공지 이슈 URL만 붙여넣으면 끝! 임베드 기능 2025.01.21 20471
379133 [인케이스백팩]나는 인케이스 백팩이 탐난다. 2011.04.02 602
379132 [인케이스백팩]나는 인케이스 백팩이 탐난다. 2011.04.02 285
379131 잡담 이쁜 얼굴 만드는 미용 비법 53가지 - 얼굴 예뻐지는 법 - [피부 관리] 3 2011.04.23 612
379130 잡담 이쁜 얼굴 만드는 미용 비법 53가지 - 얼굴 예뻐지는 법 - [피부 관리] 3 2011.04.23 379
379129 유이-애프터스쿨 유이 사진모음-[유이 애프터스쿨] 2011.04.29 506
379128 유이-애프터스쿨 유이 사진모음-[유이 애프터스쿨] 2011.04.29 300
379127 컵라면 나트륨 위험-컵라면, 하루치 나트륨 권장량 훌쩍 넘겼다-[라면 나트륨] 2011.05.11 554
379126 컵라면 나트륨 위험-컵라면, 하루치 나트륨 권장량 훌쩍 넘겼다-[라면 나트륨] 2011.05.11 283
379125 잡담 줄넘기로 만성 비만에서 해방되다-출산 후 높아진 체지방률, 줄넘기로 내리다-[야간 줄... 2011.05.15 769
379124 잡담 줄넘기로 만성 비만에서 해방되다-출산 후 높아진 체지방률, 줄넘기로 내리다-[야간 줄... 2011.05.15 373
Board Pagination Prev 1 2 3 4 5 ... 37914 Next
/ 37914