从grub2引导Windows 7 iso |
您所在的位置:网站首页 › 机器人bobo苹果测试 › 从grub2引导Windows 7 iso |
使用grub4dos引导Windows XP
使用grub legacy或grub2引导实际的ISO无效,但是对于较旧的Windows版本(例如XP),可以将i386文件夹从ISO解压缩到USB记忆棒,然后使用grub4dos调用引导加载程序: title windows installer via setupldr.bin find --set-root /i386/setupldr.bin chainloader /i386/setupldr.bin要么 title windows installer via /bootsect.bin find --set-root /i386/setupldr.bin chainloader /bootsect.bin这可能不适用于较新的Windows版本或较新的硬件,但也可以选择。 使用grub2引导Windows 7显然,使用grub2可以在Windows 7中运行: menuentry "Windows 7 (bootmgr)" --class windows --class os { insmod part_msdos insmod ntfs insmod ntldr ### A: either use this line or the next one, but not both set root='(hd0,msdos1)' ### B: ### search --no-floppy --fs-uuid --set=root ____INSERT_PARTITION_UUID_HERE___ ntldr ($root)/bootmgr }选项A假设您的可启动USB记忆棒/ HDD是第一个设备,并且具有msdos样式的分区表。调整以匹配您的配置。如果引导设备具有GPT分区表,则很可能需要使用(hd0,gpt1)(一般来说,设置GPT较为棘手)。 选项B使用驱动器的唯一UUID,可以在Linux上sudo blkid或在OSX上使用例如diskutil info disk0s1(或Disk Utility> Info)查看。 例如,最终条目看起来像这样: menuentry "Windows 7 installer" --class windows --class os { insmod part_msdos insmod ntfs insmod ntldr search --no-floppy --fs-uuid --set=root 0E239BC6-F960-3107-89CF-1C97F78BB46B ntldr /bootmgr } |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |