Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2005 15:02:22 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        David Magda <dmagda@ee.ryerson.ca>
Cc:        rhempel@bmts.com
Subject:   Re: Headless install with 5.X floppies not possible?
Message-ID:  <20050402150115.J1503@carver.gumbysoft.com>
In-Reply-To: <179b8b36d91607a80670f062c4c9ce73@ee.ryerson.ca>
References:  <20050402143558.11341.qmail@web54007.mail.yahoo.com> <424EB00F.4030804@bmts.com> <179b8b36d91607a80670f062c4c9ce73@ee.ryerson.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2 Apr 2005, David Magda wrote:

>
> On Apr 2, 2005, at 09:45, Ralph Hempel wrote:
>
> > I haven't tried it with 5.x, but here's how I modify
> > the CD to allow headless installs for 4.x
> >
> > <http://www.hempeldesigngroup.com/embedded/stories/
> > bdgFreeBSDHeadless.html>
>
> Wouldn't is be better to simply use the "-P" option instead of "-h"?
>  From boot(8) on my FreeBSD 4.x system:
>
>                       -P    probe the keyboard.  If no keyboard is
> found, the
>                             -D and -h options are automatically set.
>
> The following is in the BUGS section of boot(8):
>
>       Due to space constraints, the keyboard probe initiated by the -P
> option
>       is simply a test that the BIOS has detected an ``extended''
> keyboard.  If
>       an ``XT/AT'' keyboard (with no F11 and F12 keys, etc.) is
> attached, the
>       probe will fail.
>
> This way if there's a keyboard, then there's presumably a screen, so
> the 'regular' way of using the console will be used. If there's no
> keyboard then serial console will be activated. This is how Sun
> hardware works by default and it works quite well I find.
>
> Are there any major issues with making this the default for x86 (and
> amd64?) for future releases?

May BIOSes lie and always report extended keyboards, even if there is none
connected. Others lie and don't reliably set this bit. So this cannot be
trusted in the general case.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050402150115.J1503>