Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

After I "send a shutdown signal", I find I have to reinstall Ubuntu Server inside VirtualBox. This doesn't seem right. I should simply have to restart an installed version of Ubuntu Server.

What am I doing wrong?

Edit: Sorry for not being explicit enough. I have a Mac OS X host, with Ubuntu Server in a VirtualBox guest. When I close the Ubuntu Server guest, I get the usual 3 options: "Save State", "Send Shutdown Signal", "Power Off Machine." I thought if I did "Send Shutdown Signal", my guest OS would shut down, and I would be able to easily restart it in future. Instead, the next time I try to revive my guest OS, I find I have to reinstall the entire damn thing. What am I doing wrong?

share|improve this question
    
Not telling us the rest of the story is wrong, for one thing. Why are you reinstalling? –  Michael Hampton Oct 14 '13 at 2:25
1  
Please explain what you've done in detail. What is the host OS? How did you install exactly? Have you left the installation ISO attached to the VM? –  terdon Oct 14 '13 at 2:30
    
Thanks for your feedback people, I have updated my question with more detail. –  user1883050 Oct 14 '13 at 2:36
    
You ask your VM to shut down from within it's OS, or risk corrupting your VHD. Doing the equivalent of pulling the power plug from the outside has the usual results. –  Fiasco Labs Oct 14 '13 at 2:43
1  
@Darius -- brilliant! you're right... I didn't fully comprehend what terdon was implying... this must be it, I've been leaving the ISO attached, and have the boot order set to CD Drive first... so obviously this is what was happening! ... thanks!!!!! I wish I could give you points for the right answer... this is the right answer folks! –  user1883050 Oct 14 '13 at 4:30

1 Answer 1

You can "import" servers into VirtualBox or save a particular state of a virtual machine and revert back to that state using "snapshots". You can save your VMs using VirtualBox Manager.

If you don't save it, then the "virtual" machine is lost when you turn it off.

share|improve this answer
    
The problem for me is that I want to shutdown my guest OS, make some changes to the network settings of VirtualBox and then restart the guest OS. (I'm trying to SSH into the guest from the host, and finding that hard to do, hence the changes to the settings.) –  user1883050 Oct 14 '13 at 2:38
    
Can you save the state before shutting it down? You can also take snapshots with various settings and revert back to them to test the various network settings. –  HighTechGeek Oct 14 '13 at 2:39
    
Many settings are greyed out. Yes, it helps that I can take snapshots. But I'm unable to fiddle around with most settings. –  user1883050 Oct 14 '13 at 2:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.