![]() |
|
|||||||
| Cafe PowerBASIC General discussion. Topics need not be related to PowerBASIC, but promotion of other programming languages is not allowed. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
VirtualBox Assistance Please
It appears it's possible to backup (save) your VirtualBox guest installs.
I read the how to but I'm still not quite sure of the steps. I want to reinstall ubuntu but I don't want to have to install XP again in the new VirtualBox host. Step by step would be nice for this old codger. I have a NAS where I would put the files. Thanks, James |
|
#2
|
|||
|
|||
|
VBoxManage clonevdi current.vdi your_backup.vdi
This is the only way to backup a .vdi VM. Just doing a copy will not work. John Last edited by John Spikowski; May 31st, 2008 at 12:25 PM. |
|
#3
|
|||
|
|||
|
Quote:
That does both the vm and the virtual HD? James |
|
#4
|
|||
|
|||
|
This makes a clone of your current VM. I have restored from a .vdi clone and it works great. To restore a clone, create a new vm and select use existing .vdi file rather then creating a new one. If you have a second .vdi as an additional hard drive, use the same clone command for it as well.
John |
|
#5
|
|||
|
|||
|
VBoxManage Clone VDI has a known bug that prevents it from working. The workaround is here. http://murga-linux.com/puppy/viewtopic.php?t=21796
I can confirm that the bug exists in version 1.6.0 and that the workaround works[around].
__________________
The most exasperating part of the "rat race" is how often the rats are in the lead! |
|
#6
|
|||
|
|||
|
Quote:
If you want the same drive image to be used in the same instance by cloning it, then you have to use a method that will change the UUID of the cloned image. But it you are porting it for use elsewhere, then a straightforward copy will work. I think XP is eventually going to force the courts to address the issue of what is Abandonware or Orphanware, and at what point the rights to it shift into the public domain. Technically, Abandonware is not law, but there is a need for it. We have too much vested in being able to continue to use and treat it as real property for it to be ignored forever. My own take on Abandonware is that: (1) The original source no longer promotes it (2) The original source no longer markets it (3) The original source no longer supports it (4) The original source no longer upgrades it (5) The original source ceases to exist as a legal entity (6) The original source either officially discontinues the product, or ceases to give evidence of any of the above for some specified period of time. By "original source", I merely seek to clarify a point about origin, Legal rights can be transferred or disposed of, at which point the new party would then be identified in place of the original source. So if Microsoft chose to sell off the XP product line, there would be a new owner to contend with. |
|
#7
|
|||
|
|||
|
In my case I will be reinstalling Linux and VirtualBox but first I want to save my XP guest to my nas. What is the procedure here. I won't be cloning it so as to have 2 Virtual machines.
James |
|
#8
|
|||
|
|||
|
James,
Merely copy your existing VDI to another drive. You should be able to remount it when you reinstall VirtualBox and create the new VM. I presume VirtualBox will use the existing uuid. I keep a fresh windows VDI handy to test my setup programs when doing something new with innosetup, etc.. It is quicker to clone a 2 GB VDI and dispose of it after testing than to reformat and install windows on my extra computer.
__________________
The most exasperating part of the "rat race" is how often the rats are in the lead! Last edited by Scott Hauser; May 31st, 2008 at 04:11 PM. |
|
#9
|
|||
|
|||
|
I concur with the advise above. If you reinstall VirtualBox, there is no problem with having it recognize an existing VDI, except to locate it where you placed it before attempting the reinstalls. Most Linux installs presume you want the partition to be reformatted (some require it), and that means putting it on a different partition. I just copy it to one of my NTFS drives.
Note that the copy process is much faster under Windows than it is under Linux if copying between partitions configured for both OSes. To enable Windows to recognize Ext2/3 partitions, you need to search for Ext2 and Windows, and install the necessary driver. |
|
#10
|
|||
|
|||
|
Quote:
Thanks for the information ! John |
|
#11
|
|||
|
|||
|
Quote:
James |
|
#12
|
|||
|
|||
|
I have been using VirtualBox on my CentOS 5 Linux system for some time without issues. I tried to install VirtualBox on my Ubuntu 8.04 system and ran into all kinds of issues. My first attempt was to use the add/remove programs menu option to install VirtualBox. This option tried to install 1.5.6 and wouldn't allow me to start a .vdi I had created on the CentOS system. I kept getting errors saying that the kernel couldn't be regenerated. I also had permission problems which is strange seeing that I'm logged in as root. After an hour of messing with it and getting nowhere, I uninstalled 1.5.6 and tried to install 1.6.0 of VirtualBox. I'm still having issues with the kernel rebuilding. I even intalled the kernel source and headers with no luck.
The CentOS 5 (Red Hat) install on Virtualbox worked as soon as I installed it. Has anyone else run into problems getting VirtualBox to work on Ubuntu? |
|
#13
|
|||
|
|||
|
Quote:
No problems at all with 1.6 on ubuntu 8.04. One Xp vm and one ubuntu 8.04 so far James |
|
#14
|
|||
|
|||
|
James,
I was able to get VirtualBox installed on Ubuntu. 1. Make root a member of the virtualbox group 2. Download essential kernel headers 3. Other tweaks I found while researching the errors I was getting. Installation Instructions (5/30/2008) Ubuntu 8.04 The CentOS install was MUCH easier. (install and run) John Last edited by John Spikowski; Jun 2nd, 2008 at 06:38 AM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|