Skip to content

masalinas/virtualbox-tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Description

Some VirtualBox Tutorials

Convert Between Fixed and Dynamic Disks

If we want to resize our virtualbox we must to set our disk like dynamic, so if our disk its in a fix mode we could convert it.

  • Execute this command to create a clone version of our old disk but in dynamic mode
VBoxManage.exe clonemedium disk "C:\path\to\source.vdi" "C:\path\to\destination.vdi" –variant Standard
  • Now we must detach our old disk and attach the new one from VirtualBox.

Attach VirtualBox disk

Resize a Dynamic Disk

One prerequisite to resize any disk in VirtualBox is that it must be in dynamic mode.

-Now from v5 of Virtualbox exist a tool called Virtual Media Manager to resize the disk in a visual mode

Resize VirtualBox disk

  • The VistualBox it's resize but not the partition, so we must ran the image and rezise. We recomend use the tool called gparted if not exist installed:
sudo apt-get install gparted
  • Resize the extended partition to the maximun offered by the VirtualBox disk

Resize Extended disk partition

  • Resize the partition to the maximun offered by the extended parition disk. Appli all changes before close.

Resize Disk Partition

Apply Parition Changes

  • Check the new size.

Execute this command:

df -h

Disk Free

About

VirtualBox Tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published