Oracle VM
Host Shared Folder in Ubuntu
- Expectations:
- Ubuntu Installed
- Logged in
- Network connection from within Ubuntu
- Open Machine->Settings
- Shared Folders (On the left)
- Add new Shared Folders (Top right)
- Set the following:
- Folder Path: The path to a windows folder you wish to share (Backup this folder, just incase)
- Folder Name: shared
- Read-Only: Un-checked
- Auto-mount: Un-checked
- Mounting poaint: blank
- Make Permanent: checked
- Click OK
- Run the following command in the terminal:
sudo-apt-get install virtualbox-guest-utils
- Reboot the VM:
sudo shutdown -r now
- Open /etc/fstab for editing
sudo vim /etc/fstab
- Add the following tab seperated line:
shared /home/<<USER>>/shared vboxsf defaults 0 0
- Add the following line to /etc/modules
vboxsf
- Reboot the VM:
sudo shutdown -r now
Expand Virtual Disk Size
- Close oracle VM and your linux virtual box.
- In windows open a command console.
- change directory to Virtual box folder:
cd “C:\Program Files\Oracle\VirtualBox”
4. Use the following command to resize Virtual Box to 50Gb.
VBoxManage modifyhd “C:\Users\<<USER NAME>>\VirtualBox VMs\<<VM NAME>>\<<VM NAME>>.vdi” --resize 51200
-
Open the VM in virtual box.
-
The harddrive has now been expanded in size, but we still need to repartition the system to use the expanded range. The suggested method is in linux to use the GUI Gparted.
-
Gparted may need to be installed, just search for it in the system, and an install option will be available.
- click on the partition you wish to expand and modify the size.
No comments
Comments are closed