Yandisa ubungakanani Idiski VirtualBox

Ukusuka Windows 10, indlela ukwandisa disk of a Ubuntu Linux virtualized (.vdi) usando Oracle VM VirtualBox? Bona indlela 2 izinyathelo!

virtualboxlogo

ingxaki

Xa inkqubo yokusebenza virtualized, kuyinto eqhelekileyo ukuba Uphelelwe indawo kwi diski emva updates ezilandelelanayo.

Esi sithuba lubonisa oku kulandelayo imbonakalo yelizwe: kwi Windows 10, siya kwandisa virtualized Ubuntu Linux (.vdi) ukwenza Oracle VM VirtualBox.

isisombululo

ngokufutshane, sonke kufuneka uyenze iqhutywa umyalelo nge yesiphelo (Cmd) for (step 1) ukunyusa ubungakanani disk virtual kunye (step 2) ngoko ukwandisa ulwahlulo kunye GParted. Ngena ku:

step 1 | Yandisa ubungakanani virtual disk of VM wakho

1.1 Vula Cmd njenge Umphathi Terminal
kuba lo, uchwetheza kwi Windows search “Cmd” xa ubona ithuba Umyalelo oboqayo, nqakraza kuyo nge ekunene iqhosha kwaye khetha “Sebenza njenge umphathi“.

1.2 Ndwendwela VirtualBox ufakelo ulawulo lwakho
No Cmd, endaweni wena kufakelo ulawulo lwakho VirtualBox, iyakwazi C:\Iifayili Inkqubo Oracle VirtualBox:

  cd C:\Iifayili Inkqubo  Oracle  VirtualBox

1.3. Ukusebenzisa umyalelo ukunyusa ubungakanani virtual disk of VM wakho

ngaphambi koko, ukuba asazi apho VM yakho basinde kwi computer, nje jonga kwi VirtualBox kwaye khangela ukuba ifayile .vdi, ngokomthetho ukulandela:

izicwangciso > indawo yokubeka > umzali: wada wabiliswa uphela > [SuaVM].vdi > ulwazi > indawo (umzekelo: D:\VM  Ubuntu  Ubuntu.vdi)

Idilesi ye lakho .vdi Akukho phawu “indawo” (D:\VM Intel Ubuntu.vdi):
vmbox2

ke yes! Le nkcazelo lwefayile .vdi, run nje umyalelo:

  VBoxManage modifyhd D:\VM  Ubuntu  Ubuntu.vdi --ukukhulisela 20480

liphawule:
– Buyisela “D:\VM Intel Ubuntu.vdi” umendo .vdi yakho. Kulo mzekelo ndiya ukwandisa kwidisk 20GB (20GB x 1024mb = 20480).
– Qaphela ukuba ekuqaleni “ubukhulu virtual” yi 12gb no 20gb isiphelo ukufikelela ebikunqwenela.

Emva koko funda njani ke yonke STEP 1:
vmbox1

 

step 2 | Yandisa ulwahlulo yonke disk wadala

Ukuqonda isisombululo:
Oku libonakala liyinqaba, kodwa ukuba ngoku diski enkulu, Oko akuthethi ukuba inkqubo wefayile othatha yonke indawo efumanekayo.

Thatha ujongo kwi lo mfanekiso ungezantsi uze ubone indlela drive. Qaphela ukuba umele 8GB free, leyo kanye isithuba ukuba sandise, kuphela ukuba akaxakekanga:

vmbox3

Umbuzo apha: nendlela yokudibanisa abo 11GB kunye 8GB ukuba ukwahlukanisa “elandisiweyo + yokutshintshana” Kuyinto elungileyo phakathi?

kakuhle, ukusombulula le, uya ukucima (uze lokuphinda) ulwahlulo yokutshintshana nezalamane usebenzisa Gparted.

2.1 Instale o GParted
In Ubuntu search, khangela “software”. Nqakraza i Ubuntu Software uze ufune GParted, ngelo xesha, uyifake!
vmbox4

2.2 Susa swap ulwahlulo + Ukumatanisa

olunokwazisa, ukususa ulwahlulo Ukwabelana kwaye ke Ukumatanisa leyo phakathi ulwahlulo yakho yokuqala (konogumbe) kunye nendawo ntsha (uthulule), ukuze ukuba ibloko enkulu indawo ezingabiwanga, njengoko kubonisiwe kumfanekiso:
vmbox5

2.3 Yandisa ulwahlulo yokuqala
Ukusebenzisa le resource lomzobo GParted (Isiqendu / Move), beka mouse kwi umsantsa phakathi umnqongo utsale ulwahlulo yokuqala (ukusuka ekhohlo ukuya ekunene) on indawo ezingabiwanga, kusale nje isithuba kamva ufake i yokutshintshana.

Kwimeko yam, Endayishiya ekupheleni indawo ezingabiwanga (uthulule), omnye isithuba 2048mb lokuphinda yokutshintshana, zimelwe lesishwankathelo blue ukukhanya eboniswe ngasentla.

2.4 Phinda-ukudala isahlulelo esandisiweyo + Ukwabelana
Cofa isithuba ezingabiwanga ukuba zibhalise uze udale kuqala isahlulelo esandisiweyo kwaye ke Tshintsha.

vmbox7

Ukukhangela iziphumo

Ukuthelekisa ekuqaleni amanani Post kunye namanani ngezantsi, sibona ukuba zombini i-Ubuntu Disk Manager njengoko Virtual Box zibonisa ukuba wavuka ngenxa i kulindeleke.

Ubuntu Disk Manager:
vmbox9

Ibhokisi virtual:
vmbox8

nokuba, lo wenza!

Lonke Ufumaniso: 21829

21 ncomo “Yandisa ubungakanani Idiski VirtualBox

      • Alex wathi:

        Yinto 'yoko indlela (indlela) koomatshini zakho ze desktops iqulethe indawo engenanto. Ndaba ingxaki efanayo yaye isonjululwe ukuthatha indawo, kwaye emva kokuba ukulungele inkqubo, space recoloquei, kodwa njengokuba VirtualBox akaboni indawo koomatshini.
        umzekelo:
        C:\Abasebenzisi admin VirtualBox VMS Windows Windows.vdi
        Yiya kwincwadi eneenkcukacha, igama uze ususe le ingenanto. Emva ke ngoko umyalelo:
        C:\Abasebenzisi admin VirtualBoxVMS Windows.vdi Windows
        Lwakugqitywa, igama kwakhona kwaye endaweni isithuba engenanto kwi eneenkcukacha.

  1. Fernando Tremonti wathi:

    Apha ayizange yenzeke:

    D:\Iifayili Inkqubo Oracle VirtualBox>VBoxManage modifyhd D:\VirtualBoxVMs Development Desenvolvimento.vdi –ukukhulisela 51200
    VBoxManage.exe: imposiso: Ayikwazi ukubhalisa i hard diski 'D:\VirtualBoxVMs Development Desenvolvimento.vdi’ {0d46624b-3753-40d0-a025-9f1f784e9885} ngokuba disk hard 'D:\VirtualBox VM Development Desenvolvimento.vdi’ ne UUID {0d46624b-3753-40d0-a025-9f1f784e9885} sele ihlala
    VBoxManage.exe: imposiso: iinkcukacha: code E_INVALIDARG (0x80070057), ngxenye VirtualBoxWrap, interface IVirtualBox, callee IUnknown
    VBoxManage.exe: imposiso: Context: “OpenMedium(Bstr(pszFilenameOrUuid).iluhlaza(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())” elayinini 179 zefayile VBoxManageDisk.cpp

    naziphi na iingcebiso?

    • francisco wathi:

      zama oku:
      VBoxManage modifyhd “D:\VirtualBoxVMs Development Desenvolvimento.vdi” –ukukhulisela 51200

      Ngaba hyphens ezimbini umkhosi “–ukukhulisela”

  2. Thiago wathi:

    Apha inxalenye ukwandisa umsebenzi HD ebonakalayo, ibhokisi virtual ibonisa ngokuchanekileyo ubukhulu ekhethiweyo, kodwa xa bengena VM HD iyaqhubeka kunye nobungakanani endala… Nkqu GParted alubonisi ubungakanani entsha njenge lolaleliso okanye nantoni na.

  3. gabriel Gomes wathi:

    Galera ukuba parameter TA unalo ayisebenzi ingxaki

    “impazamo yokuma kwezivakalsi: parameter engasebenziyo 'VM Ubuntu Ubuntu.vdi'”

    wabeka nje String indlela, ngamanye amazwi, kuchaphulo olu phindwe kabini!!

    umbulelo!

  4. Nilson wathi:

    Enkosi naye yoncedo, Wandihlangula kumsebenzi, ukususela ukubuyiselwa ngu Acronis Ndasebenzisa 15GB oku kwaye ihlaziywa zonke Windows kunye umnatha apha kummandla ngcolile…..

  5. Thiago Silva wathi:

    namanenekazi,

    Ndizama ukwenza le nkqubo kwaye enze eli impazamo ngezantsi:

    (ngaphandle kokucaphula)
    C:\Iifayili Inkqubo Oracle VirtualBox>VBoxManage modifyhd C:\Abasebenzisi Thiago Documents
    \VirtualBoxVMs Windows7 Windows7.vdi –ukukhulisela 102400
    VBoxManage.exe: imposiso: Ayikwazi ukubhalisa i hard diski 'C:\Abasebenzisi Thiago Documents
    VirtualBoxVMs Windows7 Windows7.vdi’ {b3c1079d-aphelile-4a24-B10A-16d41a723da7} scholarship
    sebenzisa i hard diski 'C:\Users\thiago\Documents\VirtualBox VMs\Windows 7\Windows 7.vd
    i’ ne UUID {b3c1079d-aphelile-4a24-B10A-16d41a723da7} sele ihlala
    VBoxManage.exe: imposiso: iinkcukacha: code E_INVALIDARG (0x80070057), ngxenye Virtua
    lBoxWrap, interface IVirtualBox, callee IUnknown
    VBoxManage.exe: imposiso: Context: “OpenMedium(Bstr(pszFilenameOrUuid).iluhlaza(), enmDe
    vType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())” elayinini 179 of
    ifayile VBoxManageDisk.cpp

    (kunye ulifake)
    C:\Iifayili Inkqubo Oracle VirtualBox>VBoxManage modifyhd “C:\Users\Thiago\Document
    s\VirtualBoxVMs\Windows7\Windows7.vdi” –ukukhulisela 102400
    VBoxManage.exe: imposiso: Ayikwazi ukubhalisa i hard diski 'C:\Abasebenzisi Thiago Documents
    VirtualBoxVMs Windows7 Windows7.vdi’ {b3c1079d-aphelile-4a24-B10A-16d41a723da7} scholarship
    sebenzisa i hard diski 'C:\Users\thiago\Documents\VirtualBox VMs\Windows 7\Windows 7.vd
    i’ ne UUID {b3c1079d-aphelile-4a24-B10A-16d41a723da7} sele ihlala
    VBoxManage.exe: imposiso: iinkcukacha: code E_INVALIDARG (0x80070057), ngxenye Virtua
    lBoxWrap, interface IVirtualBox, callee IUnknown
    VBoxManage.exe: imposiso: Context: “OpenMedium(Bstr(pszFilenameOrUuid).iluhlaza(), enmDe
    vType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())” elayinini 179 of
    ifayile VBoxManageDisk.cpp

    kwaye kwenzeka iphutha elifanayo, Ukuba bakuncede kule meko?

    • francisco wathi:

      zama oku:

      VBoxManage modifyhd "C:\Abasebenzisi Thiago Documents VirtualBoxVMs Windows7 Windows7.vdi " –ukukhulisela 102400

      Ngaba hyphens ezimbini umkhosi “–ukukhulisela”

  6. abangaziwayo wathi:

    Detalhando um pouco somente para quem tiver os problemas parecidos com o meu:
    Fui testar hoje e a 2ª parte do comando mudou de “modifyhd” for “modifymedium”. O próprio erro que dá, indica o comando certo.
    Tentei tbm colocando aspas no caminho completo e não deu certo (não procurei o motivo do erro). Como a opção anterior não funcionou, como segunda opção tive que substituir os espaços vazios que existiam, entre os nomes separados, por um carácter qualquer tipo o_”.
    umzekelo: DeVirtual Machines” for “Virtual_Machines” (depois de aplicado o redicionamento do hd, voltei os nomes como estavam antes).

    Obs.: Antes de tudo, como o comando não estava sendo enxergado, depois de localizá-lo na pasta do VirtualBox, tive que indicar o caminho dele com o comando “indlela” no prompt (tbm pode fazer isso de forma definitiva na propriedades do sistema).
    umzekelo: path=C:\Iifayili Inkqubo Oracle VirtualBox

    E por último, agradeço o postagem do site, pois me ajudou, enkosi.

Shiya Phendula

Idilesi yakho ye email abayi kupapashwa. amasimi ezifunekayo ziyaphawulwa ngokuzibhala *