|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Re: lost root password in guest
In XCP/XenServer it is supposed to be possible too, with
'xe-edit-bootloader' command. I tried it, but somehow it can't find a
partition to open... I thought 'single user mode' requires root password
still, at least for some Linux distros like Ubuntu.
On 05/11/2011 04:33 PM, Paras pradhan wrote:
I normally start the domU using xm -c , edit the grub menu and add
'single' or '1' at the end then it will boot to the single mode .
Then change the password.
Paras.
On Wed, May 11, 2011 at 6:57 AM, Alexandre Bezroutchko<abb@xxxxxxxxxxxx> wrote:
Hi,
Apparently I can't find back the original question, but if the problem is in
the lost root password as the subj suggests, there is a nice trick: set Boot
OS parameters (XenCenter, VM Properties, Startup Options) to 'init=/bin/sh'
and reboot -- you will get root prompt on your console. You'll have to
remount your root file system in rw mode (mount -o remount,rw /) before you
can make any changes on the file system. Just my 2 cents.
Cheers,
Alex
www.gremwell.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|