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

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

Oracle VM VirtualBox 軟體圖示 Oracle VM VirtualBox 92456 資料更新 2014-02-25 閱讀約 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.8-92456-Win.exe · 102.27 MB · 連結指向軟體原廠

版本紀錄

再看 5 筆

看完整版本清單

這一版改了什麼

What's new in this version:

This is a maintenance release. The following items were fixed and/or added: - VMM: more work on improving the emulation of certain MSR registers (e.g. bugs #12224, #12544)
- VMM: fixed a VERR_INVALID_RPL Guru Meditation when booting certain guests (bug #11350)
- VMM: experimental support for SSE 4.1 / SSE 4.2 passthrough, see the manual for more information how to enable it (bug #8651)
- VMM: fix for recent Linux kernels with software virtualization
- GUI: experimental HID LEDs synchronization for Windows hosts, see the manual for more information
- GUI: warn the user if the Oracle Extension Pack is not installed and the user tries to activate the remote display feature (bug #9104)
- GUI: make sure that a minimized guest (using mini toolbar in fullscreen/seamless mode) keeps the minimized state (bug #12199)
- GUI: popup banner's "do not show this message again" check-box replaced with corresponding button
- GUI: network adapter cables can now be connected/disconnected directly through the running virtual machine Devices / Network menu a Network status-bar indicator
- GUI: the new VM wizard now proposes 64-bit guests on 64-bit hosts by default; better distinction between 32-bit OS types 64-bit OS types (bug #12533)
- GUI: better error message if appliance import fails (bug #12657)
- GUI: allow to set host-combination to 'None' using the Global settings / Input page (bug #12730)
- GUI: don't switch the guest to a black screen during online snapshot merge (4.3 regression)
- VBoxManage: when exporting an appliance, support the suppression of MAC addresses, which means they will be always recreated on import, avoiding duplicate MAC addresses for VMs which are imported several times
- AHCI: fixed a VM hang during suspend under certain circumstances
- AHCI: fixed a VM hang during online snapshot merge under certain circumstances
- AHCI: fixed a bug which resulted in Windows XP guest hangs if a SATA CDROM is attached (bug #12417)
- AHCI: fixed a Guru Meditation under certain conditions
- AHCI: ejecting a CD/DVD medium failed under certain conditions
- AHCI: disk hotplugging fixes
- NAT: transparent handling of host sleep/resume and network configuration changes if the dnsproxy is enabled or if the hostresolver is used (bug #12441)
- NAT: fixed crash and misbehaviour under some circumstances with ICMP packets having TTL=1
- NAT Network: fixed IPv6 reassembly
- NAT Network: ping proxy implemented
- OVF: fixed reading of the OVF 0.9 section element (4.3 regression; bug #12345)
- OVF: several fixes
- 3D: several fixes, multiscreen fixes (e.g. bug #9124)
- 3D: include 3D content in captured videos (bug #12666)
- 3D: include 3D content in captured screenshot (bug #11758)
- VGA: proper handling of legacy graphics modes if the Guest Additions are active (bug #6649)
- USB: fixed crash during isochronous transfer under rare circumstances
- BIOS: better disk geometry handling of SCSI drives
- API: fix crashes in Java API clients using the XPCOM binding, happened with output parameters only (bug #11232)
- VBoxSVC: documented the handling of host power management events (see the manual for more information) and added an extradata item for configuring the handling of the battery-low event (bug #9925)
- VBoxSVC: fixed a bug which could trigger a crash if a VM snapshot was restored the second time and the VM has associated bandwidth groups (bug #12569)
- VBoxSVC: properly detect ifconfig if located in /bin (bug #12713)
- Shared Folders: fixed a failure to restore transient shared folders when starting a VM from a saved state (bug #12578)
- Mac OS X hosts: fixed issue when the application icon was frozen in the dock if the bridging interface was not connected to a network (bug #12241)
- Linux hosts: also consider the physical package ID when determining the number of physical CPU cores
- Linux hosts / guests: don't warn in kernel log if memory allocation fails (bug #11171)
- Solaris hosts: fixed the autostart SMF script (bug #11720)
- Windows hosts: fixes for non-ANSI code page user names and similar environment contents (bug #12596)
- Windows hosts / guests: fixed setting and using a guest user's process environment variables (relevant for Guest Control)
- Windows Additions: fixed handle leaks in VBoxTray (bug #12563)
- Windows Additions: fixed a crash while detecting active guest users
- Windows Additions: fixed restoring backed up D3D files on XPDM -> WDDM upgrade
- Guest Control: fixed setting and using a guest user's process environment variables
- Linux Additions: support Enterprise Linux 6.5 kernels (bug #12505)
- Linux Additions: fixed CPU hot-remove on newer Linux kernels
- Linux / Solaris Additions: don't automount a shared folder which is already mounted
- X11 Additions: support X.Org Server 1.15 (bug #12623)