title 逻辑分区模拟主分区启动DOS
map --in-situ (hd0,6)+1 (hd0)
map (hd0) (hd1)
map --hook
rootnoverify (hd0,0)
makeactive
chainloader +1
or
chainloader /io.sys
title 使用partnew命令将逻辑分区模拟成主分区启动
partnew (hd0,3) 0x0C (hd0,6)+1
or
partnew (hd0,3) 0x00 (hd0,0)/my_partition.img #type 0x00 indicates a type-auto-detection of the image
rootnoverify (hd0,3)
makeactive
chainloader +1
or
chainloader /io.sys