This is an old revision of the document!
Multiboot
copy iso into <disk>/boot/isos
test
sudo qemu-system-x86_64 -enable-kvm -localtime -m 2G -vga std -drive file=/dev/<usbdisk>,readonly,cache=none,format=raw,if=virtio
old
Creare una partizione FAT32 (anche altri filesystem sono supportati) con label MULTIBOOT
Creare una cartella boot all'interno
grub-install --target=i386-pc --recheck --boot-directory=/media/scipio/MULTIBOOT/boot /dev/sdb
EFI
sudo grub-install --target x86_64-efi --efi-directory /media/scipio/MULTIBOOT/ --boot-directory=/media/scipio/MULTIBOOT/boot --removable
/media/scipio/MULTIBOOT/boot/grub/grub.cfg
set imgdevpath="/dev/disk/by-label/MULTIBOOT" set imgdevpath="/dev/disk/by-label/MULTIBOOT" menuentry "SystemRescue CD" { set isofile="/boot/iso/systemrescuecd-x86-5.3.1.iso" loopback loop $isofile linux (loop)/isolinux/rescue64 setkmap=it isoloop=$isofile initrd (loop)/isolinux/initram.igz } # from https://people.debian.org/~jgoerzen/rescue-zfs/ menuentry "Debian ZFS rescue" { set isofile="/boot/iso/wheezy-live-rescue-zfs0.6.3-jgoerzen-20141008.iso" bootoptions="" loopback loop $isofile linux (loop)/live/vmlinuz findiso=$isofile boot=live components live-config initrd (loop)/live/initrd.img } menuentry "Ubuntu 14.04.1 desktop amd64" { set isofile='/boot/iso/ubuntu-14.04.1-desktop-amd64.iso' loopback loop $isofile linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile locale=it_IT.UTF-8 console-setup/layoutcode=it initrd (loop)/casper/initrd.lz } menuentry "Livenet UNIVR" { set isofile='/boot/iso/univr/livenet.iso' loopback loop $isofile root=(loop) configfile /boot/grub/grub.cfg loopback --delete loop }
test boot with qemu
qemu-system-x86_64 -hda /dev/sdx
grub command line
boot windows
insmod chain ls set root=(hd0,0) chainloader +1 boot