Txhim kho VDI Duab hauv VirtualBox: Qhov kawg Step-by-Step Guide

Xeem hloov tshiab: 09/09/2025

  • Ntshuam VDI yog txoj hauv kev nrawm rau rov siv cov tshuab uas twb tau teeb tsa hauv VirtualBox.
  • Guest Additions enables clipboard, luag/poob, thiab sib koom folders nrog tus tswv tsev.
  • Bridged network hom integrates VM rau hauv LAN ua lwm lub computer nrog nws tus kheej IP.
  • VBoxManage tso cai rau koj mus txuas VDI thiab hloov mus rau VHD rau mounting lub disk hauv Windows.
Nruab ib daim duab VDI hauv VirtualBox

Yog tias koj ua haujlwm nrog cov tshuab virtual txhua hnub, sai lossis tom qab koj yuav xav tau Nruab ib daim duab VDI hauv VirtualBox tsis nyuaj rau koj lub neej. Importing ib tug twb tsim disk txuag koj lub sij hawm, zam cumbersome reinstallations, thiab, nyob rau hauv lub qhov rais ib puag ncig, txawm tso cai rau koj khaws cia. muaj ntawv tso cai software tsis reactivating nws los ntawm kos.

Hauv phau ntawv qhia no kuv piav qhia meej li cas tsim thiab/los yog import lub tshuab virtual siv VDI, li cas mount ib ISO Yog tias koj xav pib los ntawm kos, thiab yuav ua li cas kho qhov teeb tsa: CPU, network, sib koom folders, Cov qhua ntxiv, clipboard, encryption, cloning, exporting thiab, pab tau heev, ncua lub VDI disk los yog hloov nws mus rau mount ncaj qha rau tus tswv tsev.

VDI yog dab tsi thiab thaum twg koj yuav tsum siv nws?

VDI (Virtual Disk Image) yog ib hom ntawv disk ntawm VirtualBox; hauv nws muaj cov kev khiav hauj lwm, cov kev pab cuam thiab cov ntaub ntawv ntawm VM, yog li ntawd import ib VDI Nws yog sib npaug rau rov siv lub pre-installed installation. Nws yog qhov zoo tshaj plaws thaum koj tau rov nruab koj cov khoom siv, txav tshuab ntawm PCs, lossis xav qhib rub tawm cov tshuab virtual tsis reinstalling dab tsi.

Yog tias koj tuaj ntawm lwm lub platform, VirtualBox kuj txhawb cov disks. VMDK (VMware) thiab VHD (Virtual PC/Hyper-V), yog li koj tuaj yeem qhib lossis hloov lawv raws li qhov xav tau, ua kom koj ib puag ncig yam tsis tau rov ua dua.

virtualbox
VDI duab hauv VirtualBox

Yam yuavtsum tau kawm uantej

Rau cov ntaub ntawv raug ntawm importing ib daim duab VDI, nws yog txaus kom muaj ib tug Linux lossis Windows desktop nrog graphical ib puag ncig thiab Virtualbox raug ntsia. Cov kauj ruam yog xyaum zoo ib yam ntawm txhua qhov distro, piv txwv li nrog VirtualBox ntawm Ubuntu Nws ua haujlwm ib yam li hauv lwm qhov kev faib khoom.

Tsis tas li, xyuas kom koj muaj cov ntaub ntawv .vdi ib ntawm koj lub disk thiab yog tias koj xav coj kom zoo dua ntawm cov yam ntxwv siab heev xws li ntawv teev cia, luag thiab poob lossis sib koom folders, kuj nruab Cov qhua ntxiv nyob rau hauv VM ib zaug koj import los yog tsim lub operating system.

Importing VDI duab rau hauv VirtualBox (ib kauj ruam ntawm kauj ruam)

Nov yog cov txheej txheem ceev tshaj plaws kom tau txais VM uas twb muaj lawm thiab khiav ntawm koj VDI disk. Ua haujlwm ntawm Linux thiab Windows nrog VirtualBox interface tam sim no.

  1. Qhib VirtualBox thiab nyem rau ntawm Tshiab. Nyob rau hauv lub creation qhov rais, sau lub tshuab lub npe thiab xaiv hom thiab version ntawm lub operating system uas muaj cov VDI (piv txwv li, lub qhov rais XP Yog tias koj lub disk tau tsim nrog qhov system).
  2. Kho lub RAM nco nyob ntawm koj tus tswv tsev cov peev txheej. Xaiv tus nqi tsim nyog rau tus qhua OS yam tsis tau tso koj lub computer ua pa luv.
  3. Hauv seem disk, xaiv qhov kev xaiv Siv cov ntaub ntawv virtual hard disk uas twb muaj lawm, nyem lub nplaub tshev icon thiab nrhiav koj cov ntaub ntawv nrog lub .vdi extension. Thaum xaiv, VirtualBox yuav tso saib nws lub npe thiab qhov loj me Kuv tus hlub.
  4. Pulsa Tsim. Nrog rau qhov no, VM cuam tshuam nrog koj VDI thiab koj tuaj yeem tshawb xyuas nws qhov tsis muaj (network, processors, video) ua ntej pib nws. Yog tias txhua yam yog OK, koj yuav muaj imported virtual tshuab thiab npaj mus.
Cov ntsiab lus tshwj xeeb - Nyem qhov no  Qhia tsim lub Windows 11 25H2 installation USB nrog Rufus

Importing ib VDI txuag koj los ntawm redoing tag nrho cov installation, thiab nyob rau hauv cov laus ib puag ncig zoo li lub qhov rais XP, nws yog kub ntshiab yog tias koj cia siab rau cov kev pab cuam uas yuav nyuaj rau reinstall lossis rov qhib dua hnub no.

VirtualBox qhib VDI disk
VDI duab hauv VirtualBox

Tsim lub tshuab virtual los ntawm ISO (yog tias koj xav pib los ntawm kos)

Yog tias tsis yog importing VDI koj xav tau nruab qhov system los ntawm ISOVirtualBox suav nrog tus wizard meej heev. Koj tuaj yeem, piv txwv li, rub tawm Windows ISO nrog Media Creation Tool thiab txuas ntxiv mus.

1) Xovxwm Tsim thiab tom qab ntawd yog tias nws tshwm rau koj, hloov mus rau Hom kws muaj txuj kom muaj tag nrho cov chaw ntawm tes. Lub npe VM, xaiv qhov system hom thiab version, thiab muab RAM nyob ntawm seb koj pab neeg muaj dab tsi.

2) Xaiv Tsim ib lub hard disk tshiab. Raws li hom ntawv, ib txwm yog VDI, txawm tias koj tuaj yeem xaiv VMDK los yog VHD raws li yav tom ntej compatibility.

3) Xaiv Dynamically booked ua kom cov ntaub ntawv loj tuaj thaum koj siv nws (qhov no yog qhov kev xaiv yooj yim tshaj plaws). Txhais lub peev xwm, xaiv lub hom phiaj nplaub tshev nrog rau lub cim sib thooj, thiab nias Tsim.

4) Qhib VM nqis (txoj cai nyem> Teeb) thiab mus rau System> Processor los muab cpu cov. Tom qab ntawd, hauv Cia, xaiv CD icon, nias rau sab xis thiab nyem rau ntawm Xaiv cov ntaub ntawv virtual optical disk mus thauj cov ISO.

5) Txais thiab pib nrog PibLub VM yuav khau raj los ntawm ISO, thiab koj tuaj yeem nruab qhov system ib yam li koj xav tau ntawm lub PC lub cev, ib kauj ruam dhau los thiab tsis muaj qhov xav tsis thoob.

Guest Ntxiv, Shared Folders, thiab Clipboard

Tom qab txhim kho VDI duab hauv VirtualBox, nws tsim nyog ntxiv VirtualBox Qhua Ntxiv. Lawv txhim kho cov duab ua tau zoo, pab kom lub qhov rais dynamic resizing thiab ua kom yooj yim rau ntaub ntawv txauv.

Cov ntsiab lus tshwj xeeb - Nyem qhov no  Linux Mint 22.2 Zara: Tag nrho cov yam ntxwv tshiab, rub tawm, thiab hloov kho cov lus qhia

Shared Folders: Nrog rau VM tawm lossis qhib, mus rau Chaw> Shared Folders, nyem lub icon nplaub tshev nrog "+", xaiv lub host folder, npe nws thiab qhib cov kev xaiv uas koj xav tau (nyeem nkaus xwb, pib-mount, thiab lwm yam).

Clipboard thiab luag / poob: mus rau General > Advanced thiab xaiv Bidirectional ob qho tib si hauv Share Clipboard thiab hauv Drag thiab Drop. Nco ntsoov tias kom nws ua haujlwm ruaj khov koj xav tau Cov qhua ntxiv ntsia hauv tus qhua.

Tus Thawj Saib Xyuas Cov Ntsiab Lus thiab Shortcuts hauv VM

VirtualBox txhais a Tus tswv tsev tseem ceeb rau shortcuts uas tuaj yeem nyiag tus tswv tsev (lub neej ntawd feem ntau yog Ctrl). Los ntawm VM bar, qhib Input> Keyboard thiab pab kom muaj kev sib txuas zoo li Ctrl + kev + Del kom tso lawv rau hauv cov qhua yam tsis muaj kev cuam tshuam rau cov khoom siv lub cev.

Yog tias koj xav tshuaj xyuas lossis hloov kho cov shortcuts, mus rau Keyboard Preferences los ntawm tib cov ntawv qhia zaub mov kom pom tag nrho cov kev sib txuas ua ke thiab ua kom haum lawv kom koj nyiam.

Network hauv VirtualBox: Xaiv txoj cai hom

Lub network yog qhov tseem ceeb thaum txhim kho VDI duab hauv VirtualBox. Qhov no yog kom VM tuaj yeem taug kev lossis koom nrog koj LAN. Chaw> Network Koj tuaj yeem xaiv hom uas haum rau koj cov ntaub ntawv siv.

Muaj kev xaiv: Tsis txuas nrog (tsis muaj net), Neej (los ntawm lub neej ntawd, nws tawm mus rau Is Taws Nem los ntawm tus tswv tsev), NAT Network (zoo li NAT tab sis cia ntau VMs pom ib leeg), choj adapter (VM tau txais IP los ntawm router thiab coj zoo li lwm lub khoos phis tawj ntawm lub network), Sab hauv network (tsuas yog nruab nrab ntawm VMs ntawm tib lub network sab hauv), Tus tswv tsev nkaus xwb adapter (kev sib txuas tshwj xeeb ntawm tus tswv tsev thiab VM) thiab Generic maub los (cov xwm txheej tshwj xeeb).

Txhawm rau muab nws tso rau hauv koj lub chaw ua haujlwm lossis hauv tsev thiab pom nws los ntawm lwm pab pawg, xaiv Choj adapterThaum koj siv qhov kev hloov pauv, koj yuav pom tias lub kaw lus thov kom koj rov txuas dua, thiab tom qab ntawd tam sim ntawd, VM yuav tau txais IP chaw nyob ntawm koj lub router zoo li nws tsuas yog lwm lub PC.

Tswj disks: nthuav ib VDI, ntxiv ib tug thib ob disk, thiab saib qhov chaw disk

Yog tias koj khiav tawm ntawm qhov chaw, koj tuaj yeem ua tau expand VDI lossis ntxiv lwm tus tsav virtual. Nco ntsoov tias rau resizing, nws yog qhov zoo tshaj kom muaj ib qho dynamic disk thiab kom VM powered tawm ua ntej hloov dab tsi.

Txuas lub VDI (Windows): Nrhiav cov ntaub ntawv .vdi thiab ua ib daim ntawv luam theej rau hauv rooj plaub. Qhib lub console hauv VirtualBox installation nplaub tshev (piv txwv li, C:\Program Files\Oracle\VirtualBox) nrog Shift + txoj nyem> Qhib PowerShell qhov rais ntawm no.

Cov ntsiab lus tshwj xeeb - Nyem qhov no  Qhov twg mus download tau PowerPoint templates rau kev nthuav qhia

Khiav qhov resize hais kom ua nrog VBoxManage qhia txoj kev disk thiab qhov loj me tshiab hauv MB:

.\VBoxManage.exe modifyhd "D:\virtual machines\Windows10 x64 Home\Windows10 x64 Home.vdi" --resize 80000

Tom qab ua tiav, pib VM thiab hauv Kev tswj hwm disk Hauv Windows koj yuav pom qhov chaw ntxiv dub; txoj nyem rau ntawm qhov system muab faib thiab xaiv Ntxiv ntim coj kom zoo dua ntawm tag nrho cov tshiab loj.

Ntxiv lub disk thib ob: hauv Nqis> Cia, ntxiv ib lub cuab yeej tshiab (IDE/SATA/SCSI/NVMe) thiab nias Tsim ib lub hard drive. Txhais hom ntawv (VDI), loj, xaiv muaj zog thiab tsim. Nyob rau hauv cov qhua OS, qhib Disk Management, pib lub disk tshiab, tsim ib qho yooj yim ntim, thiab muab nws ib tsab ntawv.

Yog tias tom qab txhim kho cov duab VDI hauv VirtualBox lub ntim tshiab tsis tshwm sim hauv cov ntaub ntawv tshawb nrhiav tam sim ntawd, a VM reboot feem ntau tawm nws pom tam sim ntawd.

Export, ntshuam, clone, thiab qhib VMware disks

Txhawm rau qhia lossis txav VMs ntawm lub platform, VirtualBox tso cai export rau OVF lossis OVA (lub pob tom kawg muab txhua yam rau hauv ib daim ntawv). Mus rau Cov Ntaub Ntawv> Export Virtualized Service, xaiv VM, hom, thiab lo lus uas peb, ntxiv metadata yog tias koj xav tau, thiab nias Export.

Rau cov txheej txheem rov qab, siv File> Ntshuam kev pabcuam virtualized, xaiv OVF/OVA pob thiab ua raws li tus wizard kom txog thaum kev xa mus rau koj lub computer tiav.

Yog tias koj xav tau ib daim qauv zoo tib yam, kaw VM thiab xaiv Clone. Muab nws lub npe thiab kos lub thawv Reset MAC chaw nyob kom tsis txhob muaj kev tsis sib haum xeeb hauv network. Koj yuav muaj ob lub tshuab zoo tib yam npaj ua haujlwm.

Koj puas muaj VMware disk? Nyem rau Tshiab, xaiv Siv cov ntaub ntawv virtual hard disk uas twb muaj lawm thiab xaiv cov .vmd ib. Txhim kho RAM thiab lub npe, thiab tsim VM; VirtualBox qhib VMDK yam tsis muaj teeb meem thiab tso cai rau koj siv koj tus kheej cov kev xaiv.

Tam sim no koj muaj txoj hauv kev rau kev txhim kho VDI duab hauv VirtualBox, sib qhia cov ntaub ntawv, nthuav dav cia, cloning lossis xa tawm cov tshuab, thiab, yog tias xav tau, hloov VDI rau VHD kom nyeem nws cov ntsiab lus ncaj qha ntawm tus tswv tsev. Daim ntawv qhia kev nthuav dav no npog txhua yam los ntawm cov xwm txheej qub (xws li cov cuab yeej cuab tam VMs tsis muaj kev sib txuas lus) mus rau cov kev teeb tsa niaj hnub nrog kev sib txuas sib txuas thiab cov khoom tsim tau zoo ib yam li ob-txoj kev ntawv teev cia.