From owner-freebsd-emulation@FreeBSD.ORG Thu May 11 08:14:28 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2833B16A404 for ; Thu, 11 May 2006 08:14:28 +0000 (UTC) (envelope-from kama@pvp.se) Received: from ms1.as.pvp.se (dns.pvp.se [213.64.187.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2D8C43D45 for ; Thu, 11 May 2006 08:14:27 +0000 (GMT) (envelope-from kama@pvp.se) Received: by ms1.as.pvp.se (Postfix, from userid 1001) id 6B42CA7; Thu, 11 May 2006 10:14:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ms1.as.pvp.se (Postfix) with ESMTP id 69F55A6 for ; Thu, 11 May 2006 10:14:25 +0200 (CEST) Date: Thu, 11 May 2006 10:14:25 +0200 (CEST) From: kama X-X-Sender: kama@ns1.as.pvp.se To: freebsd-emulation@FreeBSD.org Message-ID: <20060511095842.C76846@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: linux_base Gentoo. X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 08:14:28 -0000 Why do we not use gentoo as the default linuxbase? Its so easy to set up, no dependencies. This is how I install it. (No port needed) fetch ftp://mirror.of.choice/pub/os/gentoo/releases/x86/2006.0/stages/stage3-x86-2006.0.tar.bz2 mkdir /compat/linux cd /compat/linux tar xjpf /path/to/stage3-x86-2006.0.tar.bz2 cp /etc/resolv.conf etc Thats it. After that you can 'chroot /compat/linux /bin/bash' and start using emerge to install portages. I have not used emerge to compile a new kernel and world yet. Dont know if I never will need that either. rm /compat/linux and unpack a newer version of gentoo. Some things are borken. like, you cant ping from the chrooted env, but wget works. We really need to get a updated versions of the linux syscalls. Unfortunately I dont have the knowledge and time to get into that work. (As most of the peoples) I have not tested X utils under this emulation since I dont have any desktops running freebsd. I have used this setup for quite some time now (a year or so) and use it when developing linuxbinaries. I also run gameservers with this installation method. At least we will get rid of the compatibility problems with binaries not working anymore on the old linuxbases. /Bjorn