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] restore root password in domU

To: alex.faq8@xxxxxxxxx, "xen-users@xxxxxxxxxxxxxxxxxxx" <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] restore root password in domU
From: Fischer Udo Attila <udo@xxxxxx>
Date: Mon, 26 Oct 2009 19:13:06 +0100
Cc:
Delivery-date: Mon, 26 Oct 2009 11:16:07 -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: Thunderbird 2.0.0.23 (Windows/20090812)
Hi Alex,

maybe it works for you:

add extra=" vga=normal init=/bin/sh xencons=tty" temporary to the vm config file than create the domain with console like (you have to delete if you had it added with the new option first)
xm create linuxvmtocrack -c

you will get into the domain but the hdd will be readonly (the os shows like it would be rw but the tools reading /etc/mtab which is readonly since the
last reboot, so the tools not changed the state to ro)
so you have to:
mount / -o remount,rw
and than you can change the password with
passwd
and poweroff the vm
poweroff

and remove the extra settings and you can start the vm with the new password set.

--

Mit freundlichen Grüßen:

Udo Attila Fischer
Max Born Straße 2
D-75015 Bretten
Tel: +49 3222 3328935
Email: udo@xxxxxx


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>