Menu

Boot iso images or dir in C: Windows 10 UEFI GPT particion

2022-11-29
2022-12-01
  • THIAGO HENRIQUE DUARTE NEVES

    Hello! Since that i figured out all potential of grub2win , I've became a huge fan of your work, there are so many potential, that i download de source code so I could do something myself.
    I'm learning yet but i dont give up easy. But to feel some progress in my journey I need your help.
    First things first i can't run iso images from Linux and or dir, can you help me?

     
  • Ed  P

    Ed P - 2022-11-29

    Here's some of the ISO menus I use:

    Possible ISO boot parms: boot=/, from=all, from=$iso, fromiso=$iso, findiso=$iso, iso-scan/filename=$iso, bootfrom=/dev/sda6$iso

    if [ -e /ISOs/gparted-live-1.3.0-1-i686.iso ]; then
    menuentry " GParted Live new - ISO" --class debian --class icon-debian {

     set iso=/ISOs/gparted-live-1.3.0-1-i686.iso
     search -f $iso --set=root
    
     loopback loop $iso
     linux (loop)/live/vmlinuz findiso=$iso boot=live union=overlay username=user config components quiet noswap ip= net.ifnames=0 nosplash locales=en_US.UTF-8 keyboard-layouts=us gl_batch
     initrd (loop)/live/initrd.img
     }
    

    fi

    if [ -e /ISOs/linuxmint-19.2-cinnamon-64bit.iso ]; then
    menuentry " Linux Mint 19.2 Cinnamon ISO" --class debian --class icon-linux {

     set iso='/ISOs/linuxmint-19.2-cinnamon-64bit.iso'
     set bootparms='set image /6.4/amd64/bsd.rd'
    
     loopback loop $iso
     linux  (loop)/casper/vmlinuz  file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=${iso} quiet splash --
     initrd (loop)/casper/initrd.lz
     }
    

    fi

    if [ -e /ISOs/install64.iso ]; then
    menuentry " OpenBSD ISO" --class debian --class icon-linux {

     set iso='/ISOs/install64.iso'
     set bootparms='set image /6.4/amd64/bsd.rd '
    
     loopback loop $iso
    
     linux (loop)/kopenbsd /6.4/amd64/bsd.rd  #Boot-NoEmul.img $bootparms
     }
    

    fi

    menuentry " GrubFM x64 EFI Boot Manager of A1ive" --class other --class icon-gnugrub {

     set grubfm=/EFI/a1ive/grubfmx64.efi
    
     search -f $grubfm --set=root
     chainloader $grubfm
     }
    

    menuentry " Slackware Linux Live XFCE ISO" --class debian --class icon-linux {

     set iso='/ISOs/slackware64-live-xfce-current.iso'
     set bootparms='load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=us '
    
     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/boot/generic livemedia=/dev/sda6:/$iso $bootparms
     initrd (loop)/boot/initrd.img
     }
    
     
  • Drummer

    Drummer - 2022-12-01

    Hi,

    Thanks for your kind comments.

    I see that Ed P, who is the king of ISO booting, has already given you some ideas.
    Thanks Ed.

    Please send me your Grub2Win diagnostics.
    With the diagnostics, I can view your hardware and Grub configurations in more detail.

    Also, where did you download your ISO file?
    There are thousands of them available, and they all have different requirements.

    Please let me know.

    Thanks,

    Dave

     

    Last edit: Drummer 2022-12-01

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.