[buug] different runlevel with a headless box
jammer at weak.org
Sun Oct 21 04:20:31 PDT 2007
On Sun, Oct 21, 2007 at 10:59:00AM -0700, Michael Paoli wrote:
> Another possible approach:
> * use initrd, do enough initialization to determine if console keyboard is
> present or not, go to the appropriate runlevel based upon that. Such an
> approach may have advantages of making the run level determination earlier
> in the boot sequence (e.g. before running all the rc proper stuff).
This is probably your most straightforward avenue. Use an initrd on
the thumb drive with a different /etc/inittab on it. Then it's simply
a matter of convincing grub to check for the thumb drive and use it
if it's present.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the buug