top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to shut down a fedora 20 virtual machine?

+1 vote
702 views

I am currently running RHEL 6.5 on a 64-bit laptop, and installed a new fedora 20 VM using the Virtual Machine Manager -- seemed to work fine, f20 came up, looks good, but now i want to shut it down, so from the f20 console, I selected "Virtual Machine" -> "Shut Down" -> "Shut Down".

Where it *looks* like the VM shuts down, but the VMM window shows "f20 Running"

Should I expect a different result? I was expecting the VMM window to show that that VM was Stopped or something.

posted Dec 17, 2013 by Bob Wise

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

That command should be the same as 'virsh shutdown '. I'm not sure how the message gets to the VM to shut it down cleanly but I'm guessing some sort of message gets to systemd in the VM.

How long have you waited for it to shutdown? You might be running into this bug:

slow shutdown unit user@0.service entered failed state
https://bugzilla.redhat.com/show_bug.cgi?id=1023820

answer Dec 17, 2013 by Garima Jain
Similar Questions
0 votes

I'm looking at setting up an automated backup schedule for my virtual systems on a headless Virtualbox server which runs on Centos 6. I would have liked to have been able to:

  1. Take a snapshot of a running VM
  2. Backup the snapshot of that VM in the running state (none of these files would be modified while I backed them up)
  3. Copy the backup to a remote location
  4. Remove the snapshot

I've done some searching and seen some discussion:
1. Snapshots using vboxmanage might not work if the system is running.
2. For some reason this process is flawed...

So perhaps I need to:

  1. Shutdown the Running VM
  2. Wait until the VM has completed shutdown
  3. Backup the VM
  4. Start the VM
  5. Copy the backup to a remote location

Has anyone got a nice little script to do either of these? Is there a nice way to wait until the VM has completed shutdown?

0 votes

I am looking for internals how a host windows machine provides communication to virtual machines created through Oracle VM box ?

+2 votes

I have just upgraded to 23 from 22 in a virtual machine using dnf as described in the Fedora Wiki, which went rather smoothly for me.

After manually installing the Guest Additions, the features "seemless windows" and "automatic resize of the guest desktop" don't work (the respective options in the views menu are greyed out).

The VBox kernel modules are built ok, but I get a warning saying: "unsupported pre-release version of X.Org server installed. Not
installing the X.Org drivers."

The X log says that there is X.Org X Server 1.17.99.902 installed, which is a pre-release. I guess downgrading might cure the problem, but how?

Any advice?

0 votes

Oracle Virtual box is heavy option for me to launch virtual machines. I am looking for a lite weight hypervisor option or any other solutions which make my life easy.

...