There is already a guide for this here.
I’ve had to modify it, though, to get Rescuzilla working and after reading another thread I decided to put the entries in /boot/grub/custom.cfg
instead. I’ve also found that RZ doesn’t want to boot if I don’t put the ISO on a separate partition. As an example, here’s my config where I’ve also included a grub entry for the Manjaro ISO.
The location reference, (hd1,3)
is of course dependent on your individual setup. It can be found by using the ls
command in the grub command line.
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Rescuezilla" {
insmod ext2
set isofile="/rz.iso"
loopback loop (hd1,3)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet noeject fastboot toram fsck.mode=skip noprompt splash
initrd (loop)/casper/initrd.lz
}
menuentry "Manjaro grub_iso" {
set isofile="/manjaro.iso"
set dri="free"
set lang="en_US"
set keytable="se"
set timezone="Europe/Stockholm"
search --no-floppy -f --set=root $isofile
probe -u $root --set=abc
set pqr="/dev/disk/by-uuid/$abc"
loopback loop (hd1,3)$isofile
linux (loop)/boot/vmlinuz-x86_64 img_dev=$pqr img_loop=$isofile driver=$dri tz=$timezone lang=$lang keytable=$keytable copytoram
initrd (loop)/boot/intel_ucode.img (loop)/boot/initramfs-x86_64.img
}