bugGNU GRUB - Bugs: bug #24250, Grub freezes if one tries to...

 
 

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

bug #24250: Grub freezes if one tries to select a different os than the default on a macbook

Submitter:  James Shewey <jdshewey>
Submitted:  Fri 12 Sep 2008 12:58:43 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  James Shewey
Open/Closed:  Closed Release:  None
Release:  1.96 Reproducibility:  Every Time
Planned Release:  None

Tue 16 Sep 2008 03:22:15 PM UTC, comment #5: 

grub-efi is of course different, grub-legacy doestn't support EFI at all and I even don't know much about EFI.
But good that this seems to be now fixed, then I only hope that the Debian bug reporter confirms this too.

Felix Zielcke <fzielcke>
Group Member
Tue 16 Sep 2008 12:53:35 PM UTC, comment #4: 

This resolved the issue using the debian grub-pc package. The grub-install command would not work on the grub-efi package. Chainloading from .97 to 1.96 works now.

James Shewey <jdshewey>
Tue 16 Sep 2008 09:02:07 AM UTC, comment #3: 

Urm I forgot that the core.img is probable still the old.
/boot/grub stuff gets only updated by running grub-install by hand.
The postinst of the package doesn't do this, except when you upgrade grub package with grub-pc and say yes to chainload it.

grub-install --no-floppy --grub-setup=/bin/true "(hd0)"

That's the line from grub-pc.postinst you should run.
If it then still happens I don't have an idea.

For compiling just check the build dependencys of grub-pc package.
For example apt-get build-depend grub-pc installs everything you need for it as long as you have a deb-src line in /etc/apt/sources.list.
Ubuntu intrepid's grub2 is still old it's from 2008-05-12 so it doestn't have Bean's change I mentioned in the Debian bugreport.

Felix Zielcke <fzielcke>
Group Member
Tue 16 Sep 2008 01:20:01 AM UTC, comment #2: 

I tried both the packages from the ubuntu intrepid repos (http://packages.ubuntu.com/intrepid/grub-efi and http://packages.ubuntu.com/intrepid/grub-common) and the sid repos (http://packages.debian.org/sid/grub-common and http://packages.debian.org/sid/grub-efi) Both of these packages still exhibit the same issue. I tried checking out the code from CVS, however ./configure yeilds

checking whether `gcc' accepts `-fstack-protector'... yes
checking whether `gcc' accepts `-mstack-arg-probe'... no
checking whether target compiler is working... no
configure: error: cannot compile for the target

I am using gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) on a 64 bit system (amd64 kernel/distro)(perhaps this should be a seperate bug report?)

Please let me know if there are any patches I should try (but first I will need to figure out how to compile.) Would you prefer any followup posted on the debian bug?

James Shewey <jdshewey>
Fri 12 Sep 2008 02:54:35 PM UTC, comment #1: 

This has been already reported on Debian BTS
http://bugs.debian.org/487445

Ubuntu has an old buggy grub2 you should always try current upstream SVN or Debian sid/experimental version, on Debian we try hard to be up2date with important bugfixes.

It would be nice if you could find out if Bean's commit has fixed the problem on chainloading grub2 with grub-legacy.

Felix Zielcke <fzielcke>
Group Member
Fri 12 Sep 2008 12:58:43 PM UTC, original submission:  

I am using a macbook pro with the mbr blessed to be the default boot. This boots grub legacy which then loads grub2. After grub 2 is finally loaded, the timeout feature works to boot, but if I try to select a different option besides the default, the menu (and system) will freeze. This is true no matter which line I set as default. This version of the software was installed out of the ubuntu repositories (Kubuntu 8.04, Hardy, the KDE 4.0 version) This is on a penryn based macbook. Please let me know if there is a way to produce debugging output of if there is any other information I can provide. Also willing to do any other macbook testing that might be helpful to the project.

James Shewey <jdshewey>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fzielcke (Posted a comment)
  • -email is unavailable- added by jdshewey (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-09-16 fzielcke StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code