bugGNU GRUB - Bugs: bug #30143, loopback loop /xxx.iso and set...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #30143: loopback loop /xxx.iso and set root=(loop) causes the machine to reboot

Submitted by:  Leo Bergolth <bergolth>
Submitted on:  Tue 15 Jun 2010 05:31:34 PM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 1.98Reproducibility: Every Time
Planned Release: None

Tue 20 Jul 2010 07:59:04 PM UTC, comment #4:

Since author failed to respond I suppose patch fixed the problem. Committed.

Vladimir Serbinenko <phcoder>
Project Administrator
Thu 01 Jul 2010 10:17:46 PM UTC, comment #3:

Please try the attached patch

(file #20875)

Vladimir Serbinenko <phcoder>
Project Administrator
Thu 17 Jun 2010 09:31:45 AM UTC, comment #2:

I have attached the requested rescue image.
rescue.iso was created with grub 1.98-1 from GRML-2010.04. (Which is effectively the correspondent debian package.)
rescue2.iso was created with grub-1.98+20100614-2 from debian sid.

I can also reproduce the behavior with grub2-1.98-2.fc14 from Fedora Rawhide.

--leo

Leo Bergolth <bergolth>
Wed 16 Jun 2010 11:48:23 PM UTC, comment #1:

The same thing happened to me once (reboot on set root=(loop)) when I was testing this feature of grml 2010.04. I couldn't reproduce it though, so I thought that it was just a fluke (until seeing this report).

I just tried again, and was able to successfully boot: http://grml.deb.at/grml_2010.04.iso
using:
http://prdownload.berlios.de/supergrub/super_grub_disk_hybrid-1.98s1.iso

The one time I was hit by this I was testing with qemu, so I don't think that the bug is hardware specific. Could you create a bootable grub rescue image with "grub-mkrescue --output=rescue.iso" and attach it to this bug report? Hopefully the problem will be reproducible with this image.

(If you compress the image with xz it should just barely make it under the attachment size limit)

Jordan Uggla <jordanu>
Tue 15 Jun 2010 05:31:34 PM UTC, original submission:

I am trying to boot from an iso that resides on a USB drive (FAT32 formatted), using the following config:

----------------------------------------
menuentry 'GRML' {
iso_path=/iso/grml_2010.04.iso
export iso_path
loopback loop $iso_path
set root=(loop)
configfile /boot/grub/grub.cfg
}
----------------------------------------

Selecting the entry causes the machine to reboot.

When I enter the commands on the grub commandline, it reboots at
"set root=(loop)".

Using "configfile (loop)/boot/grub/grub.cfg" correctly shows the corresponding boot menu but, of course, without changing the root, all paths referenced in this file won't work.

Leo Bergolth <bergolth>

 

Attached Files
file #20875:  loop.diff added by phcoder (2KiB - text/x-diff)
file #20767:  rescue2.iso.xz added by bergolth (382KiB - application/octet-stream - rescue image created with debians grub-1.98+20100614-2)
file #20766:  rescue.iso.xz added by bergolth (352KiB - application/octet-stream - rescue images, created with debians grub-1.98_1 and grub-1.98+20100614-2)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by jordanu (Posted a comment)
  • -unavailable- added by bergolth (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 20 Jul 2010 07:59:04 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 01 Jul 2010 10:17:46 PM UTCphcoderAttached File-=>Added loop.diff, #20875
    Thu 17 Jun 2010 09:30:00 AM UTCbergolthAttached File-=>Added rescue2.iso.xz, #20767
    Thu 17 Jun 2010 09:28:59 AM UTCbergolthAttached File-=>Added rescue.iso.xz, #20766

    Back to the top


    Powered by Savane 3.1-cleanup1