Advertisement
Guest User

menu.lst

a guest
Mar 30th, 2018
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. color black/cyan yellow/cyan
  2. timeout 10
  3.  
  4. #graphicsmode 0x6A
  5. graphicsmode -1 640 480:800 24:32 || graphicsmode -1
  6. ## Menu AutoNumber
  7. write 0x8274 0x2001
  8.  
  9. #graphicsmode -1 800:640 -1 24:32 || graphicsmode -1
  10. #font /unifont.hex.gz
  11.  
  12.  
  13. #clear mappings and set root in case we return from bootmgr
  14. map --unmap=0:0xff
  15. map --unhook
  16. map --rehook
  17. ls /usbdrive.tag > nul || find --set-root --devices=hf /usbdrive.tag > nul
  18. ls /default > nul && default /default
  19.  
  20.  
  21.  
  22. title Windows NT6 (Vista/7 and above) Setup
  23. map --unhook
  24. map --unmap=0:0xff && map --rehook
  25. savedefault +1
  26. ls /shifthd.bat > nul || find --set-root --devices=hf /shifthd.bat
  27. /shifthd.bat
  28. if "%RDSK%"=="" pause Fatal error while swapping hard disk order, cannot continue! && configfile /menu.lst
  29. root (hd%RDSK%,0)
  30. chainloader /BOOTMGR
  31.  
  32. title Second part/continue NT6 Setup (Boot first internal disk)
  33. map --unhook
  34. map --unmap=0:0xff && map --rehook
  35. savedefault
  36. ls /test/shifthd.bat > nul || find --set-root --devices=hf /shifthd.bat
  37. /shifthd.bat
  38. if "%RDSK%"=="" pause Fatal error while swapping hard disk order, cannot continue! && configfile /menu.lst
  39. pause --wait=1 Booting MBR on hd0 ...
  40. chainloader (hd0)+1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement