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

Re: [Xen-users] Re: lost root password in guest


  • To: Alexandre Bezroutchko <abb@xxxxxxxxxxxx>
  • From: Paras pradhan <pradhanparas@xxxxxxxxx>
  • Date: Wed, 11 May 2011 09:33:34 -0500
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 11 May 2011 07:35:18 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EsvDUaF73/tPdR/hmiaIz3PIFli27iMQF96kaSjbIbxAen/haxGiJe79SfsPVkHgyT 6FUCtWjUj3zi/4g1vN33lmMhIpGl7/vgU68dbg8qSkkviRq6TuReCRE/cT6vp80mvway BnLkBC+Af/tQaP4Pf1XrFgw59sS5+b6kPNWSI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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