From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 19:39:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 020831065674 for ; Fri, 12 Mar 2010 19:39:53 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 944428FC23 for ; Fri, 12 Mar 2010 19:39:52 +0000 (UTC) Received: by bwz8 with SMTP id 8so1355244bwz.3 for ; Fri, 12 Mar 2010 11:39:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.0.70 with SMTP id 6mr3847169bka.14.1268422790938; Fri, 12 Mar 2010 11:39:50 -0800 (PST) X-Originating-IP: [93.203.48.106] In-Reply-To: <560f92641003121026j785eabb2h9d6bcee0753cfeb0@mail.gmail.com> References: <93C575B79E9B01449EBBB084032BC570123208B760@mail.ucwv.edu> <44ocivszcb.fsf@be-well.ilk.org> <4B99D335.8010800@markshroyer.com> <560f92641003121026j785eabb2h9d6bcee0753cfeb0@mail.gmail.com> Date: Fri, 12 Mar 2010 20:39:50 +0100 Message-ID: From: "C. P. Ghost" To: freebsd-questions@freebsd.org, Nerius Landys Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Replacing Home Router With PC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2010 19:39:53 -0000 On Fri, Mar 12, 2010 at 7:26 PM, Nerius Landys wrote: >> Yep! Geode-based boxes are great. The ALIX boards are looking like >> Soekris gear, which I'm very happy with (of course running FreeBSD): >> >> http://www.soekris.com/net5501.htm > > Is there a nice guide that explains how to install FreeBSD onto a > headless system (such as one of these small devices) via serial port? Basically, you have two options: 1. Boot diskless with PXE, and install FreeBSD over the network: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-diskless.= html http://jdc.parodius.com/freebsd/pxeboot_serial_install_8.html 2. Install FreeBSD on a HDD or CF from a working computer, then move the disk/card to the embedded device. For Soekris (and probably ALIX as well, since it's also GEODE-based), there are specific kernel config options that you may or may not need: http://wiki.soekris.info/Installing_FreeBSD Once you've installed FreeBSD, remember to tweak /etc/ttys, so that getty spaws a login: on the serial console. Especially, turn ttyv0 off and ttyu0 on: ttyv0 "/usr/libexec/getty Pc" cons25 off secure ttyu0 "/usr/libexec/getty std.9600" dialup on secure > I've done this once before but it was long ago, and it was actually an > install via floppy disk and CD-ROM combination (IIRC), so that > procedure would not apply here (regarding these tiny devices mentioned > above). =A0The Handbook contains some explanation regarding serial > communication, but I don't believe they really explain _installing_ > onto a headless system. =A0Also, in the past, I've had problems > installing FreeBSD via CD-ROM drive that was connected as a USB. =A0I > know that in the past FreeBSD didn't support booting via USB device, > maybe they have fixed that? =A0My last encounter with the USB-boot > problem was with my 1U server that didn't have a CD-ROM drive; I was > not able to install i386 7.0 onto that. =A0I had to open the 1U case and > temporarily hook up an IDE CD-ROM drive. =A0If I remember correctly, > trying to boot from a USB CD-ROM would result in getting a TON of > garbled text scrolling across the screen. =A0I actually posted about > that about 2 years back, and the responses indicated that booting via > USB device was not supported. > > My imagination would tell me that to install FreeBSD onto one of these > tiny devices, I would first create an ISO image that would basically > use serial communication for everything, then burn that to a CD, then > boot via USB CD-ROM drive, while having another computer connected to > the serial port of the tiny device (via null modem cable) and using a > command-line tool such as ``cu'' from the other computer. > > I would be very interested into looking into purchasing one of these > small devices, but I'm really scared about the FreeBSD install > procedure. -cpghost. --=20 Cordula's Web. http://www.cordula.ws/