Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195103 - grub: ${BOOT}/grub/default missing
Summary: grub: ${BOOT}/grub/default missing
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2007-10-08 15:00 UTC by echtler
Modified: 2007-10-08 19:05 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description echtler 2007-10-08 15:00:15 UTC
When a fresh install of grub is done, the file ${BOOT}/grub/default is missing. 
Therefore, any config with "savedefault" directive fails to boot with the confusing error message "Error 15: file not found".

Reproducible: Always

Steps to Reproduce:
1. do a fresh grub install
2. use a config with "savedefault"
3. failure to boot

Actual Results:  
The config entry failed to boot.

Expected Results:  
Should have started the machine.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-08 15:01:27 UTC
Maybe you should read the fine manual and run `grub-set-default 0` or whatever else before filing bugs.
Comment 2 echtler 2007-10-08 15:14:51 UTC
(In reply to comment #1)
> Maybe you should read the fine manual and run `grub-set-default 0` or whatever
> else before filing bugs.
Yes, I know that this is a fix and have already used it before filing the bug. But perhaps the ebuild should simply run this command at the end, because it would prevent a hard-to-track problem from occuring (the grub error message is confusing, to say the least).

I know that in an ideal world, everybody reads the _fine_ manual before doing anything else, but still, people tend to forget things once in a while..
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-08 19:05:22 UTC
The ebuild shouldn't run anything like that at the end because it doesn't install any savedefault entry anywhere in grub.conf. If you are using one, you should know what to do.