Lokacin ƙirƙirar inji mai mahimmanci a VirtualBox, dole ne mai amfani ya ƙayyade adadin da yake so ya ware don bukatun OS ɗin mai baka. A wasu lokuta, adadin yawan gigabytes a tsawon lokaci na iya dakatar da isasshen, sannan tambaya ta kara yawan adadin ajiyar ajiya zai dace.
Hanyoyi don ƙara girman girman faifai a VirtualBox
Ba koyaushe yana iya lissafin girman da za a buƙata ba bayan shigar da tsarin a VirtualBox. Saboda wannan, wasu masu amfani suna fuskanci rashin sarari a cikin bakon OS. Akwai hanyoyi biyu don ƙara sararin samaniya zuwa na'ura mai mahimmanci ba tare da share hoto ba:
- Yin amfani da mai amfani na musamman daga VirtualBox;
- Ƙara wani ɓangare na biyu mai mahimmanci.
Hanyar 1: Taswirar VBoxManage
VirtualBox yana da mai amfani na VBoxManage a cikin arsenal wanda ya ba ka damar sarrafa yawan ƙananan fayiloli ta hanyar layin umarni ko m dangane da irin tsarin aiki. Za mu bincika aikin wannan shirin a Windows 10 da CentOS. Yanayin canza matakan cikin wadannan OSs kamar haka:
- Tsarin tsarin: tsauri;
- Nau'in Drive: VDI ko VHD;
- Yanayin na'urar: kashe.
Kafin farawa canjin, kana buƙatar sanin ainihin girman mai kwakwalwar OS da kuma hanyar da aka adana kayan inji. Wannan za a iya yi ta hanyar VirtualBox Manager.
A mashaya menu, zaɓi "Fayil" > "Virtual Media Manager" ko kawai danna Ctrl + D.
Za a nuna girman girman da aka yi a gaban OS ɗin, kuma idan ka zaɓi shi tare da maɓallin linzamin kwamfuta, bayanin bayanan zai bayyana a kasa.
Amfani da VBoxManage a Windows
- Gudun umarni da sauri tare da haƙƙin gudanarwa.
- Shigar da umurnin:
CD C: Shirin Fayiloli Oracle VirtualBox
Wannan hanya ce mai kyau don shigar da VirtualBox. Idan babban fayil na Oracle tare da fayilolin yana cikin wani wuri, to, bayan CD, zaɓi wurinsa.
- Lokacin da shugabanci ya sauya, rubuta umarnin da ya biyo baya:
vboxmanage modifyhd "Hanyar zuwa na'ura mai mahimmanci" - raya 33792
Alal misali:
vboxmanage modifyhd "D: Virtualbox VMs Windows 10 Windows 10.vs" - saita 33792
"D: VirtualBox VMs Windows 10 Windows"
- hanyar da na'urar da aka tsara ta kanta an adana a cikin tsari .vdi (lura da sharudda - ba tare da su ba umarni ba zai aiki ba).- saita 33792
- wani sifa wanda aka sanya ta cikin sararin samaniya daga alamar rufewa. Yana nuna sabon nau'i a cikin megabytes.Yi hankali, wannan sifa bazai ƙara ƙayyadadden ƙwayoyin megabytes (a cikin shari'armu 33792) zuwa wanda yake da shi ba, amma ya sake canza girman girman fadin yanzu. A cikin na'ura mai kwakwalwa, wadda aka ɗauka a matsayin misali, a baya yana da girman girman CD 32, kuma tare da taimakon wannan alamar an ƙãra zuwa 33 GB.
Bayan an canza nasarar girman girman disk, kana buƙatar daidaita tsarin OS wanda yake da kanta, tun da zai ci gaba da ganin lambar GB da ta gabata.
- Fara tsarin aiki.
- Danna Win + R kuma rubuta umarnin diskmgmt.msc.
- Fuskar ta farko mai mahimmanci an nuna shi a cikin blue. Kusa da shi zai zama yankin da aka ƙara ta amfani da mai amfani VBoxManage - ana alama a baki kuma yana da matsayi "Ba a rarraba". Wannan yana nufin cewa a halin yanzu akwai yanki, amma a gaskiya ba za a iya amfani da shi ba, alal misali, don adana bayanai.
- Don ƙara wannan ƙarar zuwa sararin samaniya na aiki, danna kan babban faifai (yawanci C :) tare da maɓallin dama kuma zaɓi zaɓi "Ƙara Ƙarar".
- Wizard yayi aiki tare da kundin.
- Kada ku canza saitunan idan kuna son ƙarawa zuwa duk yankunan da ba'a daɗewa, kuma ku je mataki na gaba.
- Danna "Anyi".
- Yanzu za ku ga cewa (C :) ya zama daidai 1 GB mafi, wadda ba a rarraba a gabani ba, kuma yankin da aka nuna a baki ya ɓace. Wannan yana nufin cewa ƙirar taɗi ta ƙãra girma kuma zai iya ci gaba da amfani dashi.
Ƙarin ayyuka suna yiwuwa ne kawai a Windows 7 da sama. Windows XP bata goyon bayan ikon fadada ƙararrakin, saboda haka kuna buƙatar amfani da kayan aiki na ɓangare na uku kamar Acronis Disk Director.
Amfani da VBoxManage a cikin Linux
Kuna buƙatar 'yancin haɓaka don aiki tare da m da mai amfani da kanta.
- Yi rijista
vboxmanage list -l hdds
- A cikin layin UUID, kwafin darajar kuma manna shi cikin wannan umurnin:
vboxmanage modifyhd YOUR_UUID --Sizeize 25600
- Gudun mai amfani da GParted Live. Don yin shi mai yawa, a cikin VirtualBox Manager, je zuwa saitunan na'ura.
- Canja zuwa sashe "Masu sufuri"da kuma cikin "Mai sarrafawa: IDE" Ƙara GParted Live da aka sauke. Don yin wannan, danna kan "M" da kuma a gefen dama, zaɓi siffar na'urar mai amfani tare da mai amfani GParted, kamar yadda aka nuna a cikin hoton.
- Ajiye saitunan kuma fara na'ura.
- A cikin taya menu, zaɓi "GParted Live (Saitunan Saiti)".
- Mai ba da labari yana tayar da ku don zaɓin layout. Wannan zaɓi bai da muhimmanci ga girman fadada, saboda haka zaka iya zaɓar kowane zaɓi.
- Saka harshen da ake so ta shigar da lambarta.
- Lokacin da aka tambayeka game da yanayin da kake so, shigar da amsar. "0".
- GParted zai fara. Za a nuna duk sassan a cikin taga, ciki har da yankin da aka kara ta hanyar VBoxManage.
- Danna-dama a kan ɓangaren tsarin don buɗe menu mahallin (yawanci sda2), kuma zaɓi "Shirya sashe ko motsa".
- Amfani da maɓalli ko shigarwa, saita ƙarar da kake son fadada sashe. Don yin wannan, matsa motsi zuwa dama:
Ko a cikin filin "Sabuwar Girman" shigar da lambar da aka nuna a layin "Girman Tsakanin".
- Wannan zai haifar da aikin da aka tsara.
- A kan kayan aiki, danna Shirya > "Aiwatar da duk ayyukan" ko kuma danna maɓallin shirye-shiryen da aka tsara tare da maɓallin linzamin kwamfuta na dama kuma zaɓi aikace-aikace.
- A cikin tabbaci, danna kan "Aiwatar".
- Za a nuna ci gaba a cikin ɗakin raba.
- Bayan kammala, zaku ga cewa girman girman faifai ɗin ya zama ya fi girma.
- Zaka iya kashe na'ura mai kwakwalwa kuma cire Mai watsa labarai GParted Live daga saitunan taya.
A cikin Linux, ba shi yiwuwa a fadada wani bangare yayin da OS kanta ke gudana.
Hanyar 2: Ƙirƙirar maɓallin kamara na biyu
Yadda za a canza girman girman girman ta hanyar amfani da mai amfani VBoxManage ba kawai ba ne kuma ba safest ba. Yana da sauƙin yin haɗi da na'ura mai kwakwalwa ta biyu zuwa na'ura mai haɓaka.
Hakika, yana da mahimmanci don ƙirƙirar kundi na biyu idan kawai kuna daɗaɗa don ƙara ƙarfin kullun, kuma kada ku yi shirin adana babban fayil (s).
Bugu da ƙari, la'akari da hanyar daɗa kaya akan misalai na Windows 10 da CentOS.
Ƙirƙira ƙarin ƙira a VirtualBox
- Zaɓi na'ura mai mahimmanci kuma danna kan maballin akan kayan aiki. "Shirye-shiryen".
- Canja zuwa sashe "Masu sufuri"Danna kan gunkin don ƙirƙirar sabuwar HDD mai kyau kuma zaɓi "Ƙara kundin drive".
- A cikin tambaya tambaya, yi amfani da zabin "Ƙirƙiri wani sabon disc".
- Fitar Fitar - VDI.
- Tsarin - Dynamic.
- Sunan da girman - a hankali.
- Fayil ɗinka zai bayyana a cikin jerin jaridun ajiya, ajiye waɗannan saituna ta danna kan "Ok".
Haɗa wani faifan maɓalli a cikin Windows
Bayan haɗa na'urar, wannan OS ba zai ga ƙarin HDD ba, tun da ba a fara ba.
- Fara da kayan aiki mai mahimmanci.
- Danna Win + Rshigar da tawagar diskmgmt.msc.
- Ya kamata ku sami gilashin taga da ke buƙatar farawa. Kada ku canza saitunan kuma latsa "Ok".
- Sabuwar magungunan za ta bayyana a kasa na taga, amma yankinsa bai riga ya shiga ba. Don taimakawa, dama danna linzamin kwamfuta "Ƙirƙiri ƙaramin ƙara".
- Mai amfani na musamman zai bude. A cikin taga maraba, danna "Gaba".
- Kada ku canza saitunan a wannan mataki.
- Zaɓi rubutun ƙarawa ko kiyaye shi ta hanyar tsoho.
- Za'a iya canza zaɓuɓɓukan tsarawa. Idan ana so, a filin "Tag na Gida" Zaka iya shigar da suna (yawanci sunan "Filayen Yanki").
- Danna "Anyi".
- Matsayin motsawa zai canza kuma tsarin zai gane shi.
Yanzu faifai yana bayyane a cikin Explorer kuma yana shirye don aiki.
Haɗa wani faifan maɓalli a cikin Linux
Ba kamar Windows ba, rabawa na Linux baya buƙatar shigar da tafiyarwa. Bayan ƙirƙira da haɗin faifan zuwa na'ura mai mahimmanci, ya kasance don bincika ko duk abin da aka aikata daidai.
- Fara tsarin OS mai kwakwalwa.
- Bude duk wani mai amfani mai amfani da kwakwalwa kuma duba idan an nuna kirkirar da aka haɗa da shi a can.
- Alal misali, a cikin shirin GParted, kana buƙatar canza daga / dev / sda ɓangaren zuwa / dev / sdb - wannan ita ce na'urar da aka haɗa. Idan ya cancanta, za'a iya tsara shi kuma ya yi wasu saitunan.
Wadannan sune mafi dacewa kuma mafi dacewa don zabin ƙara girman girman na'ura mai mahimmanci a VirtualBox. Kada ka manta da su yin ajiyar ajiyar mahimman tsarin aiki idan ka yanke shawarar amfani da mai amfani VBoxManage, kuma ka tabbata cewa babban faifai, daga inda aka ba da sarari ga maɓallin kama-da-wane, yana da sarari maras kyauta.