Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 195103

Summary: grub: ${BOOT}/grub/default missing
Product: Gentoo Linux Reporter: echtler
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: major CC: echtler
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.