Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2009 19:12:45 -0600
From:      Geoff Fritz <gfritz@gmail.com>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Linuxulator, 32-bit executables, and linux-from-scratch
Message-ID:  <20090522011245.GA60713@dev.null>
In-Reply-To: <20090521122911.00002a24@unknown>
References:  <20090520213830.GA13304@dev.null> <20090521122911.00002a24@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 21, 2009 at 12:29:11PM +0200, Alexander Leidinger wrote:
> On Wed, 20 May 2009 15:38:30 -0600 Geoff Fritz <gfritz@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090522011245.GA60713>