[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


On Wed, May 11, 2011 at 6:57 AM, Alexandre Bezroutchko<abb@xxxxxxxxxxxx>  wrote:

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.


Xen-users mailing list

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.