2

I have a virtual machine of Ubuntu old version. I am running it on Windows 7 Virtualbox.
Is it safe to upgrade the Ununtu from inside the VM to latest version of Ubuntu?
Is it possible at all?

karel
  • 114,770
BioDeveloper
  • 133
  • 1
  • 8

2 Answers2

3

Upgrading Ubuntu in VirtualBox is the same as upgrading Ubuntu in a physical machine. The available direct upgrades are the next Ubuntu release and also the next Long Term Support release if you are upgrading from an existing Long Term Support release.

The problem with upgrading vs. a fresh install is that upgrading Ubuntu in VirtualBox takes 2-3 hours whereas a fresh install of Ubuntu takes only about a half hour, but you can still use Windows 7 while Ubuntu is upgrading. If you see a black screen during the upgrade, that is because the screensaver is running, and you can show the Ubuntu desktop screen again by moving the mouse. I have received a few error messages in the terminal while upgrading Ubuntu in VirtualBox which I ignored and let the upgrade continue to run, but despite the error messages I didn't have any problems with Ubuntu in VirtualBox after I upgraded it.

Your personal data should be safe, but you should take the usual precautions about backing up your personal data that was in the Ubuntu guest OS before you start a distribution upgrade.

karel
  • 114,770
1

Yes you can upgrade ...No problem with it

Aadhil
  • 394