Uma udala umshini obonakalayo ku-VirtualBox, umsebenzisi kumele acacise inani alifunayo ukuthi alinike izidingo ze-OS yesimenywa. Kwezinye izimo, inani elinikeziwe lama-gigabytes ngokuhamba kwesikhathi lingase liyeke ngokwanele, bese umbuzo wokwandisa inani lokugcina izithakazelo kuzodingeka.
Izindlela zokwandisa usayizi we disk ku-VirtualBox
Akunakwenzeka njalo ukubala ngokunembile usayizi oyoyodingeka emva kokufaka uhlelo ku-VirtualBox. Ngenxa yalokhu, abanye abasebenzisi babhekene nokungabi nesikhala samahhala ku-OS yesimenywa. Kunezindlela ezimbili zokwengeza isikhala samahhala kumshini wangempela ngaphandle kokususa isithombe:
- Ukusebenzisa isevisi ekhethekile kusuka ku-VirtualBox;
- Ukungeza i-diski yesibili yediski eyinkimbinkimbi.
Indlela 1: VBoxManage Utility
I-VirtualBox inobungozi be-VBoxManage ku-arsenal yayo evumela ukuthi wena uphathe ubukhulu be-disk ngelayini lomyalo noma ukugcina ngokuya ngohlobo lwenqubo yokusebenza. Sizocabangela umsebenzi waloluhlelo ku-Windows 10 ne-CentOS. Izimo zokushintsha ivolumu kula ma-OS zimi kanje:
- Ifomethi yesitoreji: okunamandla;
- Uhlobo lweDrayivu: VDI noma i-VHD;
- Isimo somshini: kuvaliwe.
Ngaphambi kokuqala ushintsho, udinga ukwazi ubukhulu obuqondile be-disk OS disk kanye nendlela lapho umshini wokugcina ugcinwa khona. Lokhu kungenziwa nge-VirtualBox Manager.
Ku-bar yemenyu, khetha "Ifayela" > "Umphathi weMedia Virtual" noma uchofoze nje Ctrl + D.
Usayizi obonakalayo uzoboniswa ngokuphambene ne-OS, futhi uma ukhetha ngokuchofoza kwegundane, ulwazi lendawo luzovela ngezansi.
Usebenzisa i-VBoxManage ku-Windows
- Qalisa umyalo wokuyalo ngamalungelo omlawuli.
- Faka umyalo:
I-CD C: Uhlelo Lamafayela Oracle VirtualBox
Lena yindlela ejwayelekile yokufaka i-VirtualBox. Uma ifolda ye-Oracle namafayela ingenye kwenye indawo, ke emva kwe-CD, hlela indawo yayo.
- Uma isiqondisi sishintsha, thayipha umyalo olandelayo:
I-vboxmanage modifyhd "Indlela eya kumshini obonakalayo" - ukubuyiswa kwemali 33792
Isibonelo:
i-vboxmanage modifyhd "D: Virtualbox VMs Windows 10 Windows 10.vdi" - ukubuyisela i-33792
"D: Virtualbox VMs Windows 10 Windows 10.vdi"
- indlela lapho umshini oqobo ugcinwa khona ngesakhiwo .vdi (phawula izingcaphuno - ngaphandle kwazo umyalo ngeke usebenze).- buyisela i-33792
- isici esivezwa isikhala kusukela kumamaki okucaphuna amakhophi wokuvala. Ibonisa usayizi we-disk omusha kuma-megabytes.Qaphela, lesi sici asifaki inombolo ecacisiwe yama-megabytes (kusimo sethu 33792) okhona, kodwa ushintshe usayizi wamanje we-disk. Emshinini we-virtual, okwathathwa njengesibonelo, ngaphambili wawune Usayizi we-disk we-32 GB, futhi ngosizo lwalesisici senyuke sibe ngu-33 GB.
Ngemuva kokushintsha ngempumelelo usayizi we disk, udinga ukulungisa i-OS yangempela ngokwayo, ngoba izoqhubeka nokubona inombolo yangaphambilini ye-GB.
- Qala uhlelo lokusebenza.
- Chofoza Win + R bese ubhala umyalo diskmgmt.msc.
- I diski eyinhloko yemvelo iboniswa nge-blue. Okulandelayo kuyoba yindawo eyengezwe nge-VBoxManage esetshenziswayo - ibhalwe abamnyama futhi inesimo "Akunakwa". Lokhu kusho ukuthi indawo ekhona, kodwa empeleni ayikwazi ukusetshenziswa, isibonelo, ukugcina idatha.
- Ukwengeza le volumu esikhaleni esisebenzayo, chofoza ku-main disk (ngokuvamile C :) nge inkinobho kwesokudla bese ukhetha okukhethwa kukho "Nweba Ivolumu".
- IWizard isebenza ngeminingi.
- Ungashintshi izilungiselelo uma ufuna ukungeza endaweni yonke engabelwe indawo, bese uya esiteji esilandelayo.
- Chofoza "Yenzelwe".
- Manje ungabona ukuthi (C :) isibe ngu-1 GB ngaphezulu, okwakungazange kusakazwe ngaphambili, futhi indawo ephawulwe emnyama iye yanyamalala. Lokhu kusho ukuthi i-disk ye-virtual iye yanda ngesayizi futhi ingaqhubeka isetshenziswe.
Izenzo ezengeziwe zingenzeka kuphela ku-Windows 7 nangaphezulu. I-Windows XP ayisekeli ikhono lokukhulisa ivolumu, ngakho kuzodingeka usebenzise izinsiza zomphakathi zangaphandle njenge-Acronis Disk Director.
Usebenzisa i-VBoxManage ku-Linux
Uzodinga amalungelo okuxhuma ukusebenza ne-terminal kanye ne-utility ngokwayo.
- Bhalisa iqembu
uhlu lwama-vboxmanage -l hdds
- Emgqeni we-UUID, kopisha inani bese ulinamathisela kulo myalo:
i-vboxmanage modifyhd YOUR_UUID - buyisela 25600
- Sebenzisa uhlelo losizo lwe-GParted Live. Ukwenza kube lula, ku-VirtualBox Manager, iya kuzilungiselelo zomshini.
- Shintshela esigabeni "Abathwali"futhi ku "Umlawuli: IDE" Engeza i-GParted Live elayishiwe. Ukwenza lokhu, chofoza "Ungenalutho" futhi ngakwesokudla, khetha isithombe se-disk optical ne-GParted yesevisi, njengoba kuboniswe ku-skrini.
- Londoloza izilungiselelo bese uqala umshini.
- Kumenyu yokuqalisa, khetha "I-GParted Live (Izilungiselelo Ezizenzakalelayo)".
- I-configurator ikukhuthaza ukuba ukhethe isakhiwo. Lolu khetho alubalulekile ekukhuliseni i-disk, ngakho-ke ungakhetha noma iyiphi inketho.
- Cacisa ulimi olufunayo ngokufaka inombolo yalo.
- Uma ubuzwa ngemodi yakho oyithandayo, faka impendulo. "0".
- I-GParted izoqala. Zonke izingxenye zizoboniswa efasiteleni, kufaka phakathi indawo engeziwe nge-VBoxManage.
- Chofoza ngakwesokudla kuhlelo lokuhlukanisa ukuvula imenyu yemongo (ngokuvamile i-sda2), bese ukhetha "Hlela isigaba noma uhambise".
- Ukusebenzisa insimu noma inkambu yokufakwayo, setha ivolumu ofuna ukuyandisa isigaba. Ukwenza lokhu, thuthela isilayidi ngakwesokudla:
Kungenzeka ensimini "Usayizi omusha" faka inombolo ekhonjisiwe emgqeni "Ubukhulu obukhulu".
- Lokhu kuzokwenza ukuhlela okuhleliwe.
- Ku-barbar yamathuluzi, chofoza Hlela > "Faka yonke imisebenzi" noma uchofoze ekusebenzeni okuhleliwe kunayo yonke inkinobho yegundane kwesokudla bese ukhetha uhlelo lwakho lokusebenza.
- Ewindini lokuqinisekisa, chofoza "Faka isicelo".
- Intuthuko izoboniswa efasiteleni elihlukile.
- Lapho uqedile, uzobona ukuthi usayizi we disk virtual uye waba mkhulu.
- Ungavimbela umshini we-virtual bese ususa imidiya ye-GParted Live kusuka kuzilungiselelo zayo zokuqalisa.
Ku-Linux, akunakwenzeka ukwandisa ukwahlukanisa ngenkathi i-OS ngokwayo isebenza.
Indlela yesi-2: Yakha idrayivu yesibili ye-virtual
Indlela yokuguqula usayizi we disk usebenzisa isevisi ye-VBoxManage akuyona yedwa futhi ayikho ephephile. Kulula kakhulu ukuxhuma idrayivu yesithathu yomshini kumshini owakhiwe.
Yiqiniso, kunengqondo ukwakha i-disk yesibili kuphela uma uhlela ukukhulisa kakhulu amandla okushayela, futhi ungahle uhlele ukugcina amafayela amakhulu.
Futhi, cabangela indlela yokwengeza idrayivu kwizibonelo ze-Windows 10 ne-CentOS.
Idala idrayivu eyengeziwe ku-VirtualBox
- Khetha umshini we-virtual bese uchofoza inkinobho kubha yamathuluzi. "Yenza ngokwezifiso".
- Shintshela esigabeni "Abathwali"Chofoza kusithonjana ukudala i-HDD entsha entsha bese ukhetha "Engeza i-hard drive".
- Ewindini lombuzo, sebenzisa inketho "Dala i-disc entsha".
- Uhlobo lweDrayivu - I-VDI.
- Ifomethi - Dynamic.
- Igama nosayizi - ngokuqonda kwakho.
- I-disk yakho izovela kuhlu lwezindaba zokugcina, londoloza lezi zilungiselelo ngokuchofoza "Kulungile".
Ixhuma idiski ebonakalayo ku-Windows
Ngemva kokuxhuma i-drive, le-OS ngeke isabone i-HDD eyengeziwe, njengoba ingakaqaliswa.
- Qala umshini we-virtual.
- Chofoza Win + Rfaka ithimba diskmgmt.msc.
- Kufanele ube nokusebenza kwewindi okudinga ukuqaliswa. Ungashintshi izilungiselelo bese uchofoza "Kulungile".
- I-drive entsha izovela phansi kwefasitela, kepha indawo yayo ayibandakanyekile. Ukuze uyinike amandla, chofoza ngakwesokudla igundane "Yakha ivolumu elula".
- Insiza ekhethekile izovuleka. Ewindini elamukelekayo, chofoza "Okulandelayo".
- Ungashintshi izilungiselelo ngalesi sigaba.
- Khetha incwadi yevolumu noma uyigcine ngokuzenzakalelayo.
- Izinketho zokufometha azikwazi ukuguqulwa. Uma ufisa, ensimini "I-Volume Tag" Ungafaka igama (ngokuvamile igama elithi "I-disk yendawo").
- Chofoza "Yenzelwe".
- Isimo seDrayivu sizoshintsha futhi sizoqaphela uhlelo.
Manje i-disk ibonakala ku-Explorer futhi ilungele ukusebenza.
Ixhuma idiski ebonakalayo ku-Linux
Ngokungafani nokwabiwa kweWindows, i-Linux akudingeki ukuqalisa ukushayela. Ngemuva kokudala nokuxhuma i-disk kumshini we-virtual, uhlala ukuhlola ukuthi konke kwenziwa kahle.
- Qala i-OS evamile.
- Vula noma iyiphi insiza yokuphatha i-disk elula bese ubona ukuthi i-drive edalwe nexhunyiwe iboniswa lapho.
- Isibonelo, ohlelweni lwe-GParted, udinga ukushintsha kusuka kuhlelo lokuhlukanisa / dev / sda kuya / dev / sdb - lokhu kuyidrayivu exhunyiwe. Uma kunesidingo, ingafomathwa futhi yenza ezinye izilungiselelo.
Lezi yizinketho ezivame kakhulu futhi ezilula zokukhulisa ubukhulu be-disk machine disk ku-VirtualBox. Ungakhohlwa ukwenza amakhophi wokulondoloza amahlelo abalulekile okusebenza uma unquma ukusebenzisa i-VBoxManage utility, futhi uqiniseke ukuthi i-disk esemqoka, kusukela lapho isikhala esabiwe khona nge-virtual drive, sinesikhala esanele samahhala.