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

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

Oracle VM VirtualBox 軟體圖示 Oracle VM VirtualBox 2.1.2 資料更新 2009-01-22 閱讀約 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-2.1.2-41885-Win_x86.msi · 35.69 MB · 連結指向軟體原廠

版本紀錄

再看 5 筆

看完整版本清單

這一版改了什麼

What's new in this version:

This is a maintenance release. The following items were fixed and/or added:

* USB: improved support for recent Linux hosts
* VMM: fixed guru meditation for PAE guests on non-PAE hosts (AMD-V)
* VMM: fixed guru meditation on Mac OS X hosts when using VT-x
* VMM: allow running up to 1023 VMs on 64-bit hosts (used to be 127)
* VMM: several FreeBSD guest related fixes (bugs #2342, #2341, #2761)
* VMM: fixed guru meditation when installing Suse Enterprise Server 10U2 (VT-x only; bug #3039)
* VMM: fixed guru meditation when booting Novell Netware 4.11 (VT-x only; bug #2898)
* VMM: fixed VERR_ADDRESS_TOO_BIG error on some Mac OS X systems when starting a VM
* VMM: clear MSR_K6_EFER_SVME after probing for AMD-V (bug #3058)
* VMM: fixed guru meditation during Windows 7 boot with more than 2 GB guest RAM (VT-x, nested paging only)
* VMM: fixed hang during OS/2 MCP2 boot (AMD-V and VT-x only)
* VMM: fixed loop during OpenBSD 4.0 boot (VT-x only)
* VMM: fixed random crashes related to FPU/XMM with 64 bits guests on 32 bits hosts
* VMM: fixed occasional XMM state corruption with 64 bits guests
* VMM: speed improvements for real mode and protected mode without paging (software virtualization only)
* GUI: raised the RAM limit for new VMs to 75% of the host memory
* GUI: added Windows 7 as operating system type
* VBoxSDL: fixed -fixed fixedmode parameter (bug #3067)

* Clipboard: stability fixes (Linux and Solaris hosts only, bug #2675 and #3003)
* 3D support: fixed VM crashes for certain guest applications (bugs #2781, #2797, #2972, #3089)
* LsiLogic: improved support for Windows guests (still experimental)
* VGA: fixed a 2.1.0 regression where guest screen resize events were not properly handled (bug #2783)
* VGA: significant performance improvements when using VT-x/AMD-V on Mac OS X hosts
* VGA: better handling for VRAM offset changes (fixes GRUB2 and Dos DOOM display issues)
* VGA: custom VESA modes with invalid widths are now rounded up to correct ones (bug #2895)
* IDE: fixed ATAPI passthrough support (Linux hosts only; bug #2795)
* Networking: fixed kernel panics due to NULL pointer dereference in Linux kernels < 2.6.20 (Linux hosts only; bug #2827)
* Networking: fixed intermittend BSODs when using the new host interface (Windows hosts only; bugs #2832, #2937, #2929)
* Networking: fixed several issues with displaying hostif NICs in the GUI (Windows hosts only; bugs 2814, #2842)
* Networking: fixed the issue with displaying hostif NICs without assigned IP addresses (Linux hosts only; bug #2780)
* Networking: fixed the issue with sent packets coming back to internal network when using hostif (Linux hosts only; bug #3056).
* NAT: fixed port forwarding (Windows hosts only; bug #2808)
* NAT: fixed booting from the builtin TFTP server (bug #1959)
* NAT: fixed occasional crashes (bug #2709)
* SATA: vendor product data (VPD) is now configurable
* SATA: raw disk partitions were not recognized (2.1.0 regression, Windows host only, bug #2778)
* SATA: fixed timeouts in the guest when using raw VMDK files (Linux host only, bug #2796)
* SATA: huge speed up during certain I/O operations like formatting a drive
* SATA/IDE: fixed possible crash/errors during VM shutdown
* VRDP: fixed loading of libpam.so.1 from the host (Solaris hosts only)
* VRDP: fixed RDP client disconnects
* VRDP: fixed VRDP server misbehavior after a broken client connection
* VBoxManage showvminfo: fixed assertion for running VMs (bug #2773)

* VBoxManage convertfromraw: added parameter checking and made it default to creating VDI files; fixed and documented format parameter (bug #2776)
* VBoxManage clonehd: fixed garbled output image when creating VDI files (bug #2813)
* VBoxManage guestproperty: fixed property enumeration (incorrect parameters/exception)
* VHD: fixed error when attaching certain container files (bug #2768)
* Solaris hosts: added support for serial ports (bug #1849)
* Solaris hosts: fix for Japanese keyboards (bug #2847)
* Solaris hosts: 32-bit and 64-bit versions now available as a single, unified package
* Linux hosts: don’t depend on libcap1 anymore (bug #2859)
* Linux hosts: compile fixes for 2.6.29-rc1
* Linux hosts: don’t drop any capability if the VM was started by root (2.1.0 regression)
* Mac OS X hosts: save the state of running or paused VMs when the host machine’s battery reaches critical level
* Mac OS X hosts: improved window resizing of the VM window
* Mac OS X hosts: added GUI option to disable the dock icon realtime preview in the GUI to decrease the host CPU load when the guest is doing 3D
* Mac OS X hosts: polished realtime preview dock icon
* Windows Additions: fixed guest property and logging OS type detection for Windows 2008 and Windows 7 Beta
* Windows Additions: added support for Windows 7 Beta (bugs #2995, #3015)
* Windows Additions: fixed Windows 2000 guest freeze when accessing files on shared folders (bug #2764)
* Windows Additions: fixed Ctrl-Alt-Del handling when using VBoxGINA
* Windows Additions Installer: Added /extract switch to only extract (not install) the files to a directory (can be specified with /D=path)
* Linux installer and Additions: added support for the Linux From Scratch distribution (bug #1587) and recent Gentoo versions (bug #2938)
* Additions: added experimental support for X.Org Server 1.6 RC on Linux guests
* Linux Additions: fixed bug which prevented to properly set fmode on mapped shared folders (bug #1776)
* Linux Additions: fixed appending of files on shared folders (bug #1612)
* Linux Additions: ignore noauto option when mounting a shared folder (bug #2498)
* Linux Additions: fixed a driver issue preventing X11 from compiling keymaps (bug #2793 and #2905)
* X11 Additions: workaround in the mouse driver for a server crash when the driver is loaded manually (bug #2397)