Objective
This article describes how to reset the password of the XenServer Host.
Note: The boot loader has been changed during one of the previous releases of XenServer. Therefore, this article contains two procedures based on the XenServer versions.Instructions
To reset the password of the XenServer host, complete one of the following procedures based on the versions used:
Reset Password in XenServer Version 4.1 and Earlier
To reset the password in XenServer versions 3.1, 3.2, 4.0, or 4.1, complete one of the following procedures:
-
No media Required
-
Media Required??
No Media Required
To reset the password, complete the following procedure:
-
Restart XenServer.
-
Press E, at the GRUB prompt.
-
Switch to the line, module /boot/vmlinuz-2.6-xen root=LABEL=root-slwniknb ro console=tty0, as shown in the following screen shot:
-
Modify the line as the following:
module /boot/vmlinuz-2.6-xen root=LABEL=root-pfbsesrv ro console=tty0 single -
Press Enter.
-
Press B.
-
After XenServer starts in a single user mode, type passwd root and set the new root password.
-
Run the reboot command to restart XenServer.??
Procedure – Media Required
To reset the password, complete the following procedure:
-
Restart the XenServer Host and boot from the XenServer installation CD.
-
Press ALT+F2 to log on to virtual console 2.
-
Run the following command to create a mount point:
# mkdir /mnt/root –p -
Run the following command to check for a root file system partition:
# fdisk –l
Note: Most likely the boot partition will be labeled with “*”. Skip this step if you know the location of the root file system resides. -
Run the following command to mount the root file system of the XenServer host:
# mount /dev/sda1 /mnt -
Run the following command:
# chroot /mnt/root -
Run the following command to change the password:
# passwd -
Run the following command to exit the chroot environment:
#exit -
Run the following command to restart the XenServer Host, remove the CD, boot from the hard drive, and log on with the new password:
# reboot
Reset Password in XenServer Versions 5.x and Later
To reset the password in XenServer versions 5.0, 5.5, 5.6, 6.0, 6.0.2, 6.1, and 6.2, complete the following procedure:
-
Migrate any running Virtual Machines (VMs) to other servers or shut them down if you use a standalone server.
-
Restart the XenServer.
-
When the server completes the BIOS procedures, type menu.c32 at the boot: prompt and press Enter.
-
Highlight the default boot option (for example, xe or xe-serial) and press Tab key.
-
Replace "vga=785 splash" with linux single.
-
Press Enter to boot into Linux's single user mode.?? You should eventually be dropped into a command line prompt.
-
Run the passwd command to change the root password:
-
After setting the root password, run the following command to reboot XenServer:
reboot
Note: This procedure also allows other kernel parameters to be applied to the host XenServer.
Supporto Citrix
Traduzione automatica
Questo articolo ?? ¨ stato tradotto da un sistema di traduzione automatica e non ?? ¨ stata valutata da persone. Citrix fornisce traduzione automatica per aumentare l'accesso per supportare contenuti; tuttavia, articoli automaticamente tradotte possono possono contenere degli errori. Citrix non ?? ¨ responsabile di incongruenze, errori o danni derivanti dell'uso di articoli automaticamente tradotte.
Citrix技術支持
自動翻譯
這篇文章被翻譯由一個自動翻譯系統,並沒有受到人們的審查。 Citrix提供自動翻譯,增加獲得支持的內容;但是,自動翻譯的文章可能可以包含錯誤。思傑不負責不一致,錯誤或損壞因使用自動翻譯的文章的結果。
Поддержка Citrix
Tradução automática
Эта статья была переведена автоматической системой перевода и не был рассмотрен людьми. Citrix обеспечивает автоматический перевод с целью расширения доступа для поддержки контента; Однако, автоматически переведенные статьи могут может содержать ошибки. Citrix не несет ответственности за несоответствия, ошибки, или повреждения, возникшие в результате использования автоматически переведенных статей.
시트릭스 지원
자동 번역
이 문서 자동 번역 시스템에 의해 번역 된 사람들에 의해 검토되지 않았다. 시트릭스는 컨텐츠를 지원하기 위해 접근을 높이기 위해 자동 번역을 제공합니다; 그러나, 자동으로 번역 기사 오류를 포함 할 수있다. 시트릭스는 자동으로 번역 된 기사의 사용의 결과로 발생하는 불일치, 오류 또는 손해에 대해 책임을지지 않습니다.