Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491686 - sys-boot/grub:2 - add menu items for several gentoo=foo options
Summary: sys-boot/grub:2 - add menu items for several gentoo=foo options
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
: 491688 491690 491692 491694 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-19 18:50 UTC by Jaak Ristioja
Modified: 2020-01-12 17:06 UTC (History)
2 users (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 Jaak Ristioja 2013-11-19 18:50:26 UTC
Please provide a grub2 USE-flag for sys-apps/openrc to install a Grub 2 menu item to force /etc/init.d/fsck filesystems checks.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-19 20:18:28 UTC
*** Bug 491688 has been marked as a duplicate of this bug. ***
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-19 20:18:35 UTC
*** Bug 491690 has been marked as a duplicate of this bug. ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-19 20:18:43 UTC
*** Bug 491692 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-19 20:18:51 UTC
*** Bug 491694 has been marked as a duplicate of this bug. ***
Comment 5 Mike Gilbert gentoo-dev 2013-11-19 21:07:52 UTC
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.
Comment 6 Jaak Ristioja 2013-11-19 21:17:38 UTC
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.
Comment 7 Mike Gilbert gentoo-dev 2013-11-19 21:28:33 UTC
Alright. I will reopen this for future implementation.
Comment 8 William Hubbs gentoo-dev 2013-12-12 20:19:44 UTC
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.
Comment 9 Ben Kohler gentoo-dev 2014-08-08 15:36:56 UTC
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.