Re: Linux compatibility with more than one Linux installed?
On 12/06/2011 05:45, RW wrote: On Tue, 6 Dec 2011 06:29:03 -0600 Zhihao Yuan wrote: On Tue, Dec 6, 2011 at 6:21 AM, RW rwmailli...@googlemail.com wrote: On Tue, 6 Dec 2011 04:54:18 -0600 Zhihao Yuan wrote: Not really. The actual thing is, linuxulator is a Linux kernel running as a FreeBSD kernel module. The only thing FreeBSD kernel do is to identify the Linux program and to pass it to the Linux kernel. To the Linux programs inside a GNU chroot enviroment, they think they are running inside a Linux box and actually they are running inside a Linux box. Are you sure about that? I was under the impression that it was a fairly thin emulation layer on top of the FreeBSD kernel. Has something changed? To Linux program, there is no emulation layer. This technology should be called extended ELF lookup table, and has nothing to do with emulation. It's not emulation in the narrow sense that vmware is emulation and wine isn't, but it certainly is emulation within the normal sense or the word. My dictionary defines emulate as imitate zealously. It's not emulation, in fact it's much more like wine. We have traditionally referred to it as Linux binary compatibility rather then emulation, since the Linux syscalls are actually implemented by the FreeBSD kernel. But what I was getting at was the statement linuxulator is a Linux kernel running as a FreeBSD kernel module which I'm guessing now you didn't mean literally. That's not true in the sense that it's a separate process, but it is true in a sense, see above. Doug -- [^L] Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
On Wed, 7 Dec 2011 11:56:49 + (GMT) Thomas Mueller mueller6...@bellsouth.net wrote: Too much to quote here without making a mess, and I want to get to bed, but thanks for all the ideas. I noticed the advice with emulators/wine that running programs on an actual MS-Windows partition can make a mess of said partition; wonder if there would be such a hazard with Linux instead of MS-Windows. It depends. I can not comment upon the quality of the ext2fs part of FreeBSD, but the linuxulator itself will not destroy anything. Theoretically it can be the case that a sloppy programmed (linux-)tool may destroy some data if it wants to use something which does not work, but in this case I would say it is the fault of the tool to not check for errors... Or let's say it differently: if it destroys something, you should have played Lotto instead of doing whatever you did... ;-) Bye, Alexander. -- http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 So I guess it's worth a try after I get my Linux built and installed, am busy now with FreeBSD 9.0-RC3. Also, I want to see if I can cross-build NetBSD from FreeBSD, partly as a dress rehearsal for building Linux, partly to see how and if cdrtools/cdrecord works in NetBSD compared to FreeBSD. So it looks like the linuxulator does not have the hazards associated with MS-Windows and wine. Tom ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
Too much to quote here without making a mess, and I want to get to bed, but thanks for all the ideas. I noticed the advice with emulators/wine that running programs on an actual MS-Windows partition can make a mess of said partition; wonder if there would be such a hazard with Linux instead of MS-Windows. But it was safe to run programs on a DOS partition when I had OS/2 Warp 3 and 4, which could run many DOS programs even without using an actual DOS installed. OS/2 Warp 4 could also boot a specific version of DOS, but there were still limitations on what DOS programs could do when running under OS/2. Tom ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
On Wed, 7 Dec 2011 11:56:49 + (GMT) Thomas Mueller mueller6...@bellsouth.net wrote: Too much to quote here without making a mess, and I want to get to bed, but thanks for all the ideas. I noticed the advice with emulators/wine that running programs on an actual MS-Windows partition can make a mess of said partition; wonder if there would be such a hazard with Linux instead of MS-Windows. It depends. I can not comment upon the quality of the ext2fs part of FreeBSD, but the linuxulator itself will not destroy anything. Theoretically it can be the case that a sloppy programmed (linux-)tool may destroy some data if it wants to use something which does not work, but in this case I would say it is the fault of the tool to not check for errors... Or let's say it differently: if it destroys something, you should have played Lotto instead of doing whatever you did... ;-) Bye, Alexander. -- http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
The X server has a unix socket somewhere in /tmp. Normally this is used instead of a TCP connection to the localhost. You need to change the DISPLAY env-variable to use a TCP connection, or you need o make the unix socket available to the chrooted linux-env. The linuxulator in FreeBSD is nearly linux 2.6.16 compatible. We lack inotify and epoll support which the 2.6.16 kernel normally supports. If your system does not depend upon inotify, epoll and anything newer than 2.6.16, it should work. If you give it a try, please report success or failure to emulat...@freebsd.org. Bye, Alexander. Now I might have something to try, but it is very unlikely that I would build a Linux kernel = 2.6.16, especially with new hardware that might need the latest drivers. I will primarily want to run Linux natively rather than under FreeBSD. I think emulators/linux_dist-gentoo-stage3 and emulators/linux_base-gentoo-stage3 must use kernel far beyond 2.6.16. But I think, when chrooting into Linux from FreeBSD, FreeBSD kernel is the one in effect. Tom ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
On Tue, Dec 6, 2011 at 3:53 AM, Thomas Mueller mueller6...@bellsouth.net wrote: The X server has a unix socket somewhere in /tmp. Normally this is used instead of a TCP connection to the localhost. You need to change the DISPLAY env-variable to use a TCP connection, or you need o make the unix socket available to the chrooted linux-env. The linuxulator in FreeBSD is nearly linux 2.6.16 compatible. We lack inotify and epoll support which the 2.6.16 kernel normally supports. If your system does not depend upon inotify, epoll and anything newer than 2.6.16, it should work. If you give it a try, please report success or failure to emulat...@freebsd.org. Bye, Alexander. Now I might have something to try, but it is very unlikely that I would build a Linux kernel = 2.6.16, especially with new hardware that might need the latest drivers. I will primarily want to run Linux natively rather than under FreeBSD. I think emulators/linux_dist-gentoo-stage3 and emulators/linux_base-gentoo-stage3 must use kernel far beyond 2.6.16. But I think, when chrooting into Linux from FreeBSD, FreeBSD kernel is the one in effect. Not really. The actual thing is, linuxulator is a Linux kernel running as a FreeBSD kernel module. The only thing FreeBSD kernel do is to identify the Linux program and to pass it to the Linux kernel. To the Linux programs inside a GNU chroot enviroment, they think they are running inside a Linux box and actually they are running inside a Linux box. To the Linux programs running under a FreeBSD base, they may identify that the base is not GNU by invoking some external programs like `uname`. However, we can replace their sh with /compat/linux/bin/sh, so that they are blind again. Tom ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___ 4BSD -- http://4bsd.biz/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
On Tue, 6 Dec 2011 04:54:18 -0600 Zhihao Yuan wrote: Not really. The actual thing is, linuxulator is a Linux kernel running as a FreeBSD kernel module. The only thing FreeBSD kernel do is to identify the Linux program and to pass it to the Linux kernel. To the Linux programs inside a GNU chroot enviroment, they think they are running inside a Linux box and actually they are running inside a Linux box. Are you sure about that? I was under the impression that it was a fairly thin emulation layer on top of the FreeBSD kernel. Has something changed? ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
Hi, you don't need to install an old linux kernel. It depends upon the features used by the userland stuff. It is possible to compile glibc to use all features, or to compile it in a way it works on an old kernel too (I have no idea about the details involved). So all depends upon the linux-distribution you use. Bye, Alexander. -- Send via an Android device, please forgive brevity and typographic and spelling errors. Thomas Mueller mueller6...@bellsouth.net hat geschrieben: The X server has a unix socket somewhere in /tmp. Normally this is used instead of a TCP connection to the localhost. You need to change the DISPLAY env-variable to use a TCP connection, or you need o make the unix socket available to the chrooted linux-env. The linuxulator in FreeBSD is nearly linux 2.6.16 compatible. We lack inotify and epoll support which the 2.6.16 kernel normally supports. If your system does not depend upon inotify, epoll and anything newer than 2.6.16, it should work. If you give it a try, please report success or failure to emulat...@freebsd.org. Bye, Alexander. Now I might have something to try, but it is very unlikely that I would build a Linux kernel = 2.6.16, especially with new hardware that might need the latest drivers. I will primarily want to run Linux natively rather than under FreeBSD. I think emulators/linux_dist-gentoo-stage3 and emulators/linux_base-gentoo-stage3 must use kernel far beyond 2.6.16. But I think, when chrooting into Linux from FreeBSD, FreeBSD kernel is the one in effect. Tom ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
On Tue, Dec 6, 2011 at 6:21 AM, RW rwmailli...@googlemail.com wrote: On Tue, 6 Dec 2011 04:54:18 -0600 Zhihao Yuan wrote: Not really. The actual thing is, linuxulator is a Linux kernel running as a FreeBSD kernel module. The only thing FreeBSD kernel do is to identify the Linux program and to pass it to the Linux kernel. To the Linux programs inside a GNU chroot enviroment, they think they are running inside a Linux box and actually they are running inside a Linux box. Are you sure about that? I was under the impression that it was a fairly thin emulation layer on top of the FreeBSD kernel. Has something changed? To Linux program, there is no emulation layer. This technology should be called extended ELF lookup table, and has nothing to do with emulation. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___ 4BSD -- http://4bsd.biz/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
On Tue, Dec 6, 2011 at 7:45 AM, RW rwmailli...@googlemail.com wrote: On Tue, 6 Dec 2011 06:29:03 -0600 Zhihao Yuan wrote: On Tue, Dec 6, 2011 at 6:21 AM, RW rwmailli...@googlemail.com wrote: On Tue, 6 Dec 2011 04:54:18 -0600 Zhihao Yuan wrote: Not really. The actual thing is, linuxulator is a Linux kernel running as a FreeBSD kernel module. The only thing FreeBSD kernel do is to identify the Linux program and to pass it to the Linux kernel. To the Linux programs inside a GNU chroot enviroment, they think they are running inside a Linux box and actually they are running inside a Linux box. Are you sure about that? I was under the impression that it was a fairly thin emulation layer on top of the FreeBSD kernel. Has something changed? To Linux program, there is no emulation layer. This technology should be called extended ELF lookup table, and has nothing to do with emulation. It's not emulation in the narrow sense that vmware is emulation and wine isn't, but it certainly is emulation within the normal sense or the word. My dictionary defines emulate as imitate zealously. But what I was getting at was the statement linuxulator is a Linux kernel running as a FreeBSD kernel module which I'm guessing now you didn't mean literally. FreeBSD handbook: http://www.freebsd.org/doc/handbook/linuxemu-advanced.html In effect, there is a Linux kernel in the FreeBSD kernel; the various underlying functions that implement all of the services provided by the kernel are identical to both the FreeBSD system call table entries, and the Linux system call table entries: file system operations, virtual memory operations, signal delivery, System V IPC, etc... So, if you define a Linux kernel as every thing written by Linus and his followers, then I'm wrong; but if you agree that Android is not GNU but it does run a Linux kernel, then I'm probably right. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___ 4BSD -- http://4bsd.biz/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
Well, I'm wrong. I read in effect as in fact... -- Zhihao Yuan On Dec 6, 2011 9:33 AM, RW rwmailli...@googlemail.com wrote: On Tue, 6 Dec 2011 08:04:59 -0600 Zhihao Yuan wrote: On Tue, Dec 6, 2011 at 7:45 AM, RW rwmailli...@googlemail.com wrote: But what I was getting at was the statement linuxulator is a Linux kernel running as a FreeBSD kernel module which I'm guessing now you didn't mean literally. FreeBSD handbook: http://www.freebsd.org/doc/handbook/linuxemu-advanced.html In effect, there is a Linux kernel in the FreeBSD kernel; ... Clearly the author of that article doesn't agree with you or he wouldn't have written In effect. If your statement had been: linuxulator is effectively a Linux kernel running as a FreeBSD kernel, then it wouldn't have been plain wrong. So, if you define a Linux kernel as every thing written by Linus and his followers, then I'm wrong; but if you agree that Android is not GNU but it does run a Linux kernel, then I'm probably right. Android is based on fork of Linux, it contains real Linux code. All you could argue from that is that the linuxulator could be called Linux if it were based on Linux code. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
On Thu, 1 Dec 2011 11:06:19 + (GMT) Thomas Mueller mueller6...@bellsouth.net wrote: The linux-base port is supposed to provide good integration into FreeBSD. Ideally the integration is seamless. The linux-dist ports provide a complete linux environment. You chroot into it and you have a complete linux system. You can compile linux binaries inside the +linux-dist. You can not do this with the linux-base. So I guess that's the fundamental difference between linux-base installed to /compat/linux, and linux-dist? So when I build my Linux installation, then I suppose I can mount that partition and chroot into it? Yes, you just have to mount some FS into the linux-env (devfs, linprocfs, linsysfs, just like with the linux-base). This assumes your linux env does not use some linux syscalls which the linuxulator part in the FreeBSD kernel does not understand. It also assumes you have a similar setup for important things like DNS servers and such. Even as nonroot? Even run X Window applications? If you have the same UIDs/GIDs in the linux env (for users), it should work. Even with X (you can do a hardlink of the X socket in the FS into the linux env, or you accept a little bit more overhead and go via TCP - DISPLAY=hostname:0.0). I don't think I really understand this part. I think on some platforms, chroot is root-only, but running ls -l /usr/sbin/chroot in FreeBSD 9.0-RC2 -r-xr-xr-x 1 root wheel 7736 Nov 22 11:08 /usr/sbin/chroot Chroot should only depend on FS access rights. Bye, Alexander. So I guess it's possible at least in theory to run Linux by chroot from FreeBSD, but there are stumbling blocks. One would be limited as to Linux file system, it might not work with ext4 or btrfs. Also, I'd be running with one of the newer Linux kernels, meaning possibly ahead of FreeBSD's linuxulator. I noticed FreeBSD's Linux emulation was some versions behind current Linux. Tom ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
Hi, The X server has a unix socket somewhere in /tmp. Normally this is used instead of a TCP connection to the localhost. You need to change the DISPLAY env-variable to use a TCP connection, or you need o make the unix socket available to the chrooted linux-env. The linuxulator in FreeBSD is nearly linux 2.6.16 compatible. We lack inotify and epoll support which the 2.6.16 kernel normally supports. If your system does not depend upon inotify, epoll and anything newer than 2.6.16, it should work. If you give it a try, please report success or failure to emulat...@freebsd.org. Bye, Alexander. -- Send via an Android device, please forgive brevity and typographic and spelling errors. Thomas Mueller mueller6...@bellsouth.net hat geschrieben: On Thu, 1 Dec 2011 11:06:19 + (GMT) Thomas Mueller mueller6...@bellsouth.net wrote: The linux-base port is supposed to provide good integration into FreeBSD. Ideally the integration is seamless. The linux-dist ports provide a complete linux environment. You chroot into it and you have a complete linux system. You can compile linux binaries inside the +linux-dist. You can not do this with the linux-base. So I guess that's the fundamental difference between linux-base installed to /compat/linux, and linux-dist? So when I build my Linux installation, then I suppose I can mount that partition and chroot into it? Yes, you just have to mount some FS into the linux-env (devfs, linprocfs, linsysfs, just like with the linux-base). This assumes your linux env does not use some linux syscalls which the linuxulator part in the FreeBSD kernel does not understand. It also assumes you have a similar setup for important things like DNS servers and such. Even as nonroot? Even run X Window applications? If you have the same UIDs/GIDs in the linux env (for users), it should work. Even with X (you can do a hardlink of the X socket in the FS into the linux env, or you accept a little bit more overhead and go via TCP - DISPLAY=hostname:0.0). I don't think I really understand this part. I think on some platforms, chroot is root-only, but running ls -l /usr/sbin/chroot in FreeBSD 9.0-RC2 -r-xr-xr-x 1 root wheel 7736 Nov 22 11:08 /usr/sbin/chroot Chroot should only depend on FS access rights. Bye, Alexander. So I guess it's possible at least in theory to run Linux by chroot from FreeBSD, but there are stumbling blocks. One would be limited as to Linux file system, it might not work with ext4 or btrfs. Also, I'd be running with one of the newer Linux kernels, meaning possibly ahead of FreeBSD's linuxulator. I noticed FreeBSD's Linux emulation was some versions behind current Linux. Tom ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
On Thu, 1 Dec 2011 11:06:19 + (GMT) Thomas Mueller mueller6...@bellsouth.net wrote: The linux-base port is supposed to provide good integration into FreeBSD. Ideally the integration is seamless. The linux-dist ports provide a complete linux environment. You chroot into it and you have a complete linux system. You can compile linux binaries inside the +linux-dist. You can not do this with the linux-base. So I guess that's the fundamental difference between linux-base installed to /compat/linux, and linux-dist? So when I build my Linux installation, then I suppose I can mount that partition and chroot into it? Yes, you just have to mount some FS into the linux-env (devfs, linprocfs, linsysfs, just like with the linux-base). This assumes your linux env does not use some linux syscalls which the linuxulator part in the FreeBSD kernel does not understand. It also assumes you have a similar setup for important things like DNS servers and such. Even as nonroot? Even run X Window applications? If you have the same UIDs/GIDs in the linux env (for users), it should work. Even with X (you can do a hardlink of the X socket in the FS into the linux env, or you accept a little bit more overhead and go via TCP - DISPLAY=hostname:0.0). I think on some platforms, chroot is root-only, but running ls -l /usr/sbin/chroot in FreeBSD 9.0-RC2 -r-xr-xr-x 1 root wheel 7736 Nov 22 11:08 /usr/sbin/chroot Chroot should only depend on FS access rights. Bye, Alexander. -- http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
The linux-base port is supposed to provide good integration into FreeBSD. Ideally the integration is seamless. The linux-dist ports provide a complete linux environment. You chroot into it and you have a complete linux system. You can compile linux binaries inside the +linux-dist. You can not do this with the linux-base. Bye, Alexander. So I guess that's the fundamental difference between linux-base installed to /compat/linux, and linux-dist? So when I build my Linux installation, then I suppose I can mount that partition and chroot into it? Even as nonroot? Even run X Window applications? I think on some platforms, chroot is root-only, but running ls -l /usr/sbin/chroot in FreeBSD 9.0-RC2 -r-xr-xr-x 1 root wheel 7736 Nov 22 11:08 /usr/sbin/chroot Tom ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
On Tue, Nov 29, 2011 at 03:27:15PM +0100, Alexander Leidinger wrote: Hi, you can install the gentoo linux-dist in parallel to the default linux-base. Gentoo will be in /usr/local, not in /compat/linux. As such you have to manually start programs there via chroot. This means you do not have access to you FreeBSD files like normally, except you do null-mounts into the gentoo area. It also means your experience will not be as integrated as with the defaut linux-base (the linux-base port does some effort to integrate FreeBSD config files and installed resources like fonts). Just switching between them, like changing a symlink, is theoretically possible, but the gentoo linux-dist port is not designed for this kind of integration. It's a linux-dist port, not a linux-base port. What is it good for, then? pgpSpG6dLkLPw.pgp Description: PGP signature
Re: Linux compatibility with more than one Linux installed?
2011/11/29 Alexander Leidinger alexan...@leidinger.net: Hi, you can install the gentoo linux-dist in parallel to the default linux-base. Gentoo will be in /usr/local, not in /compat/linux. As such you have to manually start programs there via chroot. This means you do not have access to you FreeBSD files like normally, except you do null-mounts into the gentoo area. It also means your experience will not be as integrated as with the defaut linux-base (the linux-base port does some effort to integrate FreeBSD config files and installed resources like fonts). Just switching between them, like changing a symlink, is theoretically possible, but the gentoo linux-dist port is not designed for this kind of integration. It's a linux-dist port, not a linux-base port. You can also use sysutils/debootstrap to install Debian somewhere. I use it with ZFS snapshots and clones and I'm really happy with it. To install Linux packages I just chroot and apt-get. It's a less straight-forward setup than with linux-base ports, but if you know both FreeBSD and Debian that's maybe the way to go :) Bye, Alexander. -- Send via an Android device, please forgive brevity and typographic and spelling errors. Thomas Mueller mueller6...@bellsouth.net hat geschrieben:I noticed on http://www.freshports.org/commits.php an update to the Gentoo Linux distribution. I know there are other Linux compatibility ports in the emulators category. Is it possible to install more than one Linux compatibility package or actual Linux installation and switch from one to the other? I might want to install a Linux compatibility package and still be able to run Linux software through an actual Linux installation, separate from the FreeBSD Linux compatibility package. Or possibly be able to compare one Linux compatibility package to another. Tom ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: oliv...@gid0.org - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
On Wed, Nov 30, 2011 at 10:05 AM, Lars Engels lars.eng...@0x20.net wrote: On Tue, Nov 29, 2011 at 03:27:15PM +0100, Alexander Leidinger wrote: Hi, you can install the gentoo linux-dist in parallel to the default linux-base. Gentoo will be in /usr/local, not in /compat/linux. As such you have to manually start programs there via chroot. This means you do not have access to you FreeBSD files like normally, except you do null-mounts into the gentoo area. It also means your experience will not be as integrated as with the defaut linux-base (the linux-base port does some effort to integrate FreeBSD config files and installed resources like fonts). Just switching between them, like changing a symlink, is theoretically possible, but the gentoo linux-dist port is not designed for this kind of integration. It's a linux-dist port, not a linux-base port. What is it good for, then? I'd guess it's useful if you want to build or install some more complicated linux software, since you can use portage to handle the installed software on the linux side independent of the FreeBSD side (and you get to use portage to install linux packages). Much the same idea as the debootstrap one, I guess. :) -- Daniel Nebdal ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
Hi, The linux-base port is supposed to provide good integration into FreeBSD. Ideally the integration is seamless. The linux-dist ports provide a complete linux environment. You chroot into it and you have a complete linux system. You can compile linux binaries inside the linux-dist. You can not do this with the linux-base. Bye, Alexander. -- Send via an Android device, please forgive brevity and typographic and spelling errors. Daniel Nebdal dneb...@gmail.com hat geschrieben:On Wed, Nov 30, 2011 at 10:05 AM, Lars Engels lars.eng...@0x20.net wrote: On Tue, Nov 29, 2011 at 03:27:15PM +0100, Alexander Leidinger wrote: Hi, you can install the gentoo linux-dist in parallel to the default linux-base. Gentoo will be in /usr/local, not in /compat/linux. As such you have to manually start programs there via chroot. This means you do not have access to you FreeBSD files like normally, except you do null-mounts into the gentoo area. It also means your experience will not be as integrated as with the defaut linux-base (the linux-base port does some effort to integrate FreeBSD config files and installed resources like fonts). Just switching between them, like changing a symlink, is theoretically possible, but the gentoo linux-dist port is not designed for this kind of integration. It's a linux-dist port, not a linux-base port. What is it good for, then? I'd guess it's useful if you want to build or install some more complicated linux software, since you can use portage to handle the installed software on the linux side independent of the FreeBSD side (and you get to use portage to install linux packages). Much the same idea as the debootstrap one, I guess. :) -- Daniel Nebdal ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Linux compatibility with more than one Linux installed?
Hi, you can install the gentoo linux-dist in parallel to the default linux-base. Gentoo will be in /usr/local, not in /compat/linux. As such you have to manually start programs there via chroot. This means you do not have access to you FreeBSD files like normally, except you do null-mounts into the gentoo area. It also means your experience will not be as integrated as with the defaut linux-base (the linux-base port does some effort to integrate FreeBSD config files and installed resources like fonts). Just switching between them, like changing a symlink, is theoretically possible, but the gentoo linux-dist port is not designed for this kind of integration. It's a linux-dist port, not a linux-base port. Bye, Alexander. -- Send via an Android device, please forgive brevity and typographic and spelling errors. Thomas Mueller mueller6...@bellsouth.net hat geschrieben:I noticed on http://www.freshports.org/commits.php an update to the Gentoo Linux distribution. I know there are other Linux compatibility ports in the emulators category. Is it possible to install more than one Linux compatibility package or actual Linux installation and switch from one to the other? I might want to install a Linux compatibility package and still be able to run Linux software through an actual Linux installation, separate from the FreeBSD Linux compatibility package. Or possibly be able to compare one Linux compatibility package to another. Tom ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org