因为Windows Xp boot up时,Windows Xp的image一定要first partition of the first hard drive. 而USB开始boot的时候,hd0是USB flash drive, hd1是hard drive, 所以要利用map的指令,把它们对调。
title Boot First Parition of the Hard Drive (HDD)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
rootnoverify (hd0,0)
chainloader +1
Boot First Hard Drive (HDD)
title Boot First Hard Drive (HDD)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
rootnoverify (hd0)
chainloader +1