எப்படி கற்பனையாக்கப்பெட்டியை உள்ள உபுண்டு லினக்ஸ் வன் இயக்கி ரூட் பகிர்வு நீட்டிக்க?

நீங்கள் கற்பனையாக்கப்பெட்டியை உபுண்டு லினக்ஸ் இடத்தை விட்டு வெளியே ஓடி என்றால் நீங்கள் பகிர்வை மறு அளவு பின்னர் வன் அளவு அதிகரிக்கும் மற்றும் வேண்டும். The following will show you how to do this.

நான் 8Gb ஒரு வன் அளவு கொண்ட ஒரு உபுண்டு, VM வேண்டும். I want to increase the size to 16Gb.

எப்படி உபுண்டு லினக்ஸ் வன் இயக்கி ரூட் பகிர்வு நீட்டிக்க

  1. உங்கள் VM இன் அணைக்கப்பட்டு உறுதி.
  2. கட்டளை வரியில் சென்று கற்பனையாக்கப்பெட்டியை நிறுவல் அடைவில் செல்ல. 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. கற்பனையாக்கப்பெட்டியை வரைகலை உள்ள அளவு சரிபார்க்கவும். The size should have changed.
    எப்படி உபுண்டு லினக்ஸ் வன் இயக்கி ரூட் பகிர்வு நீட்டிக்க 2
  5. இப்போது கற்பனையாக்கப்பெட்டியை வன் பகிர்வு மாறிவிட்டது என்று அதை பயன்படுத்த முடியும் என்று உபுண்டு மாற்றம் வேண்டும். In order to resize the partition use the gparted live CD which can be downloaded from இங்கே
  6. பதிவிறக்கம் அதே VM இன் குறுவட்டு இயக்கி ஒரு GParted ISO கோப்பு நுழைக்க மற்றும் நேரடி குறுவட்டு பெட்டியை டிக். Start the VM booting into the CD drive.
  7. GParted துவங்கியதும் ஒருமுறை நீங்கள் ஐ.நா. ஒதுக்கீடு பகிர்வு அத்துடன் உங்கள் பகிர்வை பார்க்க முடியும் இருக்க வேண்டும்.
    Resize Hard Disk Drive partition of Ubuntu Linux in VirtualBox using GParted
  8. வலது கோப்பு முறைமை lvm2 என பெயரிடப்பட்ட, pv கொண்டு விரிவாக்கப்பட்ட பகிர்வு கீழ் காக்கப்பட்ட என்று பகிர்வு கிளிக் பகிர்வு செயலிழக்க.
  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. திறந்த முனையம் மற்றும் உங்கள் சொந்த தருக்க தொகுதி பெயருக்குப் பதிலாக பின்வரும் கட்டளையை தட்டச்சு:
    சூடோ lvextend -L13.385G, / dev / உபுண்டு-VG / ரூட்
    மேலே உபுண்டு ஜிகாபைட் தருக்க பகிர்வு அளவை சொல்கிறது இது அளவுரு -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:
    சூடோ resize2fs, / dev / உபுண்டு-VG / ரூட்
  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