|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] resetting lost root password on a xen guest
Darren Jacobs wrote: Why? Can't you shut down the DomU, mount the DomU's "/" partitin, do a chroot to it, and edit it from the Dom0?Hi All,I need to get into a xenguest running linux for which the root password has been lost. I'm running xen 3.0.3 under RH 5.I'm trying to figure out how to get pygrub for this guest to load up the typical "init=/bin/sh" to get the console to come up at the command line prompt so I can reset the root password. If not, you should be able to use "xm create -c domain" to get the grub console and boot into single user mode, unless you've been very fascist about your grub configuration. Trolling though google I've see suggestions to add args = 'init=/bin/sh' or opts = 'init=/bin/sh' to the guest configuration file. None of them appeared to have worked. If I do a 'xen create echo11 -n' after making any of the above file mods I see that the args were not modified: See, this is where you should use "xm create -c 'DOMAIN'" _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |