Linuxulator, 32-bit executables, and linux-from-scratch

Geoff Fritz gfritz at gmail.com
Fri May 22 01:12:48 UTC 2009


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 at 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


More information about the freebsd-emulation mailing list