1、下载win7 iso;
2、下载grub4dos;
3、使用ultraiso制作U盘启动盘;
4、将grub4dos下的如下文件拷贝至C盘
grldr, grldr.mbr, menu.lst, grub.exe?
新建boot.ini
[Boot Loader]
Timeout=5
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Win 7" /noexecute=optin /fastdetect
c:\grldr.mbr="GRUB4DOS"
特别注意:
这里的关键点是一定要有那对引号,这和xp 不同,xp 下可以写成
c:\grldr.mbr=GRUB4DOS
而win7 一定要写成
c:\grldr.mbr="GRUB4DOS"
附件menu.lst
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
color blue/green yellow/red white/magenta