Advertisement
Manhydra

Grub Config file for Multi-ISO boot USB stick

Apr 29th, 2014
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. set timeout=60
  2. set default=0
  3.  
  4. menuentry "Debian Wheezy 32-bit" {
  5. loopback loop /Debian/debian-7.4.0-i386-netinst.iso
  6. linux (loop)/install.386/vmlinuz gfxpayload=text --
  7. initrd (loop)/install.386/initrd.gz
  8. }
  9.  
  10. menuentry "Debian Wheezy 64-bit" {
  11. loopback loop /Debian/debian-7.4.0-amd64-netinst.iso
  12. linux (loop)/install.amd/vmlinuz gfxpayload=text --
  13. initrd (loop)/install.amd/initrd.gz
  14. }
  15.  
  16. menuentry "CentOS 6.5 32-bit" {
  17. loopback loop /CentOS/CentOS-6.5-i386-netinstall.iso
  18. linux (loop)/isolinux/vmlinuz gfxpayload=text --
  19. initrd (loop)/isolinux/initrd.img
  20. }
  21.  
  22. menuentry "CentOS 6.5 64-bit" {
  23. loopback loop /CentOS/CentOS-6.5-x86_64-netinstall.iso
  24. linux (loop)/isolinux/vmlinuz gfxpayload=text --
  25. initrd (loop)/isolinux/initrd.img
  26. }
  27.  
  28. menuentry "FreeBSD 10.0-RELEASE 32-bit" {
  29. # Still can't get this to boot
  30. insmod ufs1
  31. insmod usb
  32. insmod bsd
  33. loopback loop /FreeBSD/FreeBSD-10.0-RELEASE-i386-bootonly.iso
  34. set root=(loop)
  35. kfreebsd (loop)/boot/kernel/kernel
  36. kfreebsd_loadenv (loop)/boot/device.hints
  37. chainloader (loop)/boot/loader
  38. }
  39.  
  40. menuentry "FreeBSD 10.0-RELEASE 64-bit" {
  41. # As above
  42. insmod ufs1
  43. insmod usb
  44. insmod bsd
  45. loopback loop /FreeBSD/FreeBSD-10.0-RELEASE-i386-bootonly.iso
  46. set root=(loop)
  47. kfreebsd (loop)/boot/kernel/kernel
  48. kfreebsd_loadenv (loop)/boot/device.hints
  49. chainloader (loop)/boot/zfsloader
  50. }
  51.  
  52. menuentry "OpenBSD 5.4 32-bit" {
  53. loopback loop /OpenBSD/openbsd-i386.iso
  54. kopenbsd (loop)/5.4/i386/bsd.rd
  55. }
  56.  
  57. menuentry "OpenBSD 5.4 64-bit" {
  58. loopback loop /OpenBSD/openbsd-amd64.iso
  59. kopenbsd (loop)/5.4/amd64/bsd.rd
  60. }
  61.  
  62. menuentry "NetBSD 6.1.3 32-bit" {
  63. loopback loop /NetBSD/NetBSD-6.1.3-i386.iso
  64. knetbsd (loop)/netbsd
  65. }
  66.  
  67. menuentry "NetBSD 6.1.3 64-bit" {
  68. loopback loop /NetBSD/NetBSD-6.1.3-amd64.iso
  69. knetbsd (loop)/netbsd
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement