Jump to content

Trying to chainload and ISO in GRUB2


hikikomori

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

+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

Link to comment
Share on other sites

"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 =(

Link to comment
Share on other sites

  • 1 year later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...