Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- conda
- patch
- Linux
- build
- 1.10
- HPFSS
- rhel
- 1.9
- rhel9
- HPCM
- client
- hpcm패치
- Kernel
- CUDA
- Source
- gpfs
- PFSS
- Cray
- rocm
- LUSTRE
- AMD
- nvidia
- infiniband
- Docker
- ubuntu
- HPE
- GPU
- Singularity
- SLURM
- top500
Archives
- Today
- Total
HPE CRAY 자료 공유
[RHEL 9] 달라진 GRUB 설정 본문
RedHat Enterprise Linux 9버전 부터 GRUB 설정 방법이 변경되었다.
기본 설정 방법이 grubby 명령을 사용하도록 변경 되었다.
아래는 변경된 방법과 변경된 설정방법에 grub2-mkconfig명령을 사용하게 하는 방법,
RHEL 8 버전까지 사용했던 방법을 사용하게 하는 설정을 예제로 작성한다.
Predictable Network Interface Names을 사용하지 않게하는 "net.ifnames=0" 옵션을 예제로 한다.
1. grubby 사용 방법
# grubby --update-kernel ALL --args "net.ifnames=0" # shutdown -r now |
- net.ifnames 옵션을 제거 하는 경우
# grubby --update-kernel ALL --remove-args net.ifnames |
2. grub2-mkconfig 명령 실행 시 "--update-bls-cmdline" 옵션을 추가하는 방법
# vi /etc/default/grub GRUB_CMDLINE_LINUX에 "net.ifnames=0" 추가 # grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline # shutdown -r now |
3. RHEL 8 버전과 동일하게 사용하는 방법
- /etc/default/grub 파일에 GRUB_ENABLE_BLSCFG 변수를 false 선언하면 기존과 같은 방법으로 사용이 가능 하다.
# vi /etc/default/grub GRUB_CMDLINE_LINUX에 "net.ifnames=0" 추가 "GRUB_ENABLE_BLSCFG=true"를 "GRUB_ENABLE_BLSCFG=false"로 변경 # grub2-mkconfig -o /boot/grub2/grub.cfg # shutdown -r now |
'Applications > LINUX' 카테고리의 다른 글
[RHEL 9] 달라진 selinux disable 방법 (0) | 2025.02.11 |
---|---|
[RHEL9] NIS 지원 종료 (0) | 2025.01.24 |
[github] Weather Research and Forecasting Model (0) | 2025.01.20 |
[Linux] x509: certificate signed by unknown authority (0) | 2024.12.11 |
[singularity] user namespace not supported by your system (0) | 2024.12.11 |