From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 08:51:51 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BC85106566B for ; Sun, 8 Feb 2009 08:51:51 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id 6BFF98FC0A for ; Sun, 8 Feb 2009 08:51:51 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1496152rvf.43 for ; Sun, 08 Feb 2009 00:51:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=C8bN8QnD6p19TopgcFot17DiYK6Tklc4cONN8jpZCTc=; b=U6EYneF6TuM1KDRJVEADuznI07cqoBuhYpEacj6zfhe2oakAZYkx4EQgbDFThePkhA IdoNr2sxyftFot0NeO75qELKDrP+0yKF0Ceygthk7ssvnhdXNUMAKndgklYFPAQSiLYD dLJDMXWJ0pKiStZp3iQOBY8Z1HPYrCeYuLi8g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=vBhGmPcyRBDQl1pC2ux+89erbbPAD6ofHyOWfThZ6k6dUPDXLjh/keXRFEipfpxDKQ 5NmLbUK6lVOeAokIlgbTFZhiiwqTd3bzNmH0xGOPxZqh0SrbUJS+f4SKWJ1sbe7XUG+N zCwmNborVXiKeOlgZOHU3iKaZszZBj/0ur5xs= Received: by 10.140.127.13 with SMTP id z13mr2832623rvc.145.1234083111075; Sun, 08 Feb 2009 00:51:51 -0800 (PST) Received: from ?192.168.4.70? (c-68-35-57-46.hsd1.nm.comcast.net [68.35.57.46]) by mx.google.com with ESMTPS id g31sm11351696rvb.2.2009.02.08.00.51.49 (version=SSLv3 cipher=RC4-MD5); Sun, 08 Feb 2009 00:51:50 -0800 (PST) Message-ID: <498E9D26.3090804@gmail.com> Date: Sun, 08 Feb 2009 01:51:50 -0700 From: Tim Judd User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Albert.Shih@obspm.fr References: <20090206202032.GB76165@obspm.fr> In-Reply-To: <20090206202032.GB76165@obspm.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: installkernel on small disk 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: Sun, 08 Feb 2009 08:51:51 -0000 Albert Shih wrote: > Hi all > > I've two servers (in fact guest in vmware) on don't have enought disk space > to make buildkernel (or world). > > For the world freebsd-update can work. But for the kernel I've my own > kernel. > > So if I compile the kernel on the other server how can I put it on the > first ? > > Regards. > > With an NFS mount, with sneakernet, or scp. On the machine with enough disk space: make buildkernel installkernel DESTDIR=/nfsmount KERNCONF=otherkernel #hackish and i'd be worried of this. It will force a backup of the running kernel to the remote /boot/kernel.old I'd recommend: make buildkernel installkernel DESTDIR=/tmp KERNCONF=otherkernel tar -czf /tmp/otherkernel.tgz /tmp/boot/kernel # bring the otherkernel.tgz file to the machine, maybe by usb stick, and extract. don't forget to tar -xz*p*f (permissions) How thin on disk space are you?