Summary: | interactive mode during boot process | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | [OLD] baselayout | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | go.linux.phil, henti, paulpach |
Priority: | Normal | Keywords: | InVCS |
Version: | 1.3 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | interactive.diff |
Description
SpanKY
![]() And you want to do all this with bash, and keep it at the current 5 times faster than Mandrake/Redhat's stuff ? what can i say, im greedy :D (1) == should have (2) == really fucking cool if we had so that shows a little priority for this ;) Hehe, ok. To be honest, I guess I am still old skool, but if I have a boot problem, I usually solve it with the following at lilo prompt: linux init=/bin/bash This does not say it is the best solution for all. I have really put some effort into getting depscan.sh and rc-envupdate.sh a bit faster after needed updates that slowed them down again, and would like to do the same for the rest. I guess what kept our initscript apart, was dependencies, and their speed/simplicity, but I will have a look at interactive startup, and how much overhead it will take. Maybe adding a tool to simulate bootup after changes from a already booted system can take care of (2). i agree with you that the only real way to fix a broke system is with init=/bin/bash, im just posting something i saw on irc that i thought would be neat ;) howdy. I do think this is a valid optiont o have since most users follow the intall instructions and use grub not lilo ... and I've still not figuired out how to send stuff via grub or even boot init single user mode. folowing Mandrake's example give the (l)user 2 seconds to press (x) key to go into interactive mode which lists single user mode, confirmation of boot process etc etc whichever features are suggested .. That way .. if you don't need interactive .. you sacrifice 2 seconds .. for those anal enought add an entry in /etc/conf.d/rc to enable the prompt so they don't have the 2 second stop .. Just some thoughs .. Comments ? Henti Created attachment 46669 [details, diff]
interactive.diff
patch to make boot interactive.
press I to enter interactive mode, for each service you will get a menu. where
you can run it, skip it, resume normal boot or get a shell (with root password)
Applied to our svn repo with a few modifications. Thanks for the patch :) Will be in baselayout-1.12.0_pre6 pre6 is out I tried i and I - no joy :( # qlist -ICv {baselayout,openrc} sys-apps/baselayout-2.1.5 sys-apps/openrc-0.5.0-r2 |