Grub2 version within Jaunty needs to be updated.

Bug #312310 reported by Jean.c.h
10
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

The current version of Grub2 within Jaunty's repos is an older one that needs to be updated.

Jaunty current is 1.96-20080724
Current i believe is 1.96-20081201

Also a C/P from an Ubuntu Brainstorm idea ive made.

Would be nice if we had an Alternate ISO from either a upcoming Daily Build or the next Alpha(3) with Grub2 as the default bootloader.

Theres no relatively new info or How-to's on the Bootloader. The only info that seems to be around is related to older versions of Grub2 and for older versions of the Distro. Therefore it makes it very risky for testers to test it out as we have no idea whats been fixed and what hasn't, whats still necessary and what isn't.

I know including Grub2 as default was discussed at UDS. I think the easiest way for us to test it and see whats its behaviour is due to lack of reasonably new info, is to do it from a fresh install where it is default.

Im sure many or most people currently testing Jaunty and those that jump on around Alpha 3/4 would download this ISO to give it a try and i think that would be the best way to get it tested on a broader range of systems than it currently is being tested on.

Kyle Cheung (kylezoa)
Changed in grub2:
status: New → Invalid
Revision history for this message
plun (plun) wrote :

"Grave bug" for Jauntys version today.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508567

Other public bugs

http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=grub2

I blown away a NTFS partition with Jaunty and Grub2.... ;)

Changed in grub2:
status: Invalid → Confirmed
James Westby (james-w)
Changed in grub2:
importance: Undecided → Wishlist
Revision history for this message
Chris Halse Rogers (raof) wrote :

The grub2 version specified doesn't exist in unstable or testing; it's in experimental. I've tried the experimental version, and it has the small problem of not insmod-ing linux, which makes booting a little difficult - this appears to be http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497791 . I'll have a whirl at tracing this down.

Revision history for this message
plun (plun) wrote :

Well... blkid or vol_id... does it matter ?

https://bugs.launchpad.net/bugs/197311

I also noticed that there are no packages built within Debian experimental just the source.

Revision history for this message
plun (plun) wrote :

OK.. Installed Grub2 from Debian

grub-pc_1.96+20081201-1_i386.deb

grub-common_1.96+20081201-1_i386.deb

grub2_1.96+20081201-1_i386.deb

- Lost my NTFS partition again......

Found this solution

http://blogs.koolwal.net/2008/12/28/windows-xpvista-dual-boot-does-not-boot-from-grub2-or-grub-pc/

11_Windows must also be excecuteable for root, then it works.... ;)

Revision history for this message
plun (plun) wrote :

And the guide is a little wrong with "--" usage

#! /bin/sh -e

echo "Adding Windows" >&2
cat << EOF
menuentry "Windows XP" {
set root=(hd0,1)
chainloader +1
}
EOF

-------------------------------------------------------

The kernel-helper script must also be fixed.... add/remove kernels

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/253581

I just extracted grubs script and put within /usr/sbin

------------------------------------------------------

Everything works..... ;)

Revision history for this message
plun (plun) wrote :

For the records

Os-prober works so the Windows script is not needed.

os-prober must be added as a dependency and included withina grub2 install.

Revision history for this message
Jean.c.h (slug71) wrote :

Agreed that os-prober should be a dependency.

Also the chainload into grub2 from grub legacy did not work for me. Tried to scroll down to the Kernel below the chainload option and that also was broken. Both times received 'Error 11: Unrecognizable device string'.

After doing a reinstall of Ubuntu and then a reinstall of Grub2 i entered 'sudo upgrade-from-grub-legacy' before doing a restart and to skip the chainload and that seemed to do the trick.

So it seems safer to skip the "safe way".
It also seems an Alternate ISO with Grub2 and os-prober by default should work and be available to test.

Windows partition was found after i rebooted by installing os-prober and updating grub.

Revision history for this message
Jean.c.h (slug71) wrote :

Grub2 working well so far.

Looking forward to the daily build with Ext4 tomorrow and do another install of Grub2.

Revision history for this message
Jean.c.h (slug71) wrote :

So installed Grub2 to see if it would play nice with the shiny new Ext4 and it played very nice. Used the version within Jaunty this time instead of the Debian experimental version and noticed that os-prober was also a dependency. NTFS partition found right off the bat and everything just works.

Revision history for this message
Götz Christ (g-christ) wrote :

Is it possible to merge grub2 (1.96+20081201-1) from Debian Experimental? http://packages.debian.org/experimental/grub2

It is five month newer than the Jaunty version.

Revision history for this message
Jean.c.h (slug71) wrote :

Can Grub2 boot XFS filesystems now?
I know a little while ago people were having issues installing Grub2 on XFS systems.
I'm guessing this will also need to be addressed if there are still issues with this and another push was made to make Grub2 default for 9.10...

Revision history for this message
Götz Christ (g-christ) wrote :

It supports much more FS and architectures that Grub 1.

The current status of Grub 2 is this:

http://grub.enbug.org/CurrentStatus

Revision history for this message
Jean.c.h (slug71) wrote :

In that case i hope Grub2 will be default in 9.10.

Revision history for this message
Jean.c.h (slug71) wrote :

Hows Grub2 looking as being the default bootloader in 9.10 Karmic?

Revision history for this message
Colin Watson (cjwatson) wrote :

Sorry, we're not going to upgrade Jaunty at this point, but Karmic has an up-to-date version.

As of tomorrow's daily builds (assuming they build successfully), GRUB 2 will be the default boot loader in Karmic.

Changed in grub2 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

@ Colin:

I understand not upgrading in Jaunty at this point, but if someone (say me) were to prepare a SRU backporting a patch from Debian Stable (same upstream version as in Jaunty) would it be considered? As grub2 will be default in Karmic, I imagine that more people are considering testing in Jaunty. The following revision is the one I'd be interested in backporting:

 grub2 (1.96+20080724-14) unstable; urgency=high

   * 00_use_setroot_inside_menuentrys.diff: New patch to use `set root' inside
   the menuentrys instead of outside. (Closes: #508567)

 -- Felix Zielcke <email address hidden> Mon, 19 Jan 2009 17:15:07 +0100

This bug causes me to have to manually fix grub.cfg each time grub-update is run. Resolving issues like this in Jaunty might make people fell more comfortable with the upgrade to grub2 in Karmic.

Revision history for this message
dino99 (9d9) wrote :

what's about 1.97 now be merged in Jaunty ?

Revision history for this message
Hew (hew) wrote :

Colin already said "we're not going to upgrade Jaunty at this point". Grub 1.97 is in Karmic. See https://wiki.ubuntu.com/StableReleaseUpdates .

Revision history for this message
Colin Watson (cjwatson) wrote :

Andrew: if you want to prepare something backporting individual patches that fit the general SRU guidelines, feel free. As said, though, we won't consider a full upstream update in Jaunty - it's just too intrusive.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote : Re: [Bug 312310] Re: Grub2 version within Jaunty needs to be updated.

On Sat, Sep 5, 2009 at 7:13 AM, Colin Watson<email address hidden> wrote:
> Andrew: if you want to prepare something backporting individual patches
> that fit the general SRU guidelines, feel free. As said, though, we
> won't consider a full upstream update in Jaunty - it's just too
> intrusive.

As we're getting close to Karmic's release, I feel much less inclined
than I did two and a half months ago to do a SRU for Jaunty. Between
real-life and working on Karmic, I doubt I'll have time to do the
proper testing...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.