logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

Zmniejszenie rozmiaru wirtualnej maszyny Ubuntu na VMware po usunięciu plików

eeee44 07 Maj 2016 19:36 2106 3
REKLAMA
  • #1 15656993
    eeee44
    Poziom 2  
    Posty: 2
    Na vmware zainstalowałem sobie linuksa ubuntu i miałem tam dużo śmieci i je skasowałem i potem z kosza i rozmiar wirtualnej maszyny nadal ma 18 GB. Jak zrobić żeby go zmniejszyć do rozmiaru jaki naprawdę system zajmuje?
  • REKLAMA
  • REKLAMA
  • #3 15657017
    eeee44
    Poziom 2  
    Posty: 2
    Ale jak na linuksie to zrobić?
    Cytat:
    kacper@kacper-virtual-machine:~$ run vmware-toolbox
    Nie odnaleziono polecenia 'run', czy chodziło ci o:
    Polecenie 'rn' z pakietu 'trn4' (multiverse)
    Polecenie 'rn' z pakietu 'trn' (multiverse)
    Polecenie 'runc' z pakietu 'runc' (universe)
    Polecenie 'grun' z pakietu 'grun' (universe)
    Polecenie 'qrun' z pakietu 'torque-client' (universe)
    Polecenie 'qrun' z pakietu 'torque-client-x11' (universe)
    Polecenie 'runq' z pakietu 'sendmail-bin' (universe)
    Polecenie 'runq' z pakietu 'exim4-daemon-heavy' (main)
    Polecenie 'runq' z pakietu 'exim4-daemon-light' (main)
    Polecenie 'zrun' z pakietu 'moreutils' (universe)
    Polecenie 'srun' z pakietu 'slurm-client' (universe)
    Polecenie 'rup' z pakietu 'rstat-client' (universe)
    run: nie znaleziono polecenia

    Cytat:
    Shrinking the virtual disk
    After defragmenting the virtual disk, use VMware Tools to erase empty disk sectors at the end of the disk to free up unused space.

    To shrink the virtual disk:

    Open the VMware Tools Control Panel / Toolbox:

    In Windows:

    Double-click the VMware Tools icon in the system tray, or click Start > Control Panel > VMware Tools.

    In Linux:

    Open the terminal and run this command:

    vmware-toolbox

    Note: In Workstation 9.x (Windows) and above, shrinking is automatically done while Cleaning up the disk. Therefore, this option is removed from VMware Tools Panel. Go to VM > Manage > Clean up Disks. This is not available in Linux version of VMware Workstation 9.x and later.

    Click the Shrink tab.
    Select the drive you want to shrink.
    Click Prepare to Shrink, then follow the onscreen instructions.

    Caution: Do not shut down your virtual machine or the host machine while the disk is shrinking. Also, do not try to cancel the process. Interrupting this process can cause irreparable damage to your virtual disk and you may not be able to start your virtual machine again.

    Cytat:
    This is not available in Linux version of VMware Workstation 9.x and later

    Ja mam Vmware 12

    Chyba trzeba utworzyć nowy wirtualny dysk i wystartować z ubcd i tam na niego linuksa clonezillą przenieść.

    Moderowany przez swiercm:

    Przekleństwo, nawet wykropkowane nadal jest przekleństwem. Usunąłem newralgiczny wpis i proszę nie stosować tego typu sformułowań.

  • #4 15658860
    WMichał
    Poziom 32  
    Posty: 1629
    Pomógł: 172
    Ocena: 136
    Wpisz vmware-toolbox a nie run vmware-toolbox.
REKLAMA