Bug 468461
Summary: | [PATCH] grub timeout=0 means serial users cannot select kernel or add kernel args | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Doug Chapman <dchapman> | ||||
Component: | booty | Assignee: | Peter Jones <pjones> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | dcantrell, error, katzj, k.georgiou, mads, notting, pjones, wwoods | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-11-18 22:47:18 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 438943 | ||||||
Attachments: |
|
Description
Doug Chapman
2008-10-24 20:22:44 UTC
For the VGA console, you can hold a key (like Shift or Control) at boot to bring up the GRUB menu. This is the expected behavior. Does that work for serial console as well? (In reply to comment #1) > For the VGA console, you can hold a key (like Shift or Control) at boot to > bring up the GRUB menu. This is the expected behavior. > > Does that work for serial console as well? No, this doesn't appear to work for me on serial console. Yeah, now that I think about it, holding Shift wouldn't do anything over a serial link. Can you try hitting a key (any key - spacebar will do nicely) when GRUB loads and see if it gives you the expected menu? Alternately, I guess if we set up serial, we can change the timeout I have tried holding keys and hitting them very rapidly as the menu comes up. As Jeremy suggests we need to increase the timeout (I would suggest 5 sec) on serial console. What does your grub.conf look like? It appears that we set: timeout=0 terminal --timeout=5 serial console Is the first overriding the second? (In reply to comment #6) > What does your grub.conf look like? > > It appears that we set: > > timeout=0 > terminal --timeout=5 serial console > > Is the first overriding the second? yes, this is what my config looks like. The 2 timeouts are for different things (as I understand it). The "terminal --timeout=5" is the time it waits for a user to press a key on either the serial or the VGA console, this is what allows grub to automatically detect which console the user is using. The timeout=0 is the time it waits for the user to select a kernel before it boots, that's the one causing the problem here. Created attachment 322465 [details]
patch
Here's a booty patch that theoretically should fix this - I don't have any serial-console capable machines to test with right now.
As discussed in Bug 468526 the timeout value isn't used if any chainloader entries exists. It is overruled by chaintimeout which apparently defaults to 5 but is configurable. Depending on how 468526 is resolved I think the patch from comment 8 should set chaintimeout too. Should be fixed in booty-0.106-1.fc10, grub-0.97-38.fc10. Tagged for final. |