Thank you oldfred you are a genius. It's working now. What had been mixing me up was one important detail, which was explained very nicely by drs305 (thanks to drs305 too): "...Since a separate /home partition is only mounted by fstab later in the boot process, Grub 2 will not find the file if the path is designated (hdX,Y)/home/username/iso/isofilename." That makes sense now that I read it, but that's only now . I read several pages I got to with searches but somehow the combinations of lines in the menu entries were not quite right and it wouldn't boot. And in trying to decide which part to doubt the idea of stripping "home" seemed to make no sense so I kept adding that to the path.
Another interesting point made in one of the pages you linked to was that rescue type distros tend to be designed to run from RAM so that you can for example resize a partition even if you boot from a gparted iso on /, so I guess I didn't need to change things. But I'm glad to have a better understanding of how it works, so thanks a lot.
In case it helps somebody else the menu entry text I have now in /etc/grub.d/40_custom is:
Code:
menuentry "SystemRescueCd" {
set isofile="/<username>/Documents/downloaded/systemrescuecd-x86-4.5.2.iso"
loopback loop (hd0,7)$isofile
linux (loop)/isolinux/rescue64 isoloop=$isofile
initrd (loop)/isolinux/initram.igz
}
which is sort of a hybrid of various attempts. It was basically copied from the SystemRescueCD manual but now with the correct way of specifying the location of the iso.
Bookmarks