LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-27-2009, 03:53 AM   #1
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
kvm: Reset root password on guests


Hi.


I'm running KVM on my ubuntu box, and have create a couple of linux guests. I need to reset the passwords on both of the guests. The problem is that I can't access grub, so I don't get to boot into single user mode. Does anyone know how to access grub on a KVM guest?


Regards,
kenneho
 
Old 11-28-2009, 07:12 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Another option would be to boot kvm using a live linux iso image, and then mount the virtual hard disk and make the changes to reset the passwords.
 
Old 11-29-2009, 05:42 AM   #3
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Original Poster
Rep: Reputation: 40
Yeah, that would work too. But I'd very much like to get the grub thing going, just to have that as an option.
 
Old 12-28-2012, 01:43 PM   #4
jfargen
LQ Newbie
 
Registered: Dec 2012
Posts: 2

Rep: Reputation: Disabled
Reset KVM Linux Guest Passwords

... [traffic driving not appreciated]

Last edited by Tinkster; 01-08-2013 at 01:03 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KVM on ubuntu: not suitable for GUI guests (or lazy sysadmins!)? catkin Linux - Desktop 1 09-11-2009 05:58 PM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
LXer: Linux: KVM Adds Support For SMP Guests LXer Syndicated Linux News 0 07-19-2007 01:17 AM
how to reset root password bsisol Linux - Server 1 01-15-2007 06:10 PM
Reset Root password sdsouza Linux - Software 5 11-12-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration