GRUB2引導WINDOWS ISO開機 - Linux

Quintina avatar
By Quintina
at 2011-09-26T11:04

Table of Contents


請問有關GRUB2引導WINDOWS的ISO應該怎麼寫呢,

我咕狗了很多,但不是GRUB1,就是照寫也沒辦法進入WINDOWS ISO

以下除了Clonezilla和Ubuntu、Linuxmint可以正常進入外,

Windows的iso全都無法讀取。

menuentry "Clonezilla Live 20110922 Oneiric CD" --class windows --class os {
# set isofile="/Iso/Clonezilla_Live_20110922_Oneiric_CD.iso"
# loopback loop $isofile
loopback loop (hd0,1)/Iso/Clonezilla_Live_20110922_Oneiric_CD.iso
linux (loop)/live/vmlinuz boot=live union=aufs nolocales noprompt ip=frommedia toram=filesystem.squashfs findiso=$isofile
initrd (loop)/live/initrd.img
}
menuentry "Microsoft Windows 8 Developer Preview x64 DVD" --class windows --class os {
# set root='(hd0,msdos1)'
# search --no-floppy --fs-uuid --set=root B6E87D85E87D4521
set isofile="/Iso/Microsoft_Windows_8_DeveloperPreview_x64_DVD.iso"
loopback loop $isofile
drivemap --mem (hd0,1)/Iso/Microsoft_Windows_8_DeveloperPreview_x64_DVD.iso
drivemap --hook
chainloader +1
boot
}
menuentry "Microsoft Windows 7 Enterprise x64 with SP1 DVD" --class windows --class os {
# set root='(hd0,msdos1)'
# search --no-floppy --fs-uuid --set=root B6E87D85E87D4521
set isofile="/Iso/Microsoft_Windows_7_Enterprise_x64_with_SP1_DVD.iso"
loopback loop $isofile
# boot=casper iso-scan/filename=/Iso/Microsoft_Windows_7_Enterprise_x64_with_SP1_DVD.iso quiet splash--
chainloader +1
}
menuentry "Microsoft Windows XP Professional x86 with SP3 CD" --class windows --class os {
# set root='(hd0,msdos1)'
# search --no-floppy --fs-uuid --set=root B6E87D85E87D4521
set isofile="/Iso/Microsoft_Windows_XP_Professional_x86_with_SP3_CD.iso"
loopback loop $isofile
# drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Ubuntu 11.04 x64 DVD" {
set isofile="/Iso/Ubuntu_11.04_x64_DVD.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet splash noprompt --
initrd (loop)/casper/initrd.lz
}
menuentry "LinuxMint 11 Gnome x64 DVD" {
set isofile="/Iso/LinuxMint_11_Gnome_x64_DVD.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet splash noprompt --
initrd (loop)/casper/initrd.lz
}


請問該如何修改呢,謝謝!

--

這是一場沒有退路的遊戲,既然開始了就要玩到底。

除非你選擇放棄,不然結局永遠只有失敗。

--
Tags: Linux

All Comments

Rebecca avatar
By Rebecca
at 2011-09-27T20:17
我也試過 不過後來放棄了
Sandy avatar
By Sandy
at 2011-09-29T00:43
用量產化最快 不要浪費時間了
Lydia avatar
By Lydia
at 2011-09-29T15:10
無解...我也試過.linux類的系統可以匠子搞.windows就算了吧
Gary avatar
By Gary
at 2011-10-02T06:07
我的是SD卡,沒得量產。
倒是說我用GRUB4DOS有成功過,不知道為什麼GRUB2反而
Genevieve avatar
By Genevieve
at 2011-10-06T22:40
不行了。
Rachel avatar
By Rachel
at 2011-10-09T09:05
Grub4dos 和 grub2 以經是不同的分支了
Andrew avatar
By Andrew
at 2011-10-09T22:17
grub4dos有成功啟動過XP in HDD

ubuntu 安裝 出現 attached SCSI removable disk

Puput avatar
By Puput
at 2011-09-25T23:33
最近換了張顯卡後 (GTS450) 就近不去ubuntu了 要重新安裝,也都會卡在一行attached SCSI removable disk 11跟10版的32跟64位元都試過了,也去找了mint 64位元 一樣卡在這邊,請問這要怎麼解決?? 我要崩潰了QQ  謝謝! - ...

無法掛載磁區

Lydia avatar
By Lydia
at 2011-09-25T22:53
這個問題在 MS Windows 之下解決了, 在 CMD 下輸入 chkdsk [隨身硬碟所在槽(加上冒號)] /f 等 Windows 檢查修正錯誤後之後, 就可以正常的掛載了 雖然這在 ubuntu 回的細節有提到, 但不太仔細就是了. 例如: 如果在 CMD 中的 C:\ 下直 ...

無法掛載磁區

Hedwig avatar
By Hedwig
at 2011-09-25T21:45
各位好, 我的 OS 是 ubuntu 10.10 我本來在幫電腦中的檔案備份, 把檔案存在隨身硬碟中. 存到一半, 就出現了警訊, 好像內容是無法複製檔案且說是輸出/輸入的問題. 我不以為意, 我先把硬碟卸載, 然後就再也無法掛載了 ..... 按下細節後, 出現以下的訊息: ...

ISCSI initiator的使用問題

Cara avatar
By Cara
at 2011-09-25T21:43
版上各位前輩 小弟用的是Open-iSCSI 在使用上有個問題想請教 如果我LINK到一個TARGET 他的硬碟編號會變成/dev/sdc(假設) 之後我可能有10幾顆TARGET 看似是以我連線先後順序所配給sdc,sdd,sdf 是否可以固定設定某個IP的裝置為sdX 這樣管理上方便很多 ...

請問 find 可以只搜尋 .開頭的資料夾名稱嗎?

Caroline avatar
By Caroline
at 2011-09-25T11:07
狀況是這樣子的: /a 資料夾有 1 萬個檔案 /a/b 資料夾也有 1 萬個檔案,其中以 . 開頭命名的有 100 個 (e.g. and#34;.test0and#34; and#34;.test1and#34;) 我想要做的是 cd /a/b,然後用 find 印出這些以 . 開頭的資料夾內容, ...