Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55732 - New version of GRUB available => 0.95
Summary: New version of GRUB available => 0.95
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Robert Moss (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 15962 42935 42991 45226 48617 55277
  Show dependency tree
 
Reported: 2004-06-30 17:36 UTC by tuXXer
Modified: 2004-08-23 17:15 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for grub-0.95 (grub-0.95.ebuild,2.90 KB, text/plain)
2004-07-11 22:38 UTC, Robert Moss (RETIRED)
Details
Gentoo patches for grub-0.95 (grub-0.95-gentoo.patch.bz2,56.75 KB, application/octet-stream)
2004-07-11 22:43 UTC, Robert Moss (RETIRED)
Details
The reiser4 patch I used against unpatched grub-0.95 (grub-0.95-r4.patch,18.67 KB, patch)
2004-07-16 11:19 UTC, Stefan Schweizer (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tuXXer 2004-06-30 17:36:05 UTC
Well, it seems that a new version of GRUB is available under ftp://alpha.gnu.org/gnu/grub/. Does anybody works on an ebuild for it?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Robert Moss (RETIRED) gentoo-dev 2004-07-01 16:57:37 UTC
Possibly; I have an updated bootsplash patch for an earlier 0.95 CVS snapshot which should still work, and also a few other miscellaneous patches for it knocking about. I'm about to reinstall on my x86 box, so I'll see if I can get this working; if so, I'll post the ebuild and see how many of the grub-related bugs it potentially closes.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-07-09 05:11:31 UTC
It's been 8 days since the last comment. Have you had any luck with these patches? Even if you haven't, it might be a good idea to post them here or put them on a website. It would undoubtedly speed up the process of making a ebuild for the new version of grub.
Comment 3 Robert Moss (RETIRED) gentoo-dev 2004-07-11 22:38:39 UTC
Created attachment 35229 [details]
Ebuild for grub-0.95

This is the ebuild for grub-0.95. The referenced patch will follow.
Comment 4 Robert Moss (RETIRED) gentoo-dev 2004-07-11 22:43:53 UTC
Created attachment 35230 [details]
Gentoo patches for grub-0.95

This is a large set of patches (57K bzip2'd) for grub-0.95. The list of applied
patches, with a large amount of work done to them to get them all to apply
concurrently, is as follows (each can be found on the Internet in various
places):

grub-0.90-append.patch
grub-0.90-install.in.patch
grub-0.90-symlinkmenulst.patch
grub-0.91-splashimagehelp.patch
grub-0.93-configfile.patch
grub-0.93-endedit.patch
grub-0.93-graphics-bootterm.patch
grub-0.93-special-device-names.patch
grub-0.94-addsyncs.patch
grub-0.94-geometry-26kernel.patch
grub-0.94-initrdmax.patch
grub-0.94-installcopyonly.patch
grub-0.94-vendor-class-id.patch
grub-0.95-debian.patch
grub-0.95-graphics.patch
grub-0.95-hiddenmenu-tweak.patch
grub-0.95-reiser4-20040614.patch
grub-0.95-staticcurses.patch

Many come from Debian and Red Hat; others come from the GRUB bug tracking page
on savannah.gnu.org.

Reiser4 support is as yet untested; I am awaiting testers for this. None have
been forthcoming thusfar. Any assistance would be appreciated.

This does work with a multilib gcc on AMD64.

Finally, the default grub configuration file is now once again grub.conf rather
than menu.lst.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2004-07-16 11:18:31 UTC
Hi,
I have a reiser4 root.
With my latest modifications to reiser4progs and libaal the autoconfig will enable reiser4-support if these both packages are installed. But it does not compile, complaining that reiser4/libreiser4.h was not found. Possilby a missing -I/usr/lib. Also as I found out with my tests you should not use reiser4 in the netboot build because the stage gets too big then. When I finally got reiser4 to compile it just segfaults:


grub> kernel (hd0,
 Possible partitions are:
   Partition num: 0,  Filesystem type is reiser4, partition type 0x83
   Partition num: 1,  Filesystem type unknown, partition type 0x82
   Partition num: 2,  Filesystem type unknown, partition type 0x83
   Partition num: 3,  Filesystem type is ext2fs, partition type 0x83

grub> kernel (hd0,0)/Segmentation Fault
/home # 

Perhabs reiser4 support is not really ready in grub ..
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2004-07-16 11:19:41 UTC
Created attachment 35588 [details, diff]
The reiser4 patch I used against unpatched grub-0.95
Comment 7 Denis Knauf 2004-08-04 06:52:37 UTC
where's the lvm(2)-patch?
Comment 8 Robert Moss (RETIRED) gentoo-dev 2004-08-04 18:45:57 UTC
Denis, which lvm(2) patch would that be? I was under the impression that grub-0.95 supported lvm and lvm2 without the need for patching, but please correct me if I'm wrong? I don't have any lvm stuff to test against.

I'll be tearing the reiser4 support back out, because it isn't really ready yet. Maybe at some point in the future when I get time.
Comment 9 Gerald 2004-08-05 09:54:01 UTC
Hi everyone,

is there any chance that another patch, the 'One Shot' (sometimes also referenced as 'Lilo -R') patch might be included in this (fine) ebuild ?

It's a patch to allow booting a boot entry only once, very useful for servers that you do not have physical access to. (If you try a new kernel you're screwed if it doesn't boot, and since you usually have (automated) reboot capability it could be easily fixed by a one-shot option).

This code is in Grub-CVS since June 20th, if i understood the NEWS file in CVS correctly - but 0.95 was released a week before that though :-(

Other distributions have One-Shot-capable Grubs by default (i have positive reports from Fedora Core 2 and Debian users). I think Gentoo should also have this very server friendly feature.

The Patch can be found here:
http://www.linuxfromscratch.org/patches/downloads/grub/grub-0.95-oneshot-1.patch

Yours sincerely,
             Gerald (desperate root-server user without physical access)

PS: The eBuild compiled and worked fine for me, by the way. It's just missing the the features i need :-)
Comment 10 Robert Moss (RETIRED) gentoo-dev 2004-08-06 09:19:49 UTC
Gerald, it's already in there. I think you want something like savedefault --once.
Comment 11 Danny 2004-08-10 16:11:32 UTC
For this release would it be possible to get a keyword (or I guess a seperate ebuild, grub-vanilla?) which has no patches at all.  The grub people won't listen to our bug reports as Gentoo users unless we try out stuff on an unpatched version.  This would help a lot.
Comment 12 Stefan Schweizer (RETIRED) gentoo-dev 2004-08-10 22:43:30 UTC
Ok, the new grub patch for reiser4 works and you can find it for 0.95 here:
http://thebsh.namesys.com/snapshots/2004.08.09-internal.testing/grub-0.95-reiser4-20040809.diff

The older one works also, but my fs on hd was somehow broken.
Reiser4 gets only compiled if reiser4progs and libaal is installed.
So its safe to apply the patch.
Comment 13 Robert Moss (RETIRED) gentoo-dev 2004-08-22 15:44:08 UTC
Stefan, current policy dictates that reiser4 support won't be added to grub-0.95 at least until namesys declare it stable. Anything marked "internal-testing" isn't going in, I'm afraid.
Comment 14 Bret Towe 2004-08-23 12:50:36 UTC
i was playing with reiser4 support for grub and found that patch here:
the readme has a note about grub i dont understand what it means
maybe its reason for the segfault?
ftp://ftp.namesys.com/pub/reiser4progs/
Comment 15 Robert Moss (RETIRED) gentoo-dev 2004-08-23 13:48:58 UTC
Yes, it is the reason, and unless they can get that back under the size limit, it's not going in portage.
Comment 16 Robert Moss (RETIRED) gentoo-dev 2004-08-23 17:15:14 UTC
grub-0.95.20040823 in CVS. Closing.