|
使用一个用G4D做的和盘里加了win7安装的选项,就出现这个错误了,我是把win7安装镜像里的文件复制到了和盘的根目录里面,相同的文件没有覆盖。
title 【09】-- install win7
find --set-root /sources/setup.exe
chainloader /bootmgr
这是我在lst里添加的命令。
下面是mean.lst
debug off
timeout 1
default 1
set pecd=asipirin.iso
set bd=hd
if not %?_BOOT%==(cd) find --devices=u set ?_BOOT=ud
#checkrange 0x0 read 0x8280 && set bd=fd
#checkrange 0x21 read 0x8280 && set bd=pd
#checkrange 0x9f:0xff read 0x8280 && set ?_BOOT=cd
#checkrange 0x23 read 0x8280 && set bd=ud
#if [email=%@root%==(cd]%@root%==(cd[/email]) set bd=cd
#UD启动如可见区识别为fd0,0则映射为hd0
if %?_BOOT%==(ud) checkrange 0 read 0x82a0 && map (fd0) (hd0) && map (hd0) (hd) && map --hook && rootnoverify (hd0,0)
#if "[email=%@root%]%@root%"=="(fd0,0[/email])" map (fd0) (hd0) && map (hd0) (hd) && map --hook && rootnoverify (hd0,0)
#默认启动菜单
set grmenu=asipirin.lst
#ISO整体启动菜单
if %?_BOOT%==(ud) if exist (ud)/%pecd% root (ud)
if exist /%pecd% timeout 15 || configfile /BOOT/%grmenu%
color white/blue white/red yellow/blue white/magenta
title __________Load %pecd% _________
clear
title [1]--"map --mem /%pecd%" at first\nNeed large memory and spend more time to load iso to memory,but support all function besides win7pe,don't use on usb1.x.
set ldiso=NO
pause --wait=0 Tring to load ISO to mem...
map --mem /BOOT/IMGS/FIRADISK.IMA (fd0) || map --mem /FIRADISK.IMA (fd0)
map --mem /%pecd% (0xff) && set ldiso=YES
if %ldiso%==NO pause --wait=0 Tring to direct map link to ISO... && map /%pecd% (0xff) && set ldiso=YES
if %ldiso%==YES map --hook && rootnoverify (0xff) && chainloader (0xff)
boot
title [2]--"map /%pecd%" at first\nNeedn't more memory and very fast,but the iso must be contig and can't support all function.
set ldiso=NO
pause --wait=0 Tring to direct map link to ISO...
map /%pecd% (0xff) && set ldiso=YES
if %ldiso%==NO pause --wait=0 Tring to load ISO to mem... && map --mem /BOOT/IMGS/FIRADISK.IMA (fd0) || map --mem /FIRADISK.IMA (fd0)
if %ldiso%==NO map --mem /%pecd% (0xff) && set ldiso=YES
if %ldiso%==YES map --hook && rootnoverify (0xff) && chainloader (0xff)
boot |
|