Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473140 - sys-boot/grub-0.97-r13 - Add the ability to savedefault to MBR instead of /boot/grub/default
Summary: sys-boot/grub-0.97-r13 - Add the ability to savedefault to MBR instead of /bo...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://git.formilux.org/?p=dist/pkg/g...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-06-12 21:32 UTC by Bertrand Jacquin
Modified: 2016-10-04 21:03 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 Bertrand Jacquin 2013-06-12 21:32:22 UTC
I don't known if sys-boot/grub is still maintened actively at gentoo circus. But it may interested some people.

When you use grub-legacy and the savedefault feature, it create a file in /boot/grub/default as described here: http://www.gnu.org/software/grub/manual/legacy/Invoking-grub_002dset_002ddefault.html

This is not always usable in case of RO flash for embedded systems.

Willy Tarreau as wrote some patch to write that default entry in MBR instead of a file. Patch are available here http://git.formilux.org/?p=dist/pkg/grub.git;a=tree;f=patches;hb=refs/heads/0.96-flx0

See 0002-save-default-entry-on-mbr.diff and 0003-add-grub-mbr-default3.diff


Reproducible: Always
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2016-10-04 21:03:53 UTC
As grub:0 exists at this point only to help maintain systems that haven't or can't easily migrate, new features are pretty well out of the question.