|
从http://www.boot-land.net/forums/index.php?showtopic=8804转贴过来实例:
esting FiraDisk with GRUB4DOS mem drive (non-boot drive)
1. Install FiraDisk driver in Windows.
2. Install GRUB4DOS in a harddrive or whatever.
3. Make a harddisk image and place it in root directory
4. boot into GRUB4DOS
5. create map --mem drive and load bootsector or NTLDR
Example
menu.lst
-----------------------------
timeout 3
default 0
title (hd0,0)
rootnoverify (hd0,0)
chainloader +1
title (hd0,0) (hd1)=hdd1.img
root (hd0,0)
map --mem (hd0,0)/hdd1.img (hd1)
chainloader +1
title (hd0,0) (hd1)=hdd1.img s63 h255
map --heads=255 --sectors-per-track=63 --mem (hd0,0)/hdd1.img (hd1)
chainloader +1
title (hd0,0) (hd32)=guest.iso
root (hd0,0)
map --mem (hd0,0)/guest.iso (hd32)
chainloader +1
title (hd0,0) (fd1)=flop.img
root (hd0,0)
map --mem (hd0,0)/flop.img (fd1)
chainloader +1
title (hd0,0) (hd32)=guest.iso (hd1)=hdd1.img (fd1)=flop.img
root (hd0,0)
map --mem (hd0,0)/guest.iso (hd32)
map --mem (hd0,0)/hdd1.img (hd1)
map --mem (hd0,0)/flop.img (fd1)
chainloader +1
title commandline
commandline
-----------------------------
Testing FiraDisk with GRUB4DOS mem drive as boot drive Brief instruction
1. Install FiraDisk in Windows before making image or cloning Windows
2. Use another Windows installation (or other OS) to clone Windows to image file If you use NTFS compression, make sure ntldr in image file is not compressed
3. If image file have different MBR signature, adjust registry in image file. load hive \Windows\system32\config\system, goto key MountedDevices, value \DosDevices\C:
change the data to match MBR signature and LBA of disk image unload hive
4. Boot from GRUB4DOS
Example
menu.lst
-----------------------------
timeout 3
default 0
title hdd.img
map --mem (hd0,0)/hdd.img (hd0)
map --hook
root (hd0,0)
chainloader /ntldr
title commandline
commandline
-----------------------------
[ 本帖最后由 小咕咚 于 2009-9-2 23:02 编辑 ] |
|