Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2023 12:26:58 -0700
From:      John Nielsen <lists@jnielsen.net>
To:        Mario Marietto <marietto2008@gmail.com>
Cc:        virtualization@freebsd.org
Subject:   Re: from coLinux co CoFreeBSD.
Message-ID:  <3258388E-3ABD-44E1-AA3B-8CC5536DB4B1@jnielsen.net>
In-Reply-To: <CA%2B1FSihpi3r5P4G904ODOeAgjAWZUrB7PbZEmRMNw6q=-heTZA@mail.gmail.com>
References:  <CA%2B1FSihpi3r5P4G904ODOeAgjAWZUrB7PbZEmRMNw6q=-heTZA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
> On Dec 3, 2023, at 12:00 PM, Mario Marietto <marietto2008@gmail.com> wrote:
> 
> maybe someone of you know the old project called "coLinux" :
> Cooperative Linux is the first working free and open source method for optimally running Linux on Microsoft Windows natively. More generally, Cooperative Linux (short-named coLinux) is a port of the Linux kernel that allows it to run cooperatively alongside another operating system on a single machine. For instance, it allows one to freely run Linux on Windows 2000/XP/Vista/7, without using a commercial PC virtualization software such as VMware, in a way which is much more optimal than using any general purpose PC virtualization software. In its current condition, it allows us to run the KNOPPIX Japanese Edition on Windows.
> 
> 
> 
> CoLinux is very old and not maintained for a lot of time and I'm not interested in resurrecting it (and I don't have the competences to do it),BUT I'm interested to gather some information about a similar project that I have in mind. What about if,instead of having a Linux kernel which can run Windows cooperatively,we have a Linux kernel that can run more Linux distributions (maybe only 2 as a starting point,as CoLinux already does) at the same time,without using virtualization software ? Is the technology behind Colinux the same that's under the lxc or docker containers or the WSL2 subsystem ? What are the differences ?
> 
> I don't use WSL2,I don't use Windows so much. I like Linux and FreeBSD. So,an even nicer idea is to create a coLinux variant that allows the Linux kernel to cooperate with FreeBSD. This is even nicer than making a cooperation between 2 Linuxes.
> 

I’m not familiar with coLinux but at this point I’m not sure what problems it would solve that aren’t solved by virtualization and/or containerization. All mainstream CPUs have had virtualization support for multiple generations. That, coupled with improvements in para-virtualized drivers and hardware plus features like PCI pass-through make it possible to virtualize any workload with negligible performance impact.

You can run Windows, BSD or Linux under bhyve on FreeBSD or KVM on Linux. If you’re starting with Windows, WSL2 is worth exploring as it also lets you run Linux software at native speed.

If you’re interested in the middle ground between native and fully virtualized, you may want to read up on and try rump kernels in NetBSD or virtual kernels in DragonflyBSD.

JN
[-- Attachment #2 --]
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr"><blockquote type="cite">On Dec 3, 2023, at 12:00 PM, Mario Marietto &lt;marietto2008@gmail.com&gt; wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">maybe someone of you know the old project called "coLinux" :<div dir="ltr"><div><p></p><blockquote><p>Cooperative
 Linux is the first working free and open source method for optimally 
running Linux on Microsoft Windows natively. More generally, Cooperative
 Linux (short-named coLinux) is a port of the Linux kernel that allows 
it to run cooperatively alongside another operating system on a single 
machine. For instance, it allows one to freely run Linux on Windows 
2000/XP/Vista/7, without using a commercial PC virtualization software 
such as VMware, in a way which is much more optimal than using any 
general purpose PC virtualization software. In its current condition, it
 allows us to run the KNOPPIX Japanese Edition on Windows.</p><p><br></p></blockquote><p>CoLinux
 is very old and not maintained  for a lot of time and I'm not 
interested in resurrecting it (and I don't  have the competences to do 
it),BUT I'm interested to gather some  information about a similar 
project that I have in mind. What about  if,instead of having a Linux 
kernel which can run Windows  cooperatively,we have a Linux kernel that 
can run more Linux  distributions (maybe only 2 as a starting point,as 
CoLinux already does)  at the same time,without using virtualization 
software ? Is the technology behind Colinux the same that's under the 
lxc or docker containers or the WSL2 subsystem ? What are the 
differences ? <br></p></div><div><div><div><p>I
 don't use WSL2,I don't use Windows so much. I like Linux and 
FreeBSD. So,an even nicer idea is to create a coLinux variant that 
allows the Linux kernel to cooperate with FreeBSD. This is even nicer 
than making a cooperation between 2 Linuxes.</p></div></div></div></div></div></blockquote><br><div>I’m not familiar with coLinux but at this point I’m not sure what problems it would solve that aren’t solved by virtualization and/or containerization. All mainstream CPUs have had virtualization support for multiple generations. That, coupled with improvements in para-virtualized drivers and hardware plus features like PCI pass-through make it possible to virtualize any workload with negligible performance impact.</div><div><br></div><div>You can run Windows, BSD or Linux under bhyve on FreeBSD or KVM on Linux. If you’re starting with Windows, WSL2 is worth exploring as it also lets you run Linux software at native speed.</div><div><br></div><div>If you’re interested in the middle ground between native and fully virtualized, you may want to read up on and try rump kernels in NetBSD or virtual kernels in DragonflyBSD.</div><div><br></div><div>JN</div></body></html>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3258388E-3ABD-44E1-AA3B-8CC5536DB4B1>