Advertisement
metalx1000

Grub2 Boot Debian ISO form Flash Drive

Apr 12th, 2015
2,395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. set timeout=10
  2. set default=0
  3.  
  4. menuentry 'Debian ISO' {
  5. set isofile='/debian.iso'
  6. loopback loop $isofile
  7. linux (loop)/live/vmlinuz1 boot=live config fromiso=/dev/sdb1/$isofile
  8. initrd (loop)/live/initrd1.img
  9. }
  10. menuentry 'Debian ISO 2' {
  11. set isofile='/debian.iso'
  12. loopback loop $isofile
  13. linux (loop)/live/vmlinuz1 boot=live config findiso=$isofile
  14. initrd (loop)/live/initrd1.img
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement