Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Cooperative Linux
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Software to run Windows and Linux simultaneously}} {{Primary sources|date=July 2009}} {{Infobox software | name = Cooperative Linux | logo = CoLinux logo.png | screenshot = | caption = [[Ubuntu (operating system)|Ubuntu]] on [[Windows Vista]] | author = Dan Aloni | developer = Community | released = {{Start date and age|2004|01|25}} | latest_release_version = 0.7.9 <ref name="status">{{Cite web |url=https://www.colinux.org/?section=status |title=Cooperative Linux Documentation |access-date=2020-08-08 |archive-date=2023-05-13 |archive-url=https://web.archive.org/web/20230513210958/http://www.colinux.org/?section=status |url-status=dead }}</ref> | latest_release_date = {{release date and age|2011|04|09}} <ref name="status" /> | discontinued = yes | operating_system = [[Windows NT family]] | genre = [[Platform virtualization]] | license = [[GNU General Public License]] | website = {{official url}} }} '''Cooperative Linux''', abbreviated as '''coLinux''', is software which allows [[Microsoft Windows]] and the [[Linux kernel]] to run simultaneously in parallel on the same machine.<ref>{{Cite web |url=http://www.colinux.org/ |title=coLinux main website |access-date=2004-04-13 |archive-url=https://web.archive.org/web/20180519164810/http://colinux.org/ |archive-date=2018-05-19 |url-status=dead }}</ref> Cooperative Linux utilizes the concept of a Cooperative Virtual Machine (CVM). In contrast to traditional [[virtual machine]]s, the CVM shares resources that already exist in the host [[Operating system|OS]]. In traditional VM hosts, resources are virtualized for every (guest) OS. The CVM gives both OSs complete control of the host machine while the traditional VM sets every guest OS in an unprivileged state to access the real machine. == Overview == [[File:Ubuntu on Windows - running Synaptic and nautilus.png|thumb|left|[[Synaptic Package Manager|Synaptic]] and [[Nautilus (file manager)|nautilus]] running on Windows]] The term "cooperative" is used to describe two entities working in parallel. In effect Cooperative Linux turns the two different operating system kernels into two big [[coroutine]]s. Each kernel has its own complete CPU context and address space, and each kernel decides when to give control back to its partner. However, while both kernels theoretically have full access to the real hardware, modern PC hardware is not designed to be controlled by two different operating systems at the same time. Therefore, the host kernel is left in control of the real hardware and the guest kernel contains special drivers that communicate with the host and provide various important devices to the guest OS. The host can be any OS kernel that exports basic primitives that allow the Cooperative Linux portable driver to run in CPL0 mode [[Ring (computer security)|(ring 0)]] and allocate memory.<ref>{{Cite web |url=http://www.colinux.org/ |title=coLinux main page |access-date=2004-04-13 |archive-date=2015-12-04 |archive-url=https://web.archive.org/web/20151204234737/http://www.colinux.org/ |url-status=dead }}</ref> == History == Dan Aloni originally started the development of Cooperative Linux as a research project based on similar work with [[User-mode Linux]].<ref>{{Cite web|title=Open source contributions {{!}} Dan Aloni|url=https://blog.aloni.org/oss/|access-date=2022-01-08|website=blog.aloni.org}}</ref><ref>{{Cite web|title=Cooperative Linux Active Development Team Members|url=http://www.colinux.org/?section=devteam|access-date=2022-01-08|website=www.colinux.org}}</ref> He announced the development on 25 Jan 2004.<ref>{{Cite web|url=https://lkml.org/lkml/2004/1/25/96|title=LKML: Dan Aloni: [ANNOUNCE] Cooperative Linux|website=lkml.org}}</ref> In July 2004 he presented a paper at the Linux Symposium.<ref>{{Cite web |url=http://www.colinux.org/publications/Reprint-Aloni-OLS2004.pdf |title=Dan Aloni paper presented July 2004 at Linux Symposium |access-date=2008-03-30 |archive-url=https://web.archive.org/web/20180930050029/http://www.colinux.org/publications/Reprint-Aloni-OLS2004.pdf |archive-date=2018-09-30 |url-status=dead }}</ref> The [[open-source software|source]] was released under the [[GNU General Public License]]. Other developers have since contributed various patches and additions to the software.<ref>{{Citation|last=Aloni|first=Dan|title=da-x/colinux|date=2021-11-17|url=https://github.com/da-x/colinux/blob/aef3a72cb898b809962503fdfecea405672a753b/CREDITS|access-date=2022-01-08}}</ref> == Comparisons == Cooperative Linux is significantly different from full [[x86 virtualization]], which generally works by running the guest OS in a less privileged mode than that of the host kernel, and having all resources delegated by the host kernel. In contrast, Cooperative Linux runs a specially modified [[Linux kernel]] that is ''Cooperative'' in that it takes responsibility for sharing resources with the NT kernel and not instigating [[race conditions]]. == Distribution == {{unreferenced section|date=March 2022}} [[File:Coolinux.jpg|thumb|right|Ubuntu running with coLinux]] [[File:Ganzer Bildschirm speedlinux started.png|thumb|right|200px|speedLinux running with coLinux]] Most of the changes in the Cooperative Linux patch are on the [[i386]] tree—the only supported architecture for Cooperative at the time of this writing. The other changes are mostly additions of virtual drivers: cobd (block device), conet (network), and cocon (console). Most of the changes in the i386 tree involve the initialization and setup code. It is a goal of the Cooperative Linux kernel design to remain as close as possible to the standalone i386 kernel, so all changes are localized and minimized as much as possible. The coLinux package installs a port of the [[Linux kernel]] and a [[Network virtualization|virtual network device]] and can run simultaneously under a version of the Windows operating system such as [[Windows 2000]] or [[Windows XP]]. It does not use a [[virtual machine]] such as [[VMware]]. [[Debian]], [[Ubuntu (operating system)|Ubuntu]], [[Fedora (operating system)|Fedora]] and [[Gentoo Linux|Gentoo]] are especially popular with the coLinux users. Due to the rather unusual structure of the virtual hardware, installing Linux distributions under coLinux is generally difficult. Therefore, users in most cases use either an existing Linux installation on a real partition or a ready made filesystem image distributed by the project. The filesystem images are made by a variety of methods, including taking images of a normal Linux system, finding ways to make installers run with the strange hardware, building up installs by hand using the package manager or simply upgrading existing images using tools like [[Yellow Dog Updater Modified|yum]] and [[Advanced Packaging Tool|apt]]. An easier way to get an up-to-date filesystem image is to use [[QEMU]] to install Linux and "convert" the image by stripping off the first 63 512-byte blocks as described in the coLinux wiki. Since coLinux does not have access to native graphics hardware, [[X Window System|X Window]] or X Servers will not run under coLinux directly, but one can install{{citation needed|date=August 2020}} an X Server under Windows, such as [[Cygwin/X]] or [[Xming]] and use [[KDE]] or [[GNOME]] and almost any other Linux application and distribution. All of these issues are fixed by using coLinux based distributions such as andLinux, based on Ubuntu, or [[TopologiLinux]], based on [[Slackware]]. === Dedicated distributions === A few distributions were built specifically to work with coLinux. *[[AndLinux]]<ref>{{cite web|url=https://www.linuxjournal.com/content/andlinux-seamlessly-run-linux-applications-windows|website=[[Linux Journal]]|title=andLinux: Seamlessly Run Linux Applications on Windows|first=Michael|last=Reed|date=2011-09-06|access-date=2023-10-06}}</ref> *[[speedLinux]]<ref>{{cite web|url=https://www.tecchannel.de/a/so-bringen-sie-linux-unter-windows-zum-laufen,3197735,2|title=So bringen Sie Linux unter Windows zum Laufen|website=WWW.TECCHANNEL.DE|access-date=2023-10-07}}</ref> *[[TopologiLinux]] == Emulated hardware == * Ethernet network via [[TUN/TAP|TAP]], [[pcap|PCAP]], [[Network Driver Interface Specification|NDIS]] and [[Slirp|SLiRP]]. == Limitations == * Does not yet support 64-bit Windows or Linux (nor utilize more than 4GB memory), but a port is under development by the community. * No multi-processor (SMP) support. Linux applications and the underlying kernel are able to use only one CPU.<ref>{{Cite web|url=https://colinux.fandom.com/wiki/FAQ|title=FAQ|website=coLinux}}</ref> == See also == * [[Win32-loader]] * [[Platform virtualization]] * [[Comparison of platform virtualization software]] * [[Cygwin]] * [[MSYS]] * [[Wubi (installer)]] * [[Longene]] * [[Chroot]] * [[Windows Subsystem for Linux]] == References == {{Reflist|30em}} == External links == * {{Official website}} * {{sourceforge|colinux}} *[https://github.com/da-x/colinux coLinux on GitHub] * {{webarchive| url=https://web.archive.org/web/20080203041828/http://www.ibm.com/developerworks/library/l-virtualization-colinux/| title=Virtualization with coLinux}} * {{sourceforge|freetzlinux|speedLinux}} * {{sourceforge|portableubuntu|Portable Ubuntu Remix}} {{Virtualization products}} {{Unix–Windows interoperability}} {{Linux kernel}} [[Category:Free virtualization software]] [[Category:Virtualization software]] [[Category:Windows-only free software]] [[Category:Linux kernel variant]] [[Category:Virtualization software for Linux]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Citation
(
edit
)
Template:Citation needed
(
edit
)
Template:Cite web
(
edit
)
Template:Infobox software
(
edit
)
Template:Linux kernel
(
edit
)
Template:Official website
(
edit
)
Template:Primary sources
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Sourceforge
(
edit
)
Template:Unix–Windows interoperability
(
edit
)
Template:Unreferenced section
(
edit
)
Template:Virtualization products
(
edit
)
Template:Webarchive
(
edit
)