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"
부팅리스트 보기
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"
댓글
댓글 쓰기