yum list kernel ==> 여기에 커널이 보일 경우
grub2-editenv list
saved_entry=CentOS Linux (3.10.0-1160.36.2.el7.x86_64) 7 (Core)
grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2
CentOS Linux (3.10.0-1160.36.2.el7.x86_64) 7 (Core) ==> 기본 부팅
CentOS Linux (3.10.0-1127.el7.x86_64) 7 (Core) ==> 이걸로 변경 필요
CentOS Linux (0-rescue-f1c93e0ed15249bb8f45ee88a28b302e) 7 (Core)
grub2-set-default "CentOS Linux (3.10.0-1160.36.2.el7.x86_64) 7 (Core)"
grub2-set-default "CentOS Linux (3.10.0-1127.el7.x86_64) 7 (Core)"
grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2
CentOS Linux (3.10.0-1160.36.2.el7.x86_64) 7 (Core)
CentOS Linux (3.10.0-1127.el7.x86_64) 7 (Core)
CentOS Linux (0-rescue-f1c93e0ed15249bb8f45ee88a28b302e) 7 (Core)
grub2-editenv list
saved_entry=CentOS Linux (3.10.0-1127.el7.x86_64) 7 (Core)
'memo > Linux' 카테고리의 다른 글
cockpit 웹 접속 시스템 관리 프로그램 (0) | 2023.01.14 |
---|---|
centos 초기 설정(네트워크,한글,시간) (0) | 2023.01.14 |
boot space 부족 애러 (0) | 2023.01.14 |
Linux 환경 설정 bash (0) | 2023.01.14 |
Linux backup/복구 (0) | 2023.01.14 |