Pages

Monday 13 May 2013

Virtualbox 4+

How to mount  shared folder ?


$ sudo mount -t vboxsf  SHARED_FOLDER_NAME /mount/paths

example:
Define shared folder , from vbox interface.  Remember the Machine Name.

Inside linux/Guest machine, run following command to mount the shared folder identified by it's machine name.

$sudo mkdir /home/f_drive

$ sudo mount -t vboxsf  F_DRIVE  /home/f_drive

You're done.


How to  increase or resize installation?
To resize your guest OS disc size, use VBoxmanage utility shipped with virtualbox.


VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MB  

replace YOUR_HARD_DISK.vdi with your OS vdi and SIZE_IN_MB with the size you want to re-allocate.


How to resize root/extended/swap partition inside ubuntu?

Change your guest OS settings and make it boot from ubunut live cd/iso .
Choose "try ubunut"
run gparted
$sudo gparted
now, right click on partition which you want to resize.

You may not be able to resize few. For that, expand your extended partition to fill the remaining unallocated space. After that, move the logical partitions within the extended partition to the end. Then you should be able to shrink the extended partition at it's beginning, thus allowing you to expand your root partition.


No comments:

Post a Comment