I was looking for an easy way to manually save settings when booting from an iso-file in the hard disk with grub2, and load them the next boot; but maybe it would be easier to do a persistent boot that automatically restores the saved settings. The only info I have found talks about usb, complex tools or just ideas and plans but I haven't seen any solution. I guess this could be solved with a dedicated partition for the persistence or with a file in the same partition where the ISO files resides. I would prefer the last one because the idea of repartitioning a hard disk on a macbook with refit and dual boot doesn't thrill me.
...........
Note: Sadi's solution is not working for me (without the first line and the file=/cdrom/preseed/ubuntu.seed parameter). Unfortunately, and according to other posts, there are many combinations possible: the casper-rw has to be on the root directory?, does it have to be in a vfat partition? the paramenters are persistent rw?, is a paramenter persistent-path needed?... and so on.
I can hardly believe there is not a single example that explains all this in a clear way.
menuentry "Ubuntu Live 9.10 32bit" { loopback loop /boot/iso/ubuntu-9.10-desktop-i386.iso linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/ubuntu-9.10-desktop-i386.iso noeject noprompt -- initrd (loop)/casper/initrd.lz }– Rinzwind Jan 29 at 20:04