[buug] different runlevel with a headless box
Jon McClintock
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.
-Jon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://buug.org/pipermail/buug/attachments/20071021/d1e7c7b4/attachment.sig>
More information about the buug
mailing list