hikikomori Posted August 27, 2009 Share Posted August 27, 2009 I've been trying to use the loopback feature of GRUB2 (version 1.96+20090826-3 from Debian Sid) in conjunction with chainloading. The idea was to keep the grub.cfg entries simple, and to preserve the menus on each ISO. I'm not having any luck with it, though. Here's my grub.cfg: menuentry "Parted Magic 4.4" { loopback loop /iso/pmagic-4.4.iso chainloader (loop)+1 } menuentry "Trinity Rescue Kit 3.3 Build 334" { loopback loop /iso/trinity-rescue-kit.3.3-build-334.iso chainloader (loop)+1 } This only gives me "invalid signature" errors. Using the [--force] option for chainloader didn't work. GRUB2 would either just hang or reboot the computer. The same thing happens when I use: menuentry "Parted Magic 4.4" { loopback loop /iso/pmagic-4.4.iso set root=(loop) chainloader +1 } menuentry "Trinity Rescue Kit 3.3 Build 334" { loopback loop /iso/trinity-rescue-kit.3.3-build-334.iso set root=(loop) chainloader +1 } Changing the "+1" to other numbers still produced the same result, while removing it causes invalid file errors. Am I doing something wrong here? Or is it just not possible with the current version of GRUB2? Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 27, 2009 Share Posted August 27, 2009 try just chainloader (loop) Quote Link to comment Share on other sites More sharing options...
hikikomori Posted August 28, 2009 Author Share Posted August 28, 2009 try just chainloader (loop) Thanks for the response. I tried that, but it gives a different error: error: invalid file name '' I also tried this: loopback loop /iso/pmagic-4.4.iso set root=(loop) chainloader but it results in: error: no file specified Quote Link to comment Share on other sites More sharing options...
soe Posted September 3, 2009 Share Posted September 3, 2009 I'm having the same problem with Acronis True Image iso with my grub2 usb multipass. With grub1 i've used successfully the following configuration: title Acronis map --mem /acronis.iso (hd32) map --hook chainloader (hd32) With grub2, i've tried the following, but it keeps giving the error: "invalid file name". menuentry "Acronis" { loopback loop /acronis.iso chainloader (loop) } What am i doing wrong? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Xebozone Posted September 17, 2009 Share Posted September 17, 2009 I'm trying to also do exactly that what you guys have been trying to do. Anyone have any luck? Is there a way to perhaps load the iso into memory, (like a ramdisk) and boot off that? Maybe that will work? Quote Link to comment Share on other sites More sharing options...
solv Posted November 19, 2009 Share Posted November 19, 2009 +1 for the trying to get grub2 to chainload an iso got multipass working but can only choose one kernel/pass one option..and don't get the native splash screen of the iso either. I want to be able to load trk, ophcrack xp and vista, konboot and hirens bootcd.... anxiosuly waiting for the magic incantation Quote Link to comment Share on other sites More sharing options...
solv Posted November 20, 2009 Share Posted November 20, 2009 "The other thing you ask for, loopback chaining, is not possible, because grub’s loopback code will not be ac- cessible from within the chained-to bootloader. Sorry. You could achieve something similar with MEMDISK, but only for relatively small images." Taken from http://michael-prokop.at/blog/2009/05/25/b...-iso-via-grub2/ looks like it's not do-able =( Quote Link to comment Share on other sites More sharing options...
bme2008 Posted October 24, 2011 Share Posted October 24, 2011 I'm very interested in this are there any changes since November 2009? anybody who solved this? would be really great :-) Quote Link to comment Share on other sites More sharing options...
brett teh panda Posted November 2, 2011 Share Posted November 2, 2011 yes please want this need this please answer greetings Quote Link to comment Share on other sites More sharing options...
lawiskapy Posted August 8 Share Posted August 8 llegue aqui por que buscaba como hacer funcionar el --force en grub 2.12 Quote Link to comment Share on other sites More sharing options...
Irukandji Posted August 8 Share Posted August 8 But why did have to bump an very old thread? Quote Pero ¿por qué fue necesario retomar un hilo muy antiguo? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.