From owner-freebsd-emulation@FreeBSD.ORG Fri May 22 01:12:47 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3CAE1065678 for ; Fri, 22 May 2009 01:12:47 +0000 (UTC) (envelope-from gfritz@gmail.com) Received: from mail-px0-f174.google.com (mail-px0-f174.google.com [209.85.216.174]) by mx1.freebsd.org (Postfix) with ESMTP id A22B88FC0A for ; Fri, 22 May 2009 01:12:47 +0000 (UTC) (envelope-from gfritz@gmail.com) Received: by pxi4 with SMTP id 4so1284727pxi.3 for ; Thu, 21 May 2009 18:12:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=UR6l6FRT+5LQpdFzyJxMLc2WMFUY/3bespo9muSK/cU=; b=bcW0cMJmyEbvIuFMQKDOSHqyHhzWeLQKe5J9lGS1GxLN7FOTfGZr9igRNsiVPpKni8 47fZvvLoMSlaEZvfo21mViOSQ6v+tpA/nQu7SVvMn7iJgeTESgO9R2QC6DJdQqpwKkNs H71ItIIkbdgTSE+UkS0MFw/aZa35kRjjaPCMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Ea60Oz2o7Xm3H/ce5VXbpH4cQIp2A3O9Ljyf/smBBN5RARetabsZ6KBZvR2x9da2dC Rb/4/2WQxRMVp9XAeLQJnJ0GKahjp7ZlP4wDv75QimAvW0ee1h2KYuWrG1uGtdvQoTkU CM+VG+vJppiv+neBNGsA7g4Oi0pWBm8PmJ5Mc= Received: by 10.142.192.1 with SMTP id p1mr1092218wff.316.1242954767418; Thu, 21 May 2009 18:12:47 -0700 (PDT) Received: from dev.null (63-12-66-208.dsl.cust.wirelessbeehive.com [208.66.12.63]) by mx.google.com with ESMTPS id 24sm2737867wfc.17.2009.05.21.18.12.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 21 May 2009 18:12:46 -0700 (PDT) Received: by dev.null (Postfix, from userid 1001) id 6CF3537; Thu, 21 May 2009 19:12:45 -0600 (MDT) Date: Thu, 21 May 2009 19:12:45 -0600 From: Geoff Fritz To: Alexander Leidinger Message-ID: <20090522011245.GA60713@dev.null> References: <20090520213830.GA13304@dev.null> <20090521122911.00002a24@unknown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090521122911.00002a24@unknown> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-emulation@freebsd.org Subject: Re: Linuxulator, 32-bit executables, and linux-from-scratch 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: Fri, 22 May 2009 01:12:48 -0000 On Thu, May 21, 2009 at 12:29:11PM +0200, Alexander Leidinger wrote: > On Wed, 20 May 2009 15:38:30 -0600 Geoff Fritz wrote: > > > > In other words, can I get away with not loading the 32-bit FreeBSD > > libraries? > > You do not need the FreeBSD lib32 stuff. Good to know. > > I've tried searching, but wasn't able to find any relavent infomation > > about this next item. Has anyone tried a linux-from-scratch > > bootstrap process under Linuxulator to create a custom environment? > > Have a look at the gentoo linux_dist ports. This should be similar. I have a working linux emulation setup (using linux_base-f8-8_11) for running the flash plugin. Would installing the gentoo stuff clobber this at all? > > Are there any low-level problems that may prevent me from doing so? > > And, on a related note, is it possible to have multiple linux trees > > for emulation? That is, if I mount linsys and linproc correctly in > > another place (other than /compat/linux), will things work as > > expected? > > It will only work, if you chroot into those directories. > > Notes: > The linux base ports in FreeBSD are designed to play well > together with FreeBSD without chroot, you can not really chroot into > such an environment. > > What ever you do with linux from scratch, it will not play as well > out of the box with FreeBSD as the linux base ports. So if you go this > way, I suggest to only use the from scratch stuff with chroot (or in > a linux-only-jail). Chroot is what I had in mind, mostly. There are a few linux console apps that I was hoping to use under FreeBSD, but didn't want the overhead of full virtualization. Thanks for the info. -- Geoff