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>

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

--Apple-Mail-9EF37E4C-C0A2-4B75-9B89-1824DCA33D35
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

> On Dec 3, 2023, at 12:00=E2=80=AFPM, Mario Marietto <marietto2008@gmail.co=
m> wrote:
>=20
> =EF=BB=BFmaybe someone of you know the old project called "coLinux" :
> Cooperative Linux is the first working free and open source method for opt=
imally running Linux on Microsoft Windows natively. More generally, Cooperat=
ive 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 virtualiza=
tion software. In its current condition, it allows us to run the KNOPPIX Jap=
anese Edition on Windows.
>=20
>=20
>=20
> CoLinux is very old and not maintained for a lot of time and I'm not inter=
ested 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 i=
n 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,w=
ithout using virtualization software ? Is the technology behind Colinux the s=
ame that's under the lxc or docker containers or the WSL2 subsystem ? What a=
re the differences ?
>=20
> 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 ker=
nel to cooperate with FreeBSD. This is even nicer than making a cooperation b=
etween 2 Linuxes.
>=20

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

You can run Windows, BSD or Linux under bhyve on FreeBSD or KVM on Linux. If=
 you=E2=80=99re starting with Windows, WSL2 is worth exploring as it also le=
ts you run Linux software at native speed.

If you=E2=80=99re interested in the middle ground between native and fully v=
irtualized, you may want to read up on and try rump kernels in NetBSD or vir=
tual kernels in DragonflyBSD.

JN=

--Apple-Mail-9EF37E4C-C0A2-4B75-9B89-1824DCA33D35
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

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

--Apple-Mail-9EF37E4C-C0A2-4B75-9B89-1824DCA33D35--



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