Run Seed VM On Virtualbox: User Manual
Run Seed VM On Virtualbox: User Manual
User Manual
Table of Contents
How to Use Virtualbox to Run SEED Ubuntu VM
Appendix A: Creating Multiple VMs
Appendix B: Network Configuration
Appendix C: Taking Snapshots of VM
Appendix D: Creating Shared Folder
Wenliang (Kevin) Du
SYRACUSE UNIVERSITY
SEED Document 1
In the above step, you may encounter the following error; otherwise, directly go
to Step 5.
Reason and Solution: This is because you copied the VM files from another VM, which is
already loaded into VirtualBox. These two VMs have the same UUID, which is not allowed by
Virtualbox. Here are several solutions depending on your situations:
• If you plan to create multiple VMs using the same image, please use the clone
mechanism (See Appendix A for details).
• If the older VM with the same UUID is no longer needed, remove it from VirtualBox will
solve the problem.
• If you do want to keep the older VM, you can change the UUID of the new VM. The
fastest way is to directly modify SEEDUbuntu16.04.vmdk, which is a text file.
Search for the ddb.uuid.image entry, and change its value (e.g., change the last
byte from ‘c’ to ‘d’)
Change this entry
SEED Document 4
If there is no error (or after you fix the error), your VM will be created successfully.
Successfully created
Select “Bidirectional” for both items. The first item allows users
to copy and paste between the VM and the host computer. The
second item allows users to transfer files between the VM and
the host computer using Drag’n Drop.
SEED Document 5
• IMPORTANT: make sure that the VM is fully shutdown (not in a “Saved” state), or there
will be all sorts of problems.
• Configure network (see Appendix B); otherwise you have to do it for each VM.
• Configure folder sharing (see Appendix D); otherwise you have to do it for each VM.
The clone will take a few minutes, depending on the speed of your computer.
SEED Document 9
Therefore, in order to achieve all these 2 goals, we have to use a network adapter called “NAT Network”.
The adapter works in a similar way to “local area network” or LAN. It enable VMs communication within
same local network as well as the communication to the internet. All the communication goes through
this single adapter. As show in Figure 1, gateway router transfers the packets among the VMs and transfers
the packets from local network to Internet.
SEED Document 10
Configuration Instruction
Step 1: Make sure you are using the most up-to-date VirtualBox. As show in the following figure, click
the “File” on the top left of the VirtualBox main UI. Then choose “Preferences…” option.
Step 2: Click the “Network” tab on left panel. click the “+” button to create a new NAT Networks
(NatNetwork) adaptor (if one does not exist). Double click on the NatNetwork, and look at its
specifications. Set the specifications as the same as what is shown below.
Step 4: Go to VM setting, you need to power off the VM before making the following changes. Enable
Adapter 1(at the same time, disable the other adapters), and choose “NAT Network”.
Troubleshoot 1
Troubleshooting:
• If VMs cannot ping each other, refresh the MAC Address can resolve the issue. The way to
resolve the issue is shown in figure 4, troubleshoot 1.
SEED Document 12
To restore from a snapshot that you have taken before, you can click the followings (you need
to shut-down the VM first):
1. Create the folder to be shared on the host computer. In this tutorial we name the folder
share.
2. Boot the Guest operating system in VirtualBox.
3. Go to the Settings popup window, and select “Shared Folders”
5. Choose “Other …”, and select a folder from the popup window.
6. Select Auto Mount and Make Permanent option. Click OK. Click OK again to close the
Settings Dialog.
SEED Document 15
7. Open a terminal in the VM. Make a directory and name it host (you can choose any
name you like). Use command “mkdir /home/seed/host”
8. We want files in our mount point (~/host) to be owned by the current user. Also we
want the mounted shared folder to persist after reboot. Hence, we will edit the
/etc/rc.local file (using “sudo gedit /etc/rc.local”) and add the
command below (1000 is the User ID and group ID of the user seed):
9. Save the changes and reboot VM. Now anything placed in /home/seed/host inside
the VM should be visible from the share folder on the host machine, and vice versa.