- XenCenter에서 리눅스 VM 싱글모드 부팅
- XenServer에서 VM root 패스워드 변경
1 부트 옵션 변경[ | ]
- 해당 VM 우클릭 --- Properties
- "VM명 Properties" --- Boot Options --- OS boot parameters: graphical utf8 s[1][2] --- [OK]
2 VM 재부팅[ | ]
- 해당 VM 우클릭 --- Reboot
- 해당 VM 선택 --- Console 탭
Console
Copy
... (생략)
Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: [ OK ]
Enabling local filesystem quotas: [ OK ]
Enabling /etc/fstab swaps: [ OK ]
sh-3.2#
sh-3.2#
- → 패스워드 요구 없이 쉘이 시작되었음(싱글모드).
3 패스워드 변경[ | ]
Console
Copy
sh-3.2# echo 'P@ssw0rd' | passwd --stdin root
Changing password for user root.
passwd: all authentication tokens updated successfully.
- → root 패스워드를 P@ssw0rd로 변경함
Console
Copy
sh-3.2# exit
logout
INIT: Entering runlevel: 3
Entering non-interactive startup
... (생략)
Starting yum-updatesd: [ OK ]
Starting Avahi daemon... [ OK ]
Starting smartd: [ OK ]
CentOS release 5.4 (Final)
Kernel 2.6.18-164.el5xen on an x86_64
jmnote login:
- → 싱글모드에서 일반 콘솔모드로 넘어감[5].
4 부트 옵션 복원[ | ]
더이상 싱글모드로 부팅할 필요가 없으므로, 부트옵션에서 아까 추가했던 s를 빼주어야 한다.
- 해당 VM 우클릭 --- Properties
- "VM명 Properties" --- Boot Options --- OA boot parameters: graphical utf8 --- [OK]
5 같이 보기[ | ]
6 주석[ | ]
7 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.