Trying to make a multiboot flash based on grub2-efi.

  1. Recorded on a flash drive grub pc-efi.
  2. Filled images (unpacked) Windows, everything loads, everything is fine
  3. Filled the image of Debian and here the first plug
  4. Filled files like Victoria, mhdd, memtest, etc. and then the second plug
  5. Filled the rEFInd program, loads, runs, but incorrectly counts configs. This is the third plug.

About plugs

  1. When I try to install Debian Jessie 8.2 from an iso-file, linux starts to work, but flies to search for a disk image.

    menuentry "Debian 8.2 Jessie" { echo "Настройка окружения" set isofile="/boot/tools/debian-live-8.2.iso" loopback loop $isofile echo "Загрузка ядра Linux" linux (loop)/install/gtk/vmlinuz boot=live noprompt iso-scan/filename=$isofile vga=normal -- echo "Монтирование файловой системы" initrd (loop)/install/gtk/initrd.img } 
  2. When trying to load MHDD - hangs in the last stage

     echo "Поиск ядра Memdisk" search -f /boot/tools/memdisk -s root echo "Загрузка ядра Memdisk" linux16 /boot/tools/memdisk echo "Загрузка программы MHDD" initrd16 /boot/tools/mhdd32.iso 
  3. About rEFInd - in principle, garbage, but I would like everyone to listen to me.

  4. there is one more thing - I can not download Alkid LiveCD

     echo "Подключение модулей" insmod ntldr echo "Поиск файла загрузки" search -f /alkid/i386/setupldr.bin -s root echo "Загрузка лайв диска" ntldr /alkid/i386/setupldr.bin boot 

How to use GRUB2 to load Kaspersky Rescue Disk?

 set gfxpayload=$linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 insmod fat insmod ntfs search --no-floppy --fs-uuid --set=root 8614-5FEE linux /boot/rescue subdir=/ root=/dev/ram0 vga=791 init=/linuxrc looptype=squashfs loop=/image.squashfs nodevfs kav_lang=en udev aufs quiet noresume doscsi kav_lang=ru cdroot=/dev/sd[az][0-9] initrd /boot/rescue.igz` 

    1 answer 1

    Regarding item number 1: an example of a working loader:

     menuentry 'ubuntu 16.04 betta amd64' --class gnu-linux --class gnu --class os { insmod gzio insmod part_msdos insmod ext2 insmod fat search --no-floppy --fs-uuid --set=root 13166a2a-3a97-4e8c-8bbc-ab052d7217f0 loopback loop /xenial-desktop-amd64.iso linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=/xenial-desktop-amd64.iso noeject noprompt -- initrd (loop)/casper/initrd.lz } 

    here in the search indicates the UUID of the disk (in my case - this is the second section on the Flash-drive).