LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2012, 12:24 PM   #1
Viper9
LQ Newbie
 
Registered: Nov 2011
Posts: 5

Rep: Reputation: Disabled
Repair a KVM?


Hi guys:

I'm curious if there is a way to repair a KVM, I'm running Red hat and have a win 7 and Win XP VM image. Got the win 7 KVM going installed a few things now when I start the KVM it gives a BSOD. Is there a way to repair the KVM. I know I can just delete and install it again but was thinking what if a client installed a bunch of stuff and wanted to recover some data or something.

FYI no recovery option or anything, as soon as the KVM launches it goes to a BSOD.

Thanks guys.
 
Old 07-03-2012, 05:47 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,396

Rep: Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207
Boot the vm to a windows xp disk is the way to fix it. How did you install the OS? Same sort of steps except you change the boot to the cd instead of the virtual hard drive.
 
Old 07-03-2012, 05:55 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
KVM? I've never heard that in reference to a virtual machine before, usually it's talking about these:
http://en.wikipedia.org/wiki/KVM_switch

Made me very confused on the first read through your post.

Either way, the OS installed on the VM should have its own repair utility, probably on the installation CD as jefro suggested.
 
Old 07-03-2012, 05:59 PM   #4
Viper9
LQ Newbie
 
Registered: Nov 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hmmm yeah I know if I can get to safe mode or recovery console I could go that route. It BSOD before that point. The KVM's are part of the companies image they created. Which get installed via an .img file. There are no disks. So if I am helping out a remote user just curious what their options are. Something tells me they may be SOL. Unless they create their own boot cd's.

Sorry my company calls them KVM's got use to it, stands for Kernel-based Virtual Machine.

I found this as well. I check to see if I have any of these type of options.

To repair a virtual machine that is in a Failed state

In Virtual Machines view, in the navigation pane, navigate to the host on which the virtual machine is deployed.

To view only virtual machines with Failed status, in Filters, expand Status, and then click Failed.

In the results pane, select the virtual machine you want to repair.

To get information about the failure:
In the details pane, click Latest Job to view a summary of the most recent job run on the virtual machine.
To get additional information about the failure, display Jobs view, and review the details of recent jobs run on the virtual machine. For more information, see How to Monitor Jobs.

In the Actions pane, under Virtual Machine, click Repair virtual machine.

In the Repair Virtual Machine dialog box, select the appropriate option:
Click Retry to restart the job that caused the virtual machine to fail.
Click Undo to return the virtual machine to its previous state before the job that caused it to fail.
Click Ignore to refresh the metadata for the virtual machine and update its status if you fixed the issue that caused the virtual machine to fail outside Virtual Machine Manager. For example, you might have copied a missing virtual hard disk file to the appropriate folder.

Last edited by Viper9; 07-03-2012 at 06:07 PM.
 
Old 07-03-2012, 07:12 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
@suicidaleggroll: Under RHEL5, the VM tech was based on the XEN tool http://www.linuxtopia.org/online_boo...ion/index.html. As of RHEL6 (actually late RHEL5), they decided to start switching over to a tool called KVM as per post above http://www.linuxtopia.org/online_boo...irtualization/

Unfortunately, that TLA was already taken in the industry ...
 
1 members found this post helpful.
Old 07-03-2012, 07:30 PM   #6
Viper9
LQ Newbie
 
Registered: Nov 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks for the link to that resource I didn't know it generates logs. That should help shed some light on the issue.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Implementation Qemu-kvm 0.15.0, SpiceServer and Spice-Gtk-0.7 on Ubuntu 11.10 KVM Server the m LXer Syndicated Linux News 0 08-30-2011 05:40 PM
LXer: Set up Spicevmc Channel on Ubuntu 11.04 as KVM Server and spice-vdagent as a KVM guest LXer Syndicated Linux News 0 06-15-2011 08:10 PM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization and Cloud 2 03-21-2011 03:05 PM
LXer: Install Oracle 11gR2 on SL6 KVM at KVM-QEMU Instance on SL 6 (alpha 3) LXer Syndicated Linux News 2 01-01-2011 07:42 AM
I need a Linux OS other than Ubuntu which has a repair disk or repair software jhmac77 Linux - Newbie 1 03-17-2008 08:04 AM


All times are GMT -5. The time now is 09:47 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration