Slashdot Mirror


Announcing Cooperative Linux

evilmf writes "Well... I was on my daily "relaxing" read of the LKML when I've found an interesting announce about "Cooperative Linux", in this message from Dan Aloni. It allows you to run Linux on an unmodified Win2000/XP system, just launching another app. Dan says that Cooperative Linux is 'is stable enough (on some common hardware configurations) for running a fully functional KNOPPIX/Debian system on Windows,' and provides some screenshots in the project homepage."

31 of 321 comments (clear)

  1. Cool by slash-tard · · Score: 5, Funny

    Now the stability, Awesome user interface of windows, and games combined with the myriad of useful GNU/Linux apps!

    1. Re:Cool by nial-in-a-box · · Score: 3, Insightful

      The Windows user interface may not be perfect, but I frankly think that it is in many ways better than most if not all open source GUIs. This is not saying that there never will be a better open source GUI. This is also not saying that there are many flaws in the Windows GUI. I'm just saying that Microsoft has, in fact, invested considerible time, effort, and money (more or less) in making a decent, adequately consistent user interface. I have been amazed by developments over the last few years as far as with KDE and Gnome interfaces, but they still leave much to be desired. Most of what is missing is not just in how a window border looks or how many buttons are present, but actual functionality. Perhaps the one thing Windows does much better than Linux is graphical file management. Windows/Internet Explorer provides a reasonable interface to manage files, get previews, sort, find, etc. KDE and Gnome both try to provide these same services, but they are for the most part half baked. I know that a lot of people are working hard on this stuff, and it gets better everyday, but let's not just call open source GUI better than Microsoft GUI without actually thinking about it. It's fine to be loyal to something, but don't make claims unless they can be backed.

      --
      I am feeling fat and sassy
    2. Re:Cool by BoldAC · · Score: 4, Insightful

      What?

      The power of this is that it will allow people to try and experience linux without complicated duel-booting or format/installing.

      More and more people started using linux when bootable stand-alone versions were developed. This will support this boost many times over.

      Think about it. Hack kiddies hear that linux is the way to go. They install it over/within windows... and god forbid, actually realize that linux is a great tool. When I was growing up, I had to limp along with my OS-of-the-day box while my dad was protective of his little system. With this system, future linux kiddies and parents can live in harmony.

      If people believe that they can do their daily activities with their linux programs, then a proportion of these will dump the windows portion to get the performance boost.

      This allows users to ease into linux.

      Brillant.

      AC

    3. Re:Cool by ArsonPanda · · Score: 4, Funny

      duel-booting?
      So, you press the power button and whatever OSs are installed on your system fight to the death to see which one gets to boot? I like it. Does it have an interactive stat up mode too? I can see it now, on old hardware it would be a 2d mortal combat type thing, and on my new opteron server it would have DOA 3d thing going on. The only question is which charicter do you use for windows, and which for linux?

      --

      --I don't want the world, I just want your half.
    4. Re:Cool by Afrosheen · · Score: 3, Interesting

      Judging by your mod points, there are some rich crack dealers on the street right now.

      Explorer is horrible at doing what it should do (besides surfing the web which it doesn't do right either thanks to flubbed standards). It can't do tabbed browsing (konqueror), you can't split the window into multiple frames to make ftp'ing and file management easier (konqueror), if you visit a website you can't go recursively up the website's root tree (konqueror) among many other things.

      I guess it's not really fair since windows is so far behind at this point. MacOS and KDE both support better features for file management and web browsing than Explorer does. Just wait until Longhorn is out I guess, by then Microsoft will have reaped the other apps' harvests and make it look new by painting it a different color.

      By the way, you make alot of suppositions but have zero facts backing you up. Your opinion is pure conjecture.

  2. Embrace and extend by t0qer · · Score: 4, Funny

    I always thought that linux assimilating windows was better than windows assimilating linux.

  3. This is quite possibly the greatest thing 2 happen by pardasaniman · · Score: 4, Informative

    Way back when I wanted to try linux. (now 2-3 years ago) I searched far and away to find this ability, because my dad would have gone bonkers should I have installed/booted another OS.

    I get the question quite alot. "Can linux run in Windows"... To which I must roll my eyes and explain that it's another OS.

    This is going to be very helpful in convincing people to run linux.

    I can just picture myself booting knoppix to make my (Anti-PowerPoint) presentations at school.

    Gr8 Stuff!

  4. Windows users can now use more free apps! by spun · · Score: 4, Funny

    That's a good thing, IMHO. Too often, I have needed some tool or other while working on Windows machines, and there are no free alternatives. If Windows users can use really free software, they may be less inclined to download horrific ad-ware and spy-ware, too. I wonder how easy it is to share data between Windows and Linux apps? Guess I'll go RTFA now...

    --
    - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    1. Re:Windows users can now use more free apps! by The+One+KEA · · Score: 4, Interesting

      You could almost get away with this using VMware, but now with this Cooperative Linux project, it doesn't matter anymore!

      If this gets the attention that I think it deserves, this could literally shake apart the entire foundation of the folks who continue to decry Linux. Now a savvy admin who wants to use the Linux versions of Windows crapware can do so, without reinstalling the OS and incurring the wrath of the Microsofties. He gets the best of both worlds: high-quality free software running on top of the "sanctioned" OS. The only drawback to this thing, IMO, is that it may stifle the efforts of people who are trying to port some of the more sophisticated Linux apps to Windows, and may simply give up when they hear that because of this, no porting is required. But I doubt that will be a major issue.

      Here's to hoping this project goes somewhere!

      --
      SCREW THE ADS! http://adblock.mozdev.org/ Proud user of teh Fox of Fire - Registered Linux User #289618
    2. Re:Windows users can now use more free apps! by selderrr · · Score: 5, Interesting

      people who are trying to port some of the more sophisticated Linux apps to Windows, and may simply give up when they hear that because of this, no porting is required

      Look at it the other way : if great linux apps are not ported to windows, but instead are delivered with an easy install of colinux+a small distro (the keyword here will be easy !) then more people will learn to know linux. And one day perhaps install it as 2nd OS on their machine, from which the step to primary OS is a small one !

  5. Slow day? by ZiZ · · Score: 5, Insightful
    Slow day, eh?

    Hardly. This is a very interesting and useful project, with rather deeper implications for virtual server operation. Rather than requiring a pile of specialized code to emulate a machine, you just give the other OS a little private corner of its own, allowing the host OS to give it resources whenever they're avaliable (and how nice it is about giving those resources is easy to manage). Presto, huge performance increase.

    It'd be a slow day if we saw, say, another article about SCO, an article about Microsoft 'blocking spam', some nostalgic whining about lack of innovation in games, a few drab articles about nothing in particular...

    Kind of like yesterday.

    --
    This flies in the face of science.
  6. great for n00bs ! by selderrr · · Score: 4, Insightful

    for linux noobs like me, this is greeat news ! this will allow me to run a distro at work where xp boot is obliged. i hope they come up with an installation tutorial & extensive documentation soon (no docs for now on th website)

  7. Unfourtuantely by Hal+The+Computer · · Score: 5, Informative

    Well this is definitely Really Neat, after reading their homepage, I see that In its current condition, it allows us to run the KNOPPIX Japanese Edition on Windows. Unfourtunately as far as I can tell, that's all it can run without modification.
    Also, coLinux currently lacks documentation.
    If you don't speak Japenese, you might have some difficulties using this software to it's fullest.

    --

    int main(void){int x=01232;while(malloc(x));return x;}
  8. Re:already been done before. by stevenrieder · · Score: 3, Informative

    Cygwin can't directly run linux apps. Sure, you can port apps to cygwin, but it's not the same.

    --
    Hier staat een stukje tekst.
  9. Interesting to watch this by richard_za · · Score: 4, Interesting

    When I wan't to use *nix tools under Windows I've always trusted Cygwin, but I can see how this project can provide a good alternative to Cygwin XFree86 as suggested in the roadmap. This could also provide an excellent solution for developers to test interoperability between Internet Explorer and Linux webservers - especially if they are limited to one computer. It could also be used to educate people on using Linux, it is a perfect match with Knoppix in this respect.

    Wine developers could use this compare apps running natively and those running under wine side-by-side.

  10. Stability? by greyguppy · · Score: 5, Insightful

    I saw this on LKML about an hour ago, and it interested me then.

    What I am wondering about is quite how stable it is possible to get something like this.
    We all know how Windows assumes it is the only OS installed, when dealing with things like disk partitions, MBR's etc. How does the Windows NT kernel like sharing Ring 0 with Linux?

    Overall this is an excellent innovation for Linux to move forward. I suppose you could chart the increase of Linux "market share" as follows.

    1.) Linus and his friends
    2.) Early Distributions
    3.) Redhat makes inroads
    4.) Live CD's (Knoppix et al)
    5.) CoLinux

    You have gone from experimental boxes only, to dual booting to Live CD's to try Linux out (very slow...)

    If this can come close to Linux alone in speed, then this is a major step forward.
    No more lengthy installs with dual booting etc.

    If a linux fan wants to show a Windows user what its all about then they can hopefully download one EXE and go.

    Pity I haven't got a windows partition so I can test it.

    1. Re:Stability? by owlstead · · Score: 4, Interesting

      We all know how Windows assumes it is the only OS installed, when dealing with things like disk partitions, MBR's etc. How does the Windows NT kernel like sharing Ring 0 with Linux?

      That should be no problem. Vmware already locks partitions or even serial and USB devices for it's own use. Obviously you cannot share these partitions or devides with both operating systems, but one at a time is no problem at all.

      You have gone from experimental boxes only, to dual booting to Live CD's to try Linux out (very slow...)

      I don't know about really slow. CDROM are definately not _that_ slow anymore. My Dell laptop has no problem at all running knoppix, including sound, firewire, networking, usb support. As long as you have enough memory (256 at least, 512 mb runs great) it is not slow after startup either. And compared with a complete installation of linux it takes a lot less time. Upgrading is easy too :)

      If a linux fan wants to show a Windows user what its all about then they can hopefully download one EXE and go.

      That I must agree with. It would take a bit of pain out of that process. And they can still keep their freakin' MSN messenger running in the background.

  11. Re:Rootless? by Ianoo · · Score: 4, Informative

    If you notice, the X Server in use is actually Cygwin/XFree86 rather than something built in to this system. The actual system runs in console mode only, and thanks to the flexibility of X, allows apps run in the console to connect back to any X server running on the machine.

    The point is, if you can find a rootless X server for MS Windows, you can do so. The only one I'm aware of is eXceed (although I don't keep up with them because I have no need for them). It's commercial, but is usually cheaper or free through a university or college.

  12. Let's get this over with... by jaymzter · · Score: 4, Funny

    Yeah, but does it run on Windows?

    Finally, installing Linux takes only one click!

    In the future, please refer to it as GNU/Windows...

    --
    If thou see a fair woman pay court to her, for thus thou wilt obtain love
  13. Windows users, repeat after me: by spun · · Score: 3, Interesting

    Crapware is the issue here. You do not need help setting your system clock. Bonzai (sp?) Buddy is not your friend. Real is not a good streaming media player. If you need help filling in web forms, use a browser that can do it for you! You do not need to sell your soul to some marketing devil in order to download music. $40 is not a bargain on CD burning software, nor is it a bargain on a good text editor. There are in fact decent mail-readers that won't bork your system and aren't spyware (cough *eudora* cough). I could go on, but you get the picture.

    Users of Windows, you have nothing to lose but your chains!

    --
    - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
  14. inter-OS communications by Anonymous Coward · · Score: 5, Interesting

    When you send data to 127.0.0.1, which OS picks it up? This boggles my mind.

    1. Re:inter-OS communications by Lord+of+Ironhand · · Score: 3, Informative

      As you can see on this screenshot it uses a virtual networking device, just like VMWare and User Mode Linux do. From the network POV, the guest and host OS are two different systems. The OS that recieves data you send to 127.0.0.1 is the same you sent it from.

  15. Re:already been done before. by Ianoo · · Score: 4, Informative

    Cygwin can't run a lot of Linux apps directly. Most of the time they need porting, because libraries are not the same. Both try to be POSIX complaint, but both aren't, so the work is usually fairly minimal, but it's still work to be done. CoLinux allows it to all happen transparently with no source code changes. As such, it's much more useful.

    Windows Services for UNIX also suffers from the same problem, it also tries to be POSIX complaint, but its POSIX defficiencies match neither Linux nor Cygwin.

  16. BORG Linux? ... by fygment · · Score: 3, Funny

    ... Windows will be assimilated. Resistance is futile.

    --
    "Consensus" in science is _always_ a political construct.
  17. OEM by Ugmo · · Score: 3, Interesting

    If this ever becomes stable and useful, OEM's who now have contracts with MS that requires them to pay so much per box to MS whether or not Windows is installed can now start providing Windows + a Linux distribution of choice, at the factory as an option.

    The can advertise their box as coming with hundreds of free software programs by throwing in a knoppix cd.
    Best of both worlds for the OEMs

  18. Re:Rootless? by dolmen.fr · · Score: 5, Informative

    Cygwin/XFree86 can be run rootless, and even using Windows as a WM for better integration.

    From the Cygwin bash prompt, launch:
    XWin -multiwindow &

    There is a startxwin.bat that does that and that is bundled with Cygwin/XFree86.

  19. Serious Doubts... by lkaos · · Score: 5, Insightful

    Why this does seem quite cool I want to offer a warning before you go and install this on your non-backed up mission critical server.

    Many projects have attempted to achieve this goal. It's taken quite a bit of time so far. This project has taken a short cut though by simply letting the Windows kernel and Linux kernel run side-by-side in kernel mode. Traditional approaches don't allow this.

    That's because if anything goes wrong in the Windows kernel, you risk trashing your Linux kernel the same applies for the Linux kernel trashing the Windows kernel.

    Before you go and so Linux never crashes or Windows never crashes, what you're relying on is that this particular project has enough of an understanding of both kernels that they can cover every circumstance where there would be a negative interaction.

    I'm not saying this can't work, I'm just saying I'd be very careful about running it on anything I cared about.

    --
    int func(int a);
    func((b += 3, b));
  20. Porting to other platforms like OS X and solaris by caseih · · Score: 4, Interesting

    According to the web site, the architecture of the software that makes this all possible is very portable and could be ported to Solaris, for example , allowing the running of Linux/Sparc on top of it, at full speed. I would love to see this ported to OS X. I love my powerbook and I like OS X, but running linux at the same time would be a huge benefit for me. I'll be following this project closely.

    Emulation and virtualization are the coolest technologies I've ever seen.

  21. Re:Different? by strags · · Score: 4, Informative

    My understanding (and I'm sure I'll be corrected if I'm mistaken!) is that cygwin provides a set of Win32 libraries that provide reimplementations of Linux functions that are necessary for a Linux app to run. Essentially, Cygwin is a platform that your app can be ported to (generally by simply recompiling), that happens to run under Windows.

    What we're talking about with coLinux is the ability to run native Linux binaries as is with no need for recompilation.

  22. Re:Rootless? by tankrshr77 · · Score: 3, Informative

    The newest version of cygwin/x11 http://www.cygwin.com/xfree/ can run in both rootless mode and multiwindow mode. The above comments are outdated. (I'm running kde programs from kde-cygwin right now)

  23. OT: Re:Windows Services for Unix... by Chops · · Score: 3, Informative
    SFY 3.5 is a deficient product, and probably made so.

    I'll second that. I installed SFU to try it out, and found it to be so bad as to be endlessly entertaining. The high points of my interaction with it were this (the first line indicates my discovery that tab completion didn't work):
    $ tar xfz ../mutt
    usage: tar -{txru}[cevfbmopwBHLPX014578] [tapefile] [blocksize] file1 file2...
    $ tar xfz ../mutt*
    usage: tar -{txru}[cevfbmopwBHLPX014578] [tapefile] [blocksize] file1 file2...
    $ zcat ../mutt* | tar x
    tar: Failed open to read on /dev/rmt8: No such file or directory
    zcat: ../mutt-1.4.1i.tar.gz.Z: No such file or directory
    $ cd ..
    $ gunzip mutt*
    $ cd src
    $ tar xf ../mutt*
    ... and the time I typed
    vi `which startx`
    ... only to have vi attempt to open
    C:\SFU\X11R6\bin\startx^M
    ... which, as you might guess, didn't work (it choked both on the C:\ and the ^M).

    Good times, good times. Also it broke cygwin's emacs-style line editing (presumably by changing some terminal-related DLL) and WinCVS (by setting EDITOR=vi systemwide). Fortunately both of these problems went away when I uninstalled it.