grub2 부팅순서 변경

============
부팅리스트 보기

grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2


CentOS Linux (3.10.0-957.1.3.el7.x86_64) 7 (Core)
CentOS Linux (3.10.0-514.el7.x86_64) 7 (Core)
CentOS Linux (3.10.0-514.el7.x86_64) 7 (Core) (recovery mode)
CentOS Linux (0-rescue-48d41322782f44609c84eca945741b21) 7 (Core)
CentOS Linux (0-rescue-48d41322782f44609c84eca945741b21) 7 (Core) (recovery mode)
Windows 7

===============
기본 부팅 확인

grub2-editenv list
============

기본 부팅 변경

grub2-set-default "Windows 7"

댓글

이 블로그의 인기 게시물

LSF (GPU 스케쥴링) 명령어 사용법

CentOS 7 리부팅 없이 새 디스크 인식 (find a new disk without reboot)

python에서 hive 사용