Last active
August 29, 2015 14:08
-
-
Save pwlin/5e1c756623b5685b6f8e to your computer and use it in GitHub Desktop.
windows 7 boot recovery/ grub 4 dos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bcdboot c:\windows /s c: | |
================ | |
timeout 5 | |
default 0 | |
title Windows 7 | |
rootnoverify (hd0,1) | |
chainloader +1 | |
================ | |
bootrec.exe /fixmbr | |
=============== | |
title Windows 7 AIO ISO | |
find --set-root /images/Win7sp1AIO.ISO | |
map /images/Win7sp1AIO.ISO (hd32) | |
map --hook | |
root (hd32) | |
chainloader (hd32) | |
title Windows 7 AIO Installer | |
find --set-root /bootmgr | |
chainloader /bootmgr | |
title Windows Setup | |
chainloader /BOOTMGR | |
title Load Microsoft Windows Vista/Win7/Windows 8 | |
root (hd0,0) | |
chainloader (hd0,0)/bootmgr | |
title Find and Load NTLDR of Windows NT/2K/XP | |
find --set-root /ntldr | |
chainloader /ntldr | |
title Find and Boot Linux with menu.lst | |
find --set-root /sbin/init | |
configfile /Boot/grub/menu.lst | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment