कसे VirtualBox मध्ये उबंटू लिनक्स हार्ड डिस्क ड्राइव्ह रूट विभाजन वाढवायचे?

तुम्ही VirtualBox मध्ये उबंटू लिनक्स जागा बाहेर चालवत असाल तर नंतर आपण विभाजन पुन्हा आकार नंतर हार्ड डिस्क आकार वाढविण्यासाठी आणि आवश्यक आहे. The following will show you how to do this.

मी 8GB एक हार्ड डिस्क आकार आहे जे एक उबंटू VM ला आहे. I want to increase the size to 16Gb.

कसे उबंटू लिनक्स हार्ड डिस्क ड्राइव्ह रूट विभाजन वाढवायचे

  1. आपल्या VM ला बंद आहे याची खात्री करा.
  2. कमांड प्रॉम्प्ट जा आणि VirtualBox स्थापना निर्देशिका जा. The default location usually is C:\Program Files\Oracle\VirtualBox
  3. कमांड प्रॉम्प्ट आत:
    VBoxManage modifyhd "आणि:\VirtualBox VMs\Ubuntu 14.04.3\Ubuntu 14.04.3.vdi” --resize 16000
  4. VirtualBox GUI मध्ये आकार तपासा. The size should have changed.
    कसे उबंटू लिनक्स हार्ड डिस्क ड्राइव्ह रूट विभाजन वाढवायचे 2
  5. आता VirtualBox हार्ड डिस्क विभाजन बदलले आहे की ते वापरले जाऊ शकते जेणेकरून उबंटू मध्ये बदलणे आवश्यक. In order to resize the partition use the gparted live CD which can be downloaded from येथे
  6. एकदा डाउनलोड त्याच VM ला सीडी ड्राइव्ह मध्ये gparted ISO फाइल घाला आणि लाईव्ह CD चेकबॉक्स खूण. Start the VM booting into the CD drive.
  7. Gparted बूट एकदा आपण रद्द वाटप विभाजन तसेच आपल्या विभाजने पाहण्यासाठी सक्षम असावे.
    Resize Hard Disk Drive partition of Ubuntu Linux in VirtualBox using GParted
  8. उजव्या फाइल प्रणाली व lvm2 पी सह विस्तारित विभाजन अंतर्गत नेस्टेड आहे की विभाजन क्लिक करा व विभाजन निष्क्रिय.
  9. विस्तारित ओळ नीवडा व पुन्हा आकार / हलवा क्लिक करा. 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. बदल जतन करण्यासाठी लागू बटणे क्लिक करा.
  12. Shutdown the VM and remove the GParted CD
  13. Start the VM to boot up the Ubuntu install
  14. उबंटू शोध वापरून चालवा डिस्क
    Resize Hard Disk Drive partition of Ubuntu Linux in VirtualBox using GParted
    आपण पाहू शकता हार्ड डिस्क आकार वाढली आहे, पण जागा उबंटू फाइलप्रणाली द्वारे वापरले जात नाही की. The root partition is only using 6.1gb of space. आम्ही या जागेचा वापर उबंटू सांगण्यासाठी एक आदेश चालवा. मूल विभाजनाचा लॉजिकल वॉल्यूम नोंद करा. In this tutorial it is /dev/ubuntu-vg/root.
  15. ओपन टर्मिनल आणि आपल्या स्वत: सह लॉजिकल वॉल्यूम नाव बदलून खालील आदेश टाइप करा:
    sudo ह्या lvextend -L13.385G, / dev / उबंटू-व्ही.जी.राजीव / रूट
    वरील उबंटू गीगाबाईट्स मध्ये लॉजीकल विभाजन आकार सांगते जे घटक -L वापरते. 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. आता आम्ही आम्ही पुढे जाऊ आणि पुन्हा आकार ते उबंटू सांगण्याची आवश्यकता आहे आकार सेट आहे. Type the following to do this:
    sudo ह्या resize2fs, / dev / उबंटू-व्ही.जी.राजीव / रूट
  17. आता डिस्क उपयुक्तता तपासा. 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