這是歷史版本頁面 — 看 Oracle VM VirtualBox 最新版本

Windows上想跑Linux系統,Oracle VM VirtualBox能幫什麼

Oracle VM VirtualBox 軟體圖示 Oracle VM VirtualBox 89960 資料更新 2013-10-16 閱讀約 7 分鐘

你手上這台電腦裝的是 Windows,但某天你突然需要一個 Linux 環境——可能是要跑某支只出 Linux 版的工具、想練習伺服器指令,或者只是想看看別的系統長什麼樣子。你不想重開機切換、更不想把整台電腦格式化重灌,你只想在現在這個 Windows 桌面裡,再開一個視窗,裡面跑另一個系統。

最直覺的做法是裝雙系統,但雙系統要分割硬碟、重開機才能切換,而且切過去就暫時用不到 Windows 這邊的檔案和程式。另一種做法是再買一台電腦,但為了偶爾的需求多花一筆錢,怎麼想都不划算。這類工具的切入點是:用軟體在現有系統裡模擬出一台「虛擬電腦」,把另一個系統裝在那台虛擬電腦裡,兩個系統同時開著、隨時切換,檔案也能互通。

Oracle VM VirtualBox 操作介面
Oracle VM VirtualBox 的操作介面

01VirtualBox到底能拿來做什麼?

它讓你在現有的 Windows 系統裡,用軟體模擬出一台虛擬電腦,再在那台虛擬電腦裡安裝其他作業系統,例如 Linux 或更舊版的 Windows。裝好之後,你可以同時開著原本的系統和虛擬系統,不用重開機就能切換。開發者常用它來測試軟體在不同系統的相容性,一般使用者也可以拿來試用沒用過的系統,或把特定工作隔離在虛擬環境裡。

02它跟直接裝雙系統有什麼不同?

雙系統是硬碟分割成兩個區域,一次只能開一個系統,要切換就得重開機。VirtualBox 的做法是讓虛擬系統像一般應用程式一樣,開在 Windows 桌面的一個視窗裡,兩個系統同時運行。好處是切換不用重開機,而且虛擬系統只是幾個檔案,不滿意隨時可以刪掉重來,不影響原本的 Windows。代價是虛擬系統會跟你搶記憶體和 CPU,電腦不夠力的話會明顯變慢。

03能不能在Windows上跑macOS?

官方說明提到,在 VirtualBox 上跑 macOS 技術上可行,但沒有正式支援,需要額外設定和調整,而且 Apple 的授權條款有法律限制。如果你只是好奇想試試,可以自己研究看看,但遇到問題不會有官方技術支援。如果你是真的需要 macOS 環境來開發或測試,建議先確認授權問題,再考慮其他方案。

Oracle VM VirtualBox 介面畫面 2
Oracle VM VirtualBox 介面畫面

04虛擬機器之間能不能互相連線?

可以。它提供多種網路模式,包括 NAT、橋接網路和內部網路。NAT 適合虛擬機器需要上網但不需要被外部連線的狀況;橋接網路會讓虛擬機器直接取得區域網路的 IP,像一台實體電腦一樣跟其他裝置互通;內部網路則讓多台虛擬機器之間互相通訊,但不對外連線。設定在每台虛擬機器的設定選單裡,可以依需求切換。

05檔案怎麼在Windows和虛擬系統之間互傳?

有兩種主要方式。第一種是共享資料夾:在虛擬機器的設定裡指定一個 Windows 資料夾,裝好 Guest Additions 之後,虛擬系統裡就會看到這個資料夾,兩邊都能存取。第二種是共享剪貼簿:啟用之後,在 Windows 複製的文字可以直接貼到虛擬系統裡,反過來也行。這兩種功能都需要先安裝 Guest Additions,它是一包驅動程式和系統工具,官方建議裝完虛擬系統後就安裝。

06開發者拿它來測軟體夠用嗎?

對多數開發測試場景來說夠用。它支援快照功能,可以在某個狀態下拍一張快照,之後不管怎麼改、怎麼弄壞,都能一鍵回到快照時的狀態,很適合拿來測試安裝程式或實驗設定。它也提供命令列介面,進階使用者可以寫腳本批次建立、啟動、關閉虛擬機器,一次管理多台。不過如果你要測的是高效能運算或需要大量 3D 繪圖的軟體,它的 3D 加速能力有限,可能要考慮其他方案。

Oracle VM VirtualBox 介面畫面 3
Oracle VM VirtualBox 介面畫面

07一般使用者想試試別的系統,適合用嗎?

適合,前提是你有基本的概念。它的介面有建立虛擬機器的精靈,一步一步引導你選擇要安裝的系統類型、分配記憶體和硬碟空間,過程不算複雜。但介面是英文的,而且有些設定選項對沒接觸過虛擬化的人來說會看不懂。如果你只是想要一個 Linux 環境跑特定工具,照著網路上的教學走通常可以完成;如果你完全沒有耐心看說明,可能會卡在安裝 Guest Additions 或網路設定這類細節。

08學生或自學者可以用它練習系統管理嗎?

可以,而且很適合。它免費、開放原始碼,學生可以在一台電腦上同時開好幾台虛擬機器,練習安裝系統、設定網路、架設伺服器,弄壞了就用快照還原,不用擔心影響主要系統。它支援多種 guest 作業系統,包括各種 Linux 發行版和舊版 Windows,練習範圍很廣。唯一要注意的是,虛擬機器會消耗實體資源,如果電腦記憶體只有 4GB,同時開兩台以上會很吃力。

09拿來玩高效能遊戲或3D繪圖適合嗎?

不適合。它雖然有 3D 圖形加速功能,但官方定位是「支援需要硬體圖形加速的應用程式」,不是拿來跑高效能遊戲或專業 3D 繪圖的。虛擬機器裡的顯示效能本來就會打折扣,加上它對 GPU 的支援有限,如果你主要目的是玩遊戲或跑 3D 建模,直接裝雙系統或另外準備一台電腦會實際得多。這類需求建議先確認你的顯示卡和軟體在虛擬環境下的相容性再決定。

Oracle VM VirtualBox 介面畫面 4
Oracle VM VirtualBox 介面畫面

10公司要大量部署虛擬機器,適合嗎?

要看規模。它免費、開放原始碼,對預算有限的小團隊或個人開發者來說是合理的起點。但如果你要管理幾十台虛擬機器、需要集中管理介面、進階的資源調度或企業級技術支援,它的定位就不太符合。市場上有其他虛擬化產品,例如 VMware 系列,評分人數和企業採用度都更高,但那些是付費軟體。建議先評估你的管理需求和預算,再決定要不要投入學習成本。

11介面只有英文,看不懂怎麼辦?

它的介面語系是英文,官方沒有提供繁體中文介面。如果你英文不熟,操作上會比較吃力,因為建立虛擬機器、設定網路、管理快照這些功能都藏在英文選單裡。網路上有不少中文教學文章和影片,可以邊看邊做,但遇到選單上的細節還是得自己對照。如果你完全無法接受英文介面,可以考慮其他有中文介面的虛擬機器軟體,或確認是否有社群提供中文化檔案。

12舊電腦跑得動嗎?

這取決於你的硬體規格和要跑的系統。虛擬機器會跟主系統搶記憶體和 CPU,官方說明建議分配足夠的資源給虛擬機器,但沒有給出最低硬體需求。一般來說,如果你要跑輕量的 Linux 系統,4GB 記憶體的電腦勉強可以;要跑圖形介面完整的系統或同時開多台,8GB 以上會比較順。如果你的電腦已經很舊,建議先確認記憶體和 CPU 規格,再決定要不要裝。

下載與官方連結

前往官方網站 下載 Oracle VM VirtualBox

VirtualBox-4.3.0-89960-Win.exe · 101.69 MB · 連結指向軟體原廠

版本紀錄

再看 5 筆

看完整版本清單

這一版改了什麼

What's new in this version:

The following major new features were added:
- VMM: major rewrite of the VT-x code and the AMD-V code including many bug fixes and performance improvements
- VMM: introduced a lightweight instruction interpreter for situations not handled by hardware virtualization
- GUI: extended messaging mechanism (new non-modal popup overlays used to show non-critical warnings and provide user with additional information)
- GUI: keyboard shortcuts management (input page of global preferences extended with possibility to edit general keyboard shortcuts for VirtualBox Manager and Virtual Machine)
- GUI: video capturing support
- Added USB touch device emulation
- Added experimental support for webcam passthrough complementing USB passthrough (see the manual for more information)
- Added SCSI CD-ROM emulation, including boot support
- VRDP: support for IPv6
- Guest Control: guest sessions now are running in dedicated, impersonated session processes (needs at least Guest Additions 4.3 installed)
- Guest Control: implemented IGuestFile support
- NAT: experimental virtual router mode: several VMs are attached to the same internal network and share one NAT service

In addition, the following items were fixed and/or added:
- VMM: significantly improved performance of NetWare 5.x/6.x guests on host systems without nested paging support
- VMM: fixed losing host NMIs while in VT-x guest-context
- VMM: changed order of actions in emulated task switch
- VMM: allow to activate VT-x while in SMX mode and provide more information if that is not possible
- GUI: update check uses https
- GUI: numerous minor internal cleanups and bug fixes
- GUI: HID LEDs synchronization when switching between guest window(s) and host (Mac OS X hosts only)
- GUI, VBoxManage: when unregistering a VM, also unregister the hard disk images which are used exclusively
- GUI: use the number of physical presented processor cores instead of the number of logical processor cores to check if the users assigned too many virtual CPUs to the guest
- Snapshots: made live snapshots work again
- Teleportation: made it work again
- Storage: implemented AHA-154x compatibility mode in the emulated BusLogic SCSI HBA
- Storage: significantly improved performance of large ATAPI PIO transfers (BeOS, Minix 3 guests affected)
- Storage: added floppy formatting emulation (NB: cannot be used to change existing media geometry)
- Settings: global and per-VM default frontend configuration, useful to select the use of alternative VM frontends
- Settings: limit depth of snapshot tree to 250 levels, as more will lead to decreased performance and may trigger crashes
- Settings: the per-VM hwvirtextexcl setting has been replaced by a global hwvirtexclusive property
- Main: new event queue implementation which does not use the host's native event queue for processing VirtualBox events anymore
- Main: eliminate the use of SysV semaphores on all host OSes other than Windows, namely Linux, Solaris and Mac OS X, with the consequence that no system reconfiguration is needed to run more than approximately 100 VMs
- Main: use the XDG standard configuration folder instead of .VirtualBox on systems where it is appropriate
- Main: extension pack framework can now support loading HGCM modules
- VBoxManage: list more information about hard disk/DVD/floppy media, and support the --long option to show really all available details
- VBoxManage: added support for optional command line parameters for the automatic Guest Additions update
- VBoxManage: added support for listing active guest sessions, guest processes and/or guest files via guestcontrol list <all|sessions|processes|files>
- VBoxManage: added support for closing active guest sessions via guestcontrol session close --session-id <ID> | --session-name <name or pattern> | --all
- VBoxManage: added support for terminating active guest processes via guestcontrol process kill|close|terminate --session-id <ID>| --session-name <name or pattern> <PID> ... <PID n> or guestcontrol [p[s]]kill --session-id <ID>| --session-name <name or pattern> <PID> ... <PID n>
- VBoxManage: added support for watching guest sessions via guestcontrol watch
- VBoxManage: added modifyvm --triplefaultreset to make the VM reset on triple fault instead of triggering a Guru Meditation
- 3D support: several fixes
- 3D support: several fixes for Mac OS X hosts
- OVF: several fixes
- Extpack Installer: make it work if the file is located in a folder with special characters
- Keyboard: fix for reporting key sequences like Ctrl+Alt+Del for the USB keyboard emulation
- Shared Clipboard/X11: support for BMP-format images
- Mac OS X hosts: limited support for Mac OS X 10.9
- Mac OS X hosts: use a launchd script instead of the deprecated StartupItem mechanism
- Windows hosts: don't cause massive DPC latency (only on certain hosts; still needs improving)
- Windows hosts: consider symlinks when retrieving volume information
- Windows hosts: fixed an issue with USB2 devices being inaccessible when plugged into USB 3.0 ports
- Windows Additions: fixed misbehavior with guest display power management (WDDM driver only)
- Windows Additions: fixed memory leak caused by WTSQuerySessionInformation() on Windows 2000 guests
- Windows Additions: ability to track guest user idle times through the newly introduced event IGuestUserStateChangedEvent
- Linux Additions: fixed udev detection in the init script with Linux 3.x kernels