From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 23:28:18 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 7D5F6106566B for ; Mon, 9 Feb 2009 23:28:18 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from blade2-ext.obspm.fr (blade2-ext.obspm.fr [145.238.186.8]) by mx1.freebsd.org (Postfix) with ESMTP id 1A30B8FC2A for ; Mon, 9 Feb 2009 23:28:17 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by blade2-ext.obspm.fr (8.13.8/8.13.8/SIO Observatoire de Paris - 15/11/07) with ESMTP id n19NSFZX006777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 10 Feb 2009 00:28:16 +0100 Date: Tue, 10 Feb 2009 00:28:15 +0100 From: Albert Shih To: Tim Judd Message-ID: <20090209232815.GD95274@obspm.fr> References: <20090206202032.GB76165@obspm.fr> <498E9D26.3090804@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <498E9D26.3090804@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (blade2-ext.obspm.fr [145.238.186.20]); Tue, 10 Feb 2009 00:28:16 +0100 (CET) X-Virus-Scanned: ClamAV 0.94.2/8969/Mon Feb 9 23:17:33 2009 on blade2-ext.obspm.fr X-Virus-Status: Clean Cc: questions@freebsd.org Subject: Re: installkernel on small disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 23:28:19 -0000 Le 08/02/2009 à 01:51:50-0700, Tim Judd a écrit > 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) Thanks. But in that case why I can't just do cd /boot tar czvf some_place/kernel.tgz kernel and just transfert the kernel.tgz and make the tar xpf ? > > How thin on disk space are you? 2 Go for everything.... But I can mount by NFS more space (very more). Thanks for the answer. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Mar 10 fév 2009 00:26:02 CET