多重開機 (GRUB4DOS) 與虛擬
磁碟 (VHD) 在電腦上的應用
使用 BOOTICEx86 程式 (硬碟分割)
BOOTICEx86
(在MBR
建立GRUB4DOS
開機主引導記錄)使用 BOOTICEx86 程式 (硬碟分割、在 MBR 建立 GRUB4DOS 開機主引導記錄)
grldr ( grub4dos 的開機管理程式)
開機選單: menu.lst
unifont.hex.gz (中文字型)
Menu.lst 內容
## set vbe mode 顯示模式
graphicsmode -1 640:800 480:600 24:32 || graphicsmode -1 -1 -1 24:32
## 中文字型
font /unifont.hex.gz
## 選單顏色設定
color white/black white/dark-gray white/black white/light-blue
## 開機選單
title
Android-x86 4.4find --ignore-floppies --ignore-cd /android/initrd.img
root (hd0,0)
kernel /android/kernel quiet root=/dev/ram0 androidboot.hardware=desktop_generic acpi_sleep=s3_bios,s3_mode SRC= /android
initrd /android/initrd.img
title
EZGO11x64 LiveCD+casper-rwfind --ignore-floppies --ignore-cd --set-root /ezgo11x64/vmlinuz
kernel /ezgo11x64/vmlinuz boot=casper iso-scan/filename= /ezgo11x64/ezgo11x64.iso locale=zh_TW.UTF-8 ignore_uuid quiet splash persistent --
initrd /ezgo11x64/initrd.lz
VHD ( Microsoft Virtual Hard Disk format )微軟虛擬磁碟文件
Fixed
(固定容量)虛擬磁碟區多大,映像檔就有多大。存取效能最好,最穩定。
create vdisk file=c:\vhd\test.vhd(
絕對路徑) maximum=2000 type=fixed
Dynamic
(動態擴展)按照虛擬磁碟區裡真正已經使用的空間,「用多少、給多少」的分配方式,有效節省磁 碟空間。
create vdisk file=c:\vhd\test.vhd maximum=2000 type=expandable
Differencing (差異擴增)
Differencing
映像檔是由一個 主參考映像檔(parent image
父系)與許多 差異映像檔(differencing
image
子系)所組成的關係鏈,主映像檔(parent
image
),它是唯讀、只能用來參考,而延伸的子映像檔(
differencing image
)則只記錄了更改後的區 塊。因此,當子映像檔被讀取時,其實是先讀取主映像 檔,再參考修改過的內容。可輕鬆複製出相同的子系統 或迅速還原成原來的系統。GRUB4DOS+NTBOOT 載入
VHD( 預先製作的 WINDOWS81 系統 )
語法:command NTBOOT NT6=filename.vhdx
Menu.lst
title Windows8.1 Pro ntct
保留上次的操作
root (hd0,1)
find --ignore-floppies --ignore-cd --set-root /vhdos/w81pro32_chd1.vhdx