Advertisement
dantpro

grub4dos-bcd-menu.lst

Jun 3rd, 2015
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 1.39 KB | None | 0 0
  1. # grub4dos simple menu.lst for booting from Windows BCD partition
  2. #
  3. # grub4dos: http://grub4dos.chenall.net/
  4. # installer: http://download.gna.org/grubutil/grubinst-1.1-bin-w32-2008-01-01.zip
  5. # guide: http://diddy.boot-land.net/grub4dos/Grub4dos.htm
  6. # iPXE: http://boot.ipxe.org/ipxe.iso
  7.  
  8.  
  9. # general configuration:
  10. #
  11. default 0
  12. timeout 15
  13.  
  14. ## Menu AutoNumber
  15. write 0x8274 0x2001
  16.  
  17. # menu colour scheme
  18. color cyan/blue white/blue light-gray/black white/black
  19.  
  20. ## set vbe mode
  21. graphicsmode -1 640:800 480:600 24:32 || graphicsmode -1 -1 -1 24:32
  22.  
  23. # boot sections follow
  24. # each is implicitly numbered from 0 in the order of appearance below
  25. #
  26. title Boot Windows 8 BCD - (hd0,0)
  27. root (hd0,0)
  28. chainloader /bootmgr
  29.  
  30. title Boot Ubuntu 15.04 Mate - (hd1,0)
  31. root (hd1,0)
  32. kernel /boot/grub/i386-pc/core.img
  33.  
  34.  
  35. title=Boot MBR on 1st HDD - (hd0)
  36. rootnoverify (hd0)
  37. chainloader +1
  38.  
  39. title=Boot MBR on 2nd HDD - (hd1)
  40. map (hd1) (hd0)
  41. rootnoverify (hd1)
  42. chainloader +1
  43. boot
  44.  
  45.  
  46. title=Boot partition 0 on the firt HDD - (hd0,0)
  47. rootnoverify (hd0,0)
  48. chainloader +1
  49.  
  50. title=Boot partition 1 on the firt HDD - (hd0,1)
  51. rootnoverify (hd0,1)
  52. chainloader +1
  53.  
  54. title Boot CD-ROM - (cd0)
  55. cdrom --init
  56. map --hook
  57. chainloader (cd0)
  58. rootnoverify (cd0)
  59.  
  60. title Boot PXE
  61. root (hd0,0)
  62. kernel /GRUB/iPXE/ipxe.krn
  63.  
  64. title Grub commandline
  65. commandline
  66.  
  67. title Reboot
  68. reboot
  69.  
  70. title Halt
  71. halt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement