Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48617 - wrong symlink created by postconf in grub-0.94-r1
Summary: wrong symlink created by postconf in grub-0.94-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 55732
Blocks:
  Show dependency tree
 
Reported: 2004-04-21 15:04 UTC by Nick Rout
Modified: 2004-08-22 15:40 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 Nick Rout 2004-04-21 15:04:36 UTC
grub-094-r1.ebuild seems to wreck the symlink between /boot/grub/menu.lst and /boot/grub/grub.conf

The initial / is missing from the symlink, leaving it pointing at a non-existent file.

When the system is rebooted you simply get the grub> prompt as grub cannot find the menu.

Reproducible: Always
Steps to Reproduce:
1. emerge =grub-0.94-r1
2. reboot
3.

Actual Results:  
see above

Expected Results:  
grub menu

I thought it was just a foobar by me, but have seen the same problem described 
in the mailing list.
Comment 1 Oliver Schoett 2004-06-06 08:55:11 UTC
As I pointed out in Bug #31145, Comment #17, that symlink is bad
design and should be eliminated:

 - Grub looks for its menu in menu.lst, and instead of just using this
   as the menu file, gentoo insists that this file should instead be
   maintained as grub.conf, with a symlink from menu.lst so that grub
   finds it.  Thus, gentoo's grub configuration differs from all other
   operating systems and Linux distributions that use grub, for no
   discernible reason.

 - The grub installation becomes dependent on symlinks, which are not
   available on all file system types.  Hence gentoo cannot install
   grub on file system types such as vfat (Bug #31145).
Comment 2 Robert Moss (RETIRED) gentoo-dev 2004-07-11 23:08:13 UTC
grub-0.95 fixes this behaviour by reverting to using grub.conf by default, and moves menu.lst to grub.conf if you have only menu.lst in /boot/grub. Adding bug #55732 as a dependency, where an ebuild and patch are provided.
Comment 3 Robert Moss (RETIRED) gentoo-dev 2004-08-22 15:40:51 UTC
Fixed in grub-0.94-r2. More patches will be added to -r2 as time goes on; these will be added sequentially to allow sufficient testing of each on. This is the first.