Necə VirtualBox Ubuntu Linux sabit disk drive kök bölümü genişləndirmək üçün?
Siz VirtualBox Ubuntu Linux yer həyata çalışan Əgər partition yenidən ölçüsü sonra sabit disk ölçüsü artırmaq və lazımdır. The following will show you how to do this.
Mən 8Gb bir sabit disk ölçüsü olan Ubuntu VM var. I want to increase the size to 16Gb.

- Sizin VM söndürülmüş əmin olun.
- Skript istemi gedin və VirtualBox quraşdırılması kataloq getmək. The default location usually is C:\Program Files\Oracle\VirtualBox
- Skript istemi daxil:
VBoxManage modifyhd "Və:\VirtualBox VMs\Ubuntu 14.04.3\Ubuntu 14.04.3.vdi” --resize 16000 - VirtualBox GUI ölçüsü yoxlayın. The size should have changed.

- İndi VirtualBox sabit disk bölümünü dəyişib ki, istifadə edilə bilər ki, Ubuntu dəyişib olmalıdır. In order to resize the partition use the gparted live CD which can be downloaded from burada
- Sonra nazil eyni VM CD sürücü GParted ISO fayl daxil və canlı CD onay kutusunu işarələyin. Start the VM booting into the CD drive.
- GParted ayaqqabılı sonra BMT-ayrılan bölüm habelə arakəsmələr görmək lazımdır.

- Sağ fayl sistemi lvm2 PV ilə geniş bölüm altında iç içə olunur bölümü basın və bölüm ləğv.
- Uzadıla sıra seçin və yenidən ölçüsü / hərəkət basın. Drag the arrow right to the end.

- Select the partition that is nested under the extended partition with the file system lvm2 pv and click the re-size/move button. Drag the arrow right to the end.
- Dəyişikliklər saxlamaq üçün müraciət düymələri basın.
- Shutdown the VM and remove the GParted CD
- Start the VM to boot up the Ubuntu install
- Ubuntu axtarış istifadə edərək, Run disklər

Gördüyünüz sabit disk ölçüsü artmışdır, lakin kosmik Ubuntu fayl tərəfindən istifadə olunur deyil ki,. The root partition is only using 6.1gb of space. Biz bu kosmik istifadə etmək üçün Ubuntu demək üçün komanda run lazımdır. Kök bölüm üçün məntiqi həcmi qeyd etmək. In this tutorial it is /dev/ubuntu-vg/root. - Open terminal və öz ilə məntiqi həcmi adını əvəz aşağıdakı funksiyanı yazın:
Yuxarıda ubuntu gigabayt məntiqi bölüm ölçüsünü deyir parametri l istifadə edir. Change the size to your needs. The above command can be run as many times as you need so don’t worry about making a mistake.sudo lvextend -L13.385G / dev / ubuntu-VG / root
- İndi biz irəli getmək və yenidən ölçüsü onu Ubuntu demək lazımdır ölçüsünü müəyyən. Type the following to do this:
sudo resize2fs / dev / ubuntu-VG / root
- İndi disklər kommunal yoxlamaq. The size of the root logical volume should now have increased. Ubuntu is now using the extra disk space that we had increased in VirtualBox.

