|
原帖由 chenall 于 2007-9-8 10:45 PM 发表
用无盘天使加载.
然后MBRFIX
保险一点再bootsect(可以不用的.因为执行格式化后就已经有了.
Use grubinst to install grldr.mbr to mbr of the disk image (.dsk) or to bootsector of the partition image (.img) for booting, specifying the pe bootfile (ntldr/peldr/setupldr.bin) as the bootfile:
title boot winpe.dsk using map --mem & mbr
map --mem (hd0,0)/winpe.dsk (hd0)
map (hd0) (hd1)
map --hook
rootnoverify (hd0,0)
chainloader (hd0)+1
or
title boot winpe.img using map --mem
map --mem (hd0,0)/winpe.img (hd0)
map (hd0) (hd1)
map --hook
rootnoverify (hd0,0)
chainloader (hd0,0)+1
for the above, you can gzip dsk or img file into gz and change the .dsk or .img into .gz for use.
The new da demo now supports gzipping .dsk or .img file into gz file directly.
For some computers, memdisk loading has to be used as follows:
title boot winpe.dsk using memdisk raw
kernel (hd0,0)/memdisk raw
initrd (hd0,0)/winpe.dsk
You may compress winpe.dsk into gz for using memdisk under grub4dos as well. Under pxelinux, memdisk supports only zip file. |
|