Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Overview  





2 History  





3 Comparisons  





4 Distribution  



4.1  Dedicated distributions  







5 Emulated hardware  





6 Limitations  





7 See also  





8 References  





9 External links  














Cooperative Linux






العربية
Deutsch
Español
فارسی
Français
Italiano
Nederlands

Norsk bokmål
Polski
Русский
Türkçe

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Cooperative Linux
Original author(s)Dan Aloni
Developer(s)Community
Initial releaseJanuary 25, 2004; 20 years ago (2004-01-25)
Final release

0.7.9 [1] / April 9, 2011; 13 years ago (2011-04-09) [1]

Operating systemWindows NT family
TypePlatform virtualization
LicenseGNU General Public License
Websitewww.colinux.org Edit this at Wikidata

Cooperative Linux, abbreviated as coLinux, is software which allows Microsoft Windows and the Linux kernel to run simultaneously in parallel on the same machine.[2]

Cooperative Linux utilizes the concept of a Cooperative Virtual Machine (CVM). In contrast to traditional virtual machines, the CVM shares resources that already exist in the host 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

[edit]
Synaptic and 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 coroutines. 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 0) and allocate memory.[3]

History

[edit]

Dan Aloni originally started the development of Cooperative Linux as a research project based on similar work with User-mode Linux.[4][5] He announced the development on 25 Jan 2004.[6] In July 2004 he presented a paper at the Linux Symposium.[7] The source was released under the GNU General Public License. Other developers have since contributed various patches and additions to the software.[8]

Comparisons

[edit]

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

[edit]
Ubuntu running with coLinux
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 virtual network device and can run simultaneously under a version of the Windows operating system such as Windows 2000orWindows XP. It does not use a virtual machine such as VMware.

Debian, Ubuntu, Fedora and 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 yum and 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 or X Servers will not run under coLinux directly, but one can install[citation needed] an X Server under Windows, such as Cygwin/XorXming and use KDEorGNOME 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

[edit]

A few distributions were built specifically to work with coLinux.

Emulated hardware

[edit]

Limitations

[edit]

See also

[edit]

References

[edit]
  1. ^ a b "Cooperative Linux Documentation". Archived from the original on 2023-05-13. Retrieved 2020-08-08.
  • ^ "coLinux main website". Archived from the original on 2018-05-19. Retrieved 2004-04-13.
  • ^ "coLinux main page". Archived from the original on 2015-12-04. Retrieved 2004-04-13.
  • ^ "Open source contributions | Dan Aloni". blog.aloni.org. Retrieved 2022-01-08.
  • ^ "Cooperative Linux Active Development Team Members". www.colinux.org. Retrieved 2022-01-08.
  • ^ "LKML: Dan Aloni: [ANNOUNCE] Cooperative Linux". lkml.org.
  • ^ "Dan Aloni paper presented July 2004 at Linux Symposium" (PDF). Archived from the original (PDF) on 2018-09-30. Retrieved 2008-03-30.
  • ^ Aloni, Dan (2021-11-17), da-x/colinux, retrieved 2022-01-08
  • ^ Reed, Michael (2011-09-06). "andLinux: Seamlessly Run Linux Applications on Windows". Linux Journal. Retrieved 2023-10-06.
  • ^ "So bringen Sie Linux unter Windows zum Laufen". WWW.TECCHANNEL.DE. Retrieved 2023-10-07.
  • ^ "FAQ". coLinux.
  • [edit]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Cooperative_Linux&oldid=1210007949"

    Categories: 
    Free virtualization software
    Virtualization software
    Windows-only free software
    Linux kernel variant
    Virtualization software for Linux
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    Articles lacking reliable references from July 2009
    All articles lacking reliable references
    Articles needing additional references from March 2022
    All articles needing additional references
    All articles with unsourced statements
    Articles with unsourced statements from August 2020
    Webarchive template wayback links
     



    This page was last edited on 24 February 2024, at 15:16 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki