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

Submitter:  Leo Bergolth <bergolth>
Submitted:  Tue 15 Jun 2010 05:31:34 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  1.98
Release:  Reproducibility:  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>
Group administrator
Thu 01 Jul 2010 10:17:46 PM UTC, comment #3: 

Please try the attached patch

(file #20875)

Vladimir Serbinenko <phcoder>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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
  • -email is unavailable- added by phcoder (Updated the item)
  • -email is unavailable- added by jordanu (Posted a comment)
  • -email is unavailable- added by bergolth (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-20 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2010-07-01 phcoder Attached File- Added loop.diff, #20875
    2010-06-17 bergolth Attached File- Added rescue2.iso.xz, #20767
    2010-06-17 bergolth Attached File- Added rescue.iso.xz, #20766

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code