Difference between revisions of "User:Bourke/VirtualboxUbuntuGuiSandbox"

From MPDLMediaWiki
Jump to navigation Jump to search
m
Line 9: Line 9:


[https://help.ubuntu.com/community/VirtualBox/SharedFolders Ubuntu Community Documentation SharedFolders]
[https://help.ubuntu.com/community/VirtualBox/SharedFolders Ubuntu Community Documentation SharedFolders]
Done:
added share in VirtualBoxManage on hostOS:
  bootuser@bourke-vb-ub-sandbox:~$ sudo mount -t vboxsf share /mnt/hostshare
  /sbin/mount.vboxsf: mounting failed with the error: No such device
Still open:
  bootuser@bourke-vb-ub-sandbox:~$ sudo mount -t vboxsf share /mnt/hostshare
  /sbin/mount.vboxsf: mounting failed with the error: No such device


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

Revision as of 09:31, 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


Done: added share in VirtualBoxManage on hostOS:

 bootuser@bourke-vb-ub-sandbox:~$ sudo mount -t vboxsf share /mnt/hostshare
 /sbin/mount.vboxsf: mounting failed with the error: No such device


Still open:

 bootuser@bourke-vb-ub-sandbox:~$ sudo mount -t vboxsf share /mnt/hostshare
 /sbin/mount.vboxsf: mounting failed with the error: No such device

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