Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178390 - update-grub not found by sys-kernel/gentoo-sources-2.6.21
Summary: update-grub not found by sys-kernel/gentoo-sources-2.6.21
Status: RESOLVED DUPLICATE of bug 177576
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-13 17:32 UTC by Stefan de Konink
Modified: 2007-05-13 22:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan de Konink 2007-05-13 17:32:06 UTC
When I do a make install I get:

which: no update-grub in (/sbin:/bin:/usr/sbin:/usr/bin:/sbin:/usr/sbin)


I reinstalled grub-0.97-r3 but it doesn't provide that.

Reproducible: Always

Steps to Reproduce:
Comment 1 Nick Devito 2007-05-13 17:53:23 UTC
Does this work in previous versions? I can't see where (or why) it's calling update-grub. update-grub is a debian utility for updating menu.lst after a kernel upgrade. 
Comment 2 Stefan de Konink 2007-05-13 18:00:54 UTC
(In reply to comment #1)
> Does this work in previous versions? I can't see where (or why) it's calling
> update-grub. update-grub is a debian utility for updating menu.lst after a
> kernel upgrade. 

I didn't see this on my primary system. But today I am upgrading my server ending up in that error.

make install
sh /usr/src/linux-2.6.21-gentoo/arch/x86_64/boot/install.sh 2.6.21-gentoo arch/x86_64/boot/bzImage System.map "/boot"
In order to use the new kernel image you have just installed, you
will need to reboot the machine.  First, however, you will need to
either make a bootable floppy diskette, re-run LILO, or have GRUB
installed.

Checking for ELILO...No
which: no update-grub in (/sbin:/bin:/usr/sbin:/usr/bin:/sbin:/usr/sbin)

Checking for LILO...No

Checking for SILO...No

Checking for PALO...No

Should I make a bootdisk? (y/N) make[1]: *** [install] Interrupt
make: *** [install] Interrupt



(And yes I installed my linux-2.6.20-gentoo-r3 in the same way.)
Comment 3 Nick Devito 2007-05-13 18:11:34 UTC
What version of debianutils are you using?
Comment 4 Stefan de Konink 2007-05-13 18:16:18 UTC
(In reply to comment #3)
> What version of debianutils are you using?

sys-apps/debianutils-2.18
Comment 5 Nick Devito 2007-05-13 18:17:46 UTC
Ahha, I think I might have found the issue. Try downgrading to 2.17.5.

debianutils (2.18) unstable; urgency=low

  * mkboot: check for update-grub instead of grub, thereby
    handling both grub and grub2 packages.  closes: #414495.
    Thanks to Yves Lavoie ing. for suggested course of action.

 -- Clint Adams <schizo@debian.org>  Sun, 11 Mar 2007 23:25:02 -0400
Comment 6 Stefan de Konink 2007-05-13 18:35:23 UTC
That does the trick.
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-13 18:46:31 UTC
this bug is not fixed in debianutils yet
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-13 18:47:08 UTC
base-system: Please patch debianutils to not look for update-grub but instead grub/grub2, thanks!
Comment 9 Nick Devito 2007-05-13 19:01:53 UTC
Or just revert back to 2.17.5 and mask 2.18. The *only* change between 2.17.5 and 2.18 is this patch which breaks installkernel by looking for update-grub instead of grub (and the version number, of course). 
Comment 10 SpanKY gentoo-dev 2007-05-13 22:13:21 UTC

*** This bug has been marked as a duplicate of bug 177576 ***