Summary: | sys-boot/grub:2 - add menu items for several gentoo=foo options | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jaak Ristioja <jaak> |
Component: | [OLD] Core system | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | base-system, bkohler |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jaak Ristioja
2013-11-19 18:50:26 UTC
*** Bug 491688 has been marked as a duplicate of this bug. *** *** Bug 491690 has been marked as a duplicate of this bug. *** *** Bug 491692 has been marked as a duplicate of this bug. *** *** Bug 491694 has been marked as a duplicate of this bug. *** Sorry, but I just don't see the value in this. If you can make a case for it and provide an implementation, I would consider adding it as an optional feature. Well gentoo=nox is always very handy when debugging graphics-related problems. The gentoo=forcefsck is useful for mobile laptop users who can force fsck when on AC power so that the probability of mount-count of filesystems hitting max-mount-counts is lower when booting a laptop on low battery. I don't care much about the other options, but I filed the bugs just in case, because they are gentoo-specific gentoo=* kernel options. I can't provide an implementation, because the /etc/grub.d/ magic is rather esoteric for me right now. Alright. I will reopen this for future implementation. I am not the grub2 maintainer, but I came across this because I saw the reference to adding a use flag to OpenRC. I thought I would add comments wrt what I have learned about grub2 so far. There are several options available that can be used to set up custom menu items. 1) add the menu items to /etc/grub.d/40_custom 2) write /boot/grub/custom.cfg,. 3) write /boot/grub/grub.cfg directly. All of the info on what can go in the configuration is in "info grub". I tend to think that because the front end is optional we shouldn't add configuration settings to it, but maybe put some examples in the wiki. I'm not really sure we need auto-generated grub entries for every single one-off / debug / rescue / bugfix kernel parameter out there. Just edit the command-line @ runtime when you need one of these things. |