Advertisement
tolikpunkoff

Grub4DOS menu.lst for boot Windows from local HDD

Dec 17th, 2017
1,026
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. #timeout 15
  2. default /default
  3. write (md)0x220+1 !BAT\necho -n -P:0000 $[0107] Hard drive boot \0 && initscript (md)0x220+1
  4.  
  5. title Boot From Hard Drive (Windows Vista/7/2008 or Xp)\n
  6. find --set-root --ignore-floppies --ignore-cd /bootmgr || find --set-root --ignore-floppies --ignore-cd /ntldr || rootnoverify (hd0) && chainloader +1 && boot
  7. map () (hd0) && map (hd0) () && map --rehook
  8. find --set-root --devices=h /bootmgr || find --set-root --ignore-floppies --ignore-cd /ntldr
  9. chainloader /bootmgr || chainloader /ntldr
  10.  
  11. title Boot Windows XP (NTLDR) from Hard Drive\n
  12. find --set-root --ignore-floppies --ignore-cd /ntldr
  13. map () (hd0)
  14. map (hd0) ()
  15. map --rehook
  16. find --set-root --ignore-floppies --ignore-cd /ntldr
  17. chainloader /ntldr
  18. savedefault
  19.  
  20. title Boot Windows Vista/7 (BOOTMGR) from Hard Drive\n
  21. find --set-root --ignore-floppies --ignore-cd /bootmgr
  22. map () (hd0)
  23. map (hd0) ()
  24. map --rehook
  25. find --set-root --ignore-floppies --ignore-cd /bootmgr
  26. chainloader /bootmgr
  27. savedefault
  28.  
  29. title Reboot\n
  30. reboot
  31.  
  32. title Shutdown\n
  33. halt
  34.  
  35. title Alternative boot method\n
  36. root
  37.  
  38. title Boot HDD 1 MBR\n
  39. rootnoverify (hd0)
  40. chainloader +1
  41. title Boot HDD 1 Partition 1\n
  42. rootnoverify (hd0,0)
  43. chainloader +1
  44. title Boot HDD 1 Partition 2\n
  45. rootnoverify (hd0,1)
  46. chainloader +1
  47. title Boot HDD 1 Partition 3\n
  48. rootnoverify (hd0,2)
  49. chainloader +1
  50. title Boot HDD 1 Partition 4\n
  51. rootnoverify (hd0,3)
  52. chainloader +1
  53. title Boot HDD 2 MBR\n
  54. rootnoverify (hd1)
  55. chainloader +1
  56. title Boot HDD 2 Partition 1\n
  57. rootnoverify (hd1,0)
  58. chainloader +1
  59. title Boot HDD 2 Partition 2\n
  60. rootnoverify (hd1,1)
  61. chainloader +1
  62. title Boot HDD 2 Partition 3\n
  63. rootnoverify (hd1,2)
  64. chainloader +1
  65. title Boot HDD 2 Partition 4\n
  66. rootnoverify (hd1,3)
  67. chainloader +1
  68. title Boot HDD 3 MBR\n
  69. rootnoverify (hd2)
  70. chainloader +1
  71. title Boot HDD 3 Partition 1\n
  72. rootnoverify (hd2,0)
  73. chainloader +1
  74. title Boot HDD 3 Partition 2\n
  75. rootnoverify (hd2,1)
  76. chainloader +1
  77. title Boot HDD 3 Partition 3\n
  78. rootnoverify (hd2,2)
  79. chainloader +1
  80. title Boot HDD 3 Partition 4\n
  81. rootnoverify (hd2,3)
  82. chainloader +1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement