WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Alexandre Bezroutchko <abb@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: lost root password in guest
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6FQb9YNwT7/PbLHMTUX9JcutNR/Ni0mTdyr+pN5VRgc=; b=n4JcCCvg4exDSXXs4B9m3LRyNlep0sgn575tq1t8f4vrQpb5FBdzgGrPSHqXXllFcA F/JZCWA7V9A6Di+j9BAPVifaS0FAtKr11X8nHye018qQXx/134MPSOX6v5gDzTPs3sQb NjDp+1jzbEeBGD7GIYHUSzdc61izsDHE1wauE=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DCA79C6.1070108@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4DCA79C6.1070108@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>