NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: COMPAT_LINUX: running one's own small Linux in NetBSD?




Should be no problem. /emul/linux is just a link to /usr/pkg/emul/linux by default, it can be separate partition of course or anything else, it doesn't matter.



пн, 8 февр. 2021 г., 8:44 Thomas Mueller <mueller6726%twc.com@localhost>:
Is it possible to run one's own little Linux in NetBSD by null-mounting directory or partition on /emul/linux?

I am thinking in particular of my own cross-compiled version (from FreeBSD or NetBSD on amd64 aka x86_64) still in infancy, with busybox or otherwise?

This busybox is cross-compiled for Linux (i486-linux-musl or x86_64-linux-musl).

Currently, this is on UFS2 aka ffsv2 file system.

Would the Linux C library have to be glibc, or could it be uClibc-ng or (more likely) musl?

I would want to be able to try with more than one infant Linux installation (one at a time), hence the desire to null-mount on /emul/linux rather than copying to /emul/linux.

Tom



Home | Main Index | Thread Index | Old Index