From owner-freebsd-stable@FreeBSD.ORG Fri Feb 12 14:48:56 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7080106566C for ; Fri, 12 Feb 2010 14:48:56 +0000 (UTC) (envelope-from mattjreimer@gmail.com) Received: from mail-gx0-f218.google.com (mail-gx0-f218.google.com [209.85.217.218]) by mx1.freebsd.org (Postfix) with ESMTP id 9990C8FC1A for ; Fri, 12 Feb 2010 14:48:56 +0000 (UTC) Received: by gxk10 with SMTP id 10so2277804gxk.3 for ; Fri, 12 Feb 2010 06:48:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=REe5YVCPYLOHTDeH0GvBeFwgl5zAFdYYNnGHJBbpIFE=; b=kCvxDzD94HhnKSK2AUJUe2GSRqBxlYfnyc96C+Y+KTXgo8d+dDGolP3rp9lsP4sAWL efk8qxJTCwhl5VC8L1uTOpJslHTKi8rmLE+YQVZEKMWmVNwT5Efr6dwDKNXAjnVt6eao nkEdPF3idTImmnz8OFPjKk49WtcAys+ByRjEQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EkScSLF4027lRlrDGDNfImZQNDqSSiv9IpBxx6eIFZMXg6GdhQSnTKrZiNFvLYGD0O iC1xvtQJiWgfwiG50njLfKESEwpi1MjRz5ZvY1gGUAR+xmpyazYmaluFvMbnv49CPZux n6FOyne6Ydi4ccCk5Wao6cBxi04FJaHWXeMO0= MIME-Version: 1.0 Received: by 10.150.48.10 with SMTP id v10mr2382642ybv.169.1265984515362; Fri, 12 Feb 2010 06:21:55 -0800 (PST) In-Reply-To: References: Date: Fri, 12 Feb 2010 06:21:55 -0800 Message-ID: From: Matt Reimer To: Charles Sprickman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: stable@freebsd.org Subject: Re: ZFS on root, serial console install X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 14:48:57 -0000 On Thu, Feb 11, 2010 at 10:27 PM, Charles Sprickman wrote: > Any hints on that one? > > I finally got around to getting dhcp/tftp/nfs setup on an internal network > to perform normal installs (and with some pxelinux hackery, the ability to > boot a DOS disk or memtest86 disk images). > > Sysinstall in general is kind of an unweildy beast over serial, but one > thing I was not able to accomplish was to get a shell (no extra virtual > consoles on serial) or attempt any mounting of fixit media. From my last > install that put ZFS on root, I had to do quite a bit of tapdancing since I > had no DVD or bootable USB media - lots of switching from the install disk > to fixit, which brought me to many chicken and egg moments. I did it > though... > > But remotely, I'm not seeing a good way to do this. If mfsroot were larger > and had more tools, then I'd be in business. This is probably the direction > I need to get shoved in. > > I've looked at some other options with pxelinux and perhaps booting the > mini ISO, but I'm not sure that gets me anywhere. > > Any tips? This isn't a make or break situation, I live 15 minutes from the > colo... It's more of a quest. :) The way I do it is to boot over the network using pxeboot, configure the partitions and ZFS pool and filesystems mounted on /mnt, then install using sysinstall, using the Options dialog to set the install directory to /mnt. I think I created the NFS filesystem using "make installworld DESTDIR=/usr/nfs/freebsd" or something like that; this gives you all the tools you need. Matt