Virtualbox 虛擬機擴容,解決 Low disk space on “Filesystem root”問題


問題描述

創建虛擬機時,選擇的硬盤空間小,隨着使用內存空間占用變得變少,進入虛擬機,會提醒“Low disk space on “Filesystem root””

解決方法[1]

  1. Open cmd as administrator.
  2. Go to the folder where the VirtualBox is installed so you can use the VBoxManage program.
  3. From there, run the following command:
VBoxManage modifyhd <file path and name> --resize <size in MB>
e.g.: VBoxManage modifyhd C:\V-MACHINES\SERVER2008\WIN-2008.VDI --resize 26000

<file path and name> 可以在 Virtual box 設置中找到

VDI 安裝路徑
VDI 安裝路徑
  1. You will see a message from 0 to 100% and done.

  2. Start your machine and go to "Computer" (or "My Computer", if applicable), right click and select "Manage", go to "Storage" → "Disk Management", right click on the disk you want to expand, click on "Extend Volume" and resize the disk as you wish.
    image

  3. If necessary restart the VM.


  1. https://superuser.com/questions/172651/increasing-disk-space-on-virtualbox#:~:text=This worked perfectly (from Windows 7 and using VirtualBox 4.x). ↩︎


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM