Difference between revisions of "Virtual Box"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) (Created page with "==Resize Virtual HDD == 1.- VBoxManage modifyhd <absolute path to file> --resize <size in MB> 2.- Extend the primary partition to include the new drive space. Download the Gp...") |
Rafahsolis (talk | contribs) |
||
| Line 7: | Line 7: | ||
From here you can expand the primary partition to use the new space. | From here you can expand the primary partition to use the new space. | ||
You can download the Gparted Live CD from [http://gparted.sourceforge.net/download.php/ HERE]. | You can download the Gparted Live CD from [http://gparted.sourceforge.net/download.php/ HERE]. | ||
| + | |||
| + | == Shared folder == | ||
| + | <nowiki> | ||
| + | Required: Virtualbox Guest Additions | ||
| + | |||
| + | Before sharing folders, you must install Guest Additions. For instructions on how to do this, see Guest Additions. | ||
| + | |||
| + | Creating a shared folder | ||
| + | |||
| + | Create a folder on the Host computer (ubuntu) that you would like to share, for example ~/share | ||
| + | |||
| + | Boot the Guest operating system in VirtualBox. | ||
| + | |||
| + | Select Devices -> Shared Folders... | ||
| + | Choose the 'Add' button. | ||
| + | |||
| + | Select ~/share | ||
| + | Optionally select the 'Make permanent' option | ||
| + | |||
| + | Prepare the folder | ||
| + | |||
| + | Linux | ||
| + | |||
| + | With a shared folder named share, as above, the folder can be mounted as the directory ~/host with the command | ||
| + | |||
| + | sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) share ~/host</nowiki> | ||
Latest revision as of 08:29, 4 March 2016
Resize Virtual HDD[edit]
1.-
VBoxManage modifyhd <absolute path to file> --resize <size in MB>
2.- Extend the primary partition to include the new drive space. Download the Gparted live cd or what ever partition manager program you wish and mount it to the guests virtual CD and boot the guest. From here you can expand the primary partition to use the new space. You can download the Gparted Live CD from HERE.
[edit]
Required: Virtualbox Guest Additions
Before sharing folders, you must install Guest Additions. For instructions on how to do this, see Guest Additions.
Creating a shared folder
Create a folder on the Host computer (ubuntu) that you would like to share, for example ~/share
Boot the Guest operating system in VirtualBox.
Select Devices -> Shared Folders...
Choose the 'Add' button.
Select ~/share
Optionally select the 'Make permanent' option
Prepare the folder
Linux
With a shared folder named share, as above, the folder can be mounted as the directory ~/host with the command
sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) share ~/host