Nola Ubuntu Linux disko erro VirtualBox partizioaren luzatzea?

Ubuntu Linux VirtualBox espazio agortzen ari bada, ondoren, disko gogorrean tamaina berriro tamaina partizio handitzeko eta, ondoren, behar izango duzu. The following will show you how to do this.

Ubuntu VM horrek diskoan 8GB tamaina hard ditu daukat. I want to increase the size to 16Gb.

Nola Ubuntu Linux disko root partizioa zabaltzeko

  1. Ziurtatu zure VM itzalita dagoenean.
  2. Komando gonbita joan eta VirtualBox instalazioarekin direktorioa joan. The default location usually is C:\Program Files\Oracle\VirtualBox
  3. Komando gonbita sartutako:
    VBoxManage modifyhd "Eta:\VirtualBox VMs\Ubuntu 14.04.3\Ubuntu 14.04.3.vdi” --resize 16000
  4. Check-tamaina VirtualBox GUI. The size should have changed.
    Nola Ubuntu Linux disko root partizioa zabaltzeko 2
  5. Orain VirtualBox disko gogorrean partizio aldatu egin behar Ubuntu beharreko aldatu da, beraz, erabil daiteke. In order to resize the partition use the gparted live CD which can be downloaded from Hemen
  6. Behin deskargatu txertatu GParted ISO fitxategia bera VM CD unitatean sartu eta markatu zuzeneko CD checkbox. Start the VM booting into the CD drive.
  7. Behin GParted abiarazi dela partizioak ikusteko baita un-esleituko partizioa bezala gai izan behar duzu.
    Resize Hard Disk Drive partition of Ubuntu Linux in VirtualBox using GParted
  8. Eskuin klik hori fitxategi-sistema lvm2 pv batera partizio hedatua azpian habiaratu partizioaren eta partizioaren desaktibatzeko.
  9. Aukeratu segidan luzatu eta sakatu re-tamaina / mugimenduan. Drag the arrow right to the end.
    Resize Hard Disk Drive partition of Ubuntu Linux in VirtualBox using GParted-2
  10. 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.
  11. Egin klik aplikatu botoiak aldaketak gordetzeko.
  12. Shutdown the VM and remove the GParted CD
  13. Start the VM to boot up the Ubuntu install
  14. Run diskoak Ubuntu bilaketa erabiliz
    Resize Hard Disk Drive partition of Ubuntu Linux in VirtualBox using GParted
    Ikusi ahal izango duzu disko gogorrean tamaina handitu dela, baina espazioa ez da Ubuntu fitxategi sistema erabiltzen ari diren. The root partition is only using 6.1gb of space. Komando bat exekutatu Ubuntu kontatzeko espazio hau erabili behar dugu. Egin bolumen logikoa ohar baten erro partizioa egiteko. In this tutorial it is /dev/ubuntu-vg/root.
  15. Ireki terminal eta idatzi komando propioak batera logikoa bolumena izen ordezkatuz:
    sudo lvextend -L13.385G / dev / Ubuntu VG / ezaugarria
    Aurrekoez parametroa -L zein Ubuntu gigabyteko partizio logikoak tamaina kontatzen erabiltzen. 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.
  16. Orain tamainaren Ubuntu kontatu aurretik joan eta re-tamaina da behar dugu ezarri ditugu. Type the following to do this:
    sudo resize2fs / dev / Ubuntu VG / ezaugarria
  17. Orain egiaztatu diskoak onuragarritasunak. 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.
    Resize Hard Disk Drive partition of Ubuntu Linux in VirtualBox using GParted