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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: lost root password in guest
From: Alexandre Bezroutchko <abb@xxxxxxxxxxxx>
Date: Wed, 11 May 2011 13:57:58 +0200
Delivery-date: Wed, 11 May 2011 05:02:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10
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



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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>