Difference between revisions of "User:Bourke/VirtualboxUbuntuGuiSandbox"

From MPDLMediaWiki
Jump to navigation Jump to search
m
Line 6: Line 6:
copy hard disk (vdi file) as normal with rsync. Need to recreate Virtual Machine in the Gui. Snapshots are not allowed
copy hard disk (vdi file) as normal with rsync. Need to recreate Virtual Machine in the Gui. Snapshots are not allowed


====Clone (on same machine) ====
====Setup Shared Folder ====


Use
[https://help.ubuntu.com/community/VirtualBox/SharedFolders Ubuntu Community Documentation SharedFolders]


===UBuntu Guest OS ===
===UBuntu Guest OS ===

Revision as of 08:52, 12 July 2011

Copying and Cloning[edit]

Good Article is Copying and Cloning VirtualBox VMs

Copy (from one machine to another)[edit]

copy hard disk (vdi file) as normal with rsync. Need to recreate Virtual Machine in the Gui. Snapshots are not allowed

Setup Shared Folder[edit]

Ubuntu Community Documentation SharedFolders

UBuntu Guest OS[edit]

Setup Virtualbox as follows

Name: Ubuntu_10_02_Gui_Sandbox_32Bigt Virtual Memory: default (384 MB) Create new harddisk size 8192 mb autogrow name:

ubuntu livecd in cddrive, english install, germankeyboad, complete disk

after install, sudo apt-get upgrade to fetch the latest versions


guestadditions (required for shared clipboard, folder sharing)

Guest_additions_install

install from ubuntu repositories (onto guest OS, not host OS)
 sudo apt-get install virtualbox-guest-additions
 (this rebuilds the kernel to run vbox, reboot after this)

 sudo mkdir /media/cdimage
 
 sudo mount -o loop /usr/share/virtualbox/VBoxGuestAdditions.iso /media/cdimage
 cd /media/cdimage
 sudo ./VBoxLinuxAdditions-x86.run


following additional packages installed as standard

sun java

(and openjdk deinstall)

and a normal postgres setup

Now make a backup and use as a clone template