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/
Home Products Support Community News


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
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 (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
and poweroff the vm

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
<Prev in Thread] Current Thread [Next in Thread>