Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Announcing Cooperative Linux

Posted by timothy on Sun Jan 25, 2004 05:03 PM
from the it's-real-friendly-like dept.
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."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Cool (Score:5, Funny)

    by slash-tard (689130) on Sunday January 25 2004, @05:06PM (#8083134)
    Now the stability, Awesome user interface of windows, and games combined with the myriad of useful GNU/Linux apps!
    • Re:Cool (Score:5, Insightful)

      by BoldAC (735721) on Sunday January 25 2004, @05:50PM (#8083362)
      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
      • Re:Cool (Score:5, Funny)

        by ArsonPanda (647069) on Sunday January 25 2004, @08:08PM (#8084272)
        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?
      • Re:Cool (Score:3, Insightful)

        by Spy Hunter (317220)
        I think the promise of this approach may strech beyond people trying out Linux to helping people install Linux alongside Windows. I can imagine a new Linux install process that doesn't require booting from a disk or CD. Instead you download a giant executable which starts a coLinux system. Once it is running it can cooperate with part of the installer still running as a Windows process to resize the main Windows partition, create a Linux partition, and install Linux there. (I think it's possible in Windo
      • Re:Cool (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 a
        • Re:Cool (Score:4, Interesting)

          by Afrosheen (42464) on Sunday January 25 2004, @11:50PM (#8085505)
          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.
        • Re:Cool (Score:3, Interesting)

          by mcrbids (148650)
          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

          Excuse me?

          Have you used a recent KDE desktop lately?

          Sorry, but your assertion that it's "half baked" really leaves some room for laughter.

          HAW HAW HAW HAW HAW!

          Now, that's done, I feel much better. I absolutely *LOVE*
  • by t0qer (230538) on Sunday January 25 2004, @05:06PM (#8083135) Homepage Journal
    I always thought that linux assimilating windows was better than windows assimilating linux.
      • It's a dangerous tech to rely upon though. MS remains a hostile platform. No one outside of microsoft is supposed to write software in the world according to willy, and lots of free apps for windows will cut into MS profits.

        Anyone think redmond will allow this to gain a significant user base? Or will they do an XBox and nobble it with a bug fix, where the bug is defined as "runs linux"

        I know which way I'm betting...

  • by pardasaniman (585320) on Sunday January 25 2004, @05:08PM (#8083145) Journal
    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!
  • 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...
    • by The One KEA (707661) on Sunday January 25 2004, @05:18PM (#8083207) Journal
      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!
      • by selderrr (523988) on Sunday January 25 2004, @05:22PM (#8083224) Journal
        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 !
      • by spun (1352) <{moc.oohay} {ta} {yranoituloverevol}> on Sunday January 25 2004, @05:27PM (#8083251) Journal
        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!
    • This is great for Linux people who are stuck at companies where everybody is required to run Windows on their PC... they can just boot Windows, double click the "Cooperative Linux" icon, maximize the Linux window, and forget about Microsoft for the rest of the day :^)
  • great for n00bs ! (Score:4, Insightful)

    by selderrr (523988) on Sunday January 25 2004, @05:11PM (#8083162) Journal
    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)
  • by SwansonMarpalum (521840) <redina@ a l u m . r pi.edu> on Sunday January 25 2004, @05:11PM (#8083163) Homepage Journal
    ...just got a whole lot less useful. ;)
    • ...just got a whole lot less useful. ;) SFY 3.5 is a deficient product, and probably made so. It won't uninstall cleanly (leaving files only deletable by SYSTEM, making it a pain to remove them), and the shells (ksh and chs) misses tab-completion in emacs mode. I use Cygwin mostly for it's shell and utilities, and SFU is no replacement for this.
      • by Chops (168851) on Sunday January 25 2004, @08:42PM (#8084517)
        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.
  • by Anonymous Coward
    Ideally, people would be running Windows on top of Linux. Otherwise, eventually we will have Linux... requires Windows Longhorn or higher on newer computers.
  • Unfourtuantely (Score:5, Informative)

    by Hal The Computer (674045) on Sunday January 25 2004, @05:11PM (#8083170)
    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.
  • Granted I haven't read the article, but how is this different from doing an UMSDOS Install?
    • Re:UMDOS (Score:3, Informative)

      Because the kernel has been ported directly onto the Windows API, this means that the kernel looks like a Windows program, yet is actually an encapsulated Linux system. This means that you can use whatever filesystem you wish. How they intend to solve the issue of getting data in and out of the encapsulated OS, I don't know - they aren't very clear on the website.
  • by richard_za (236823) on Sunday January 25 2004, @05:22PM (#8083225) Homepage Journal
    When I wan't to use *nix tools under Windows I've always trusted Cygwin [cygwin.com], but I can see how this project can provide a good alternative to Cygwin XFree86 [cygwin.com] as suggested in the roadmap [colinux.org]. 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 [knopper.net] in this respect.

    Wine [winehq.com] developers could use this compare apps running natively and those running under wine side-by-side.
  • Stability? (Score:5, Insightful)

    by greyguppy (413383) on Sunday January 25 2004, @05:23PM (#8083227) Homepage
    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.
    • Re:Stability? (Score:3, Informative)

      According to the website, they've written special core drivers for the host OS which modify the way the host OS receives notifications from the hardware - to make the long story short, it allows both OSes to coexist peacefully and run at a decent speed as well.
    • Re:Stability? (Score:5, Interesting)

      by owlstead (636356) on Sunday January 25 2004, @06:16PM (#8083501)
      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.

  • I spent about 20 hours trying to get my NTFS partition on my new toshiba laptop (Has XP) in some kind of order to run NTFSresize, but I couldnt I finally bailed and got my hands on a copy of Partition Magic to resize it. I looked around for things to do this, I cant rember the names now, but there used to be a version that would do this years ago. I finally repartitioned and installed Fedora.
    I wish I would have come accross this aboput 2 damm weeks ago.
  • sweet (Score:2, Insightful)

    by sPaKr (116314)
    Great All the bugs of windows, and the Linux User Interface. jebus sometimes we should not ask 'can I' but rather 'should I'.
  • by jaymzter (452402) on Sunday January 25 2004, @05:25PM (#8083243) Homepage
    Yeah, but does it run on Windows?

    Finally, installing Linux takes only one click!

    In the future, please refer to it as GNU/Windows...
  • by Anonymous Coward on Sunday January 25 2004, @05:31PM (#8083269)
    When you send data to 127.0.0.1, which OS picks it up? This boggles my mind.
  • by fygment (444210) on Sunday January 25 2004, @05:32PM (#8083274)
    ... Windows will be assimilated. Resistance is futile.

  • OEM (Score:4, Interesting)

    by Ugmo (36922) on Sunday January 25 2004, @05:33PM (#8083280)
    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
  • Predictions, anyone? (Score:3, Interesting)

    by Alioth (221270) <no@spam> on Sunday January 25 2004, @05:42PM (#8083327) Journal
    We've had Slashdot stories about how many operating systems someone has got on one machine (by multi-booting).

    We probably need a sweepstake for predicting when Slashdot will have the story on how many operating systems have been run virtually on one machine.

    Linux running vmWare'd Windows which in turn is running a Debian distro under coLinux, which in turn is running Fedora as a user-mode Linux instance, in turn running FreeBSD as a Xen virtual machine instance... oh, the horrors :-)
  • Serious Doubts... (Score:5, Insightful)

    by lkaos (187507) <anthony.codemonkey@ws> on Sunday January 25 2004, @05:43PM (#8083334) Homepage Journal
    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.
    • before you go and install this on your non-backed up mission critical server.

      Phew - that was close. Thanks man - I could have had a catastrophe on my hands tomorrow.

  • by caseih (160668) on Sunday January 25 2004, @05:47PM (#8083350)
    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.
  • by gl4ss (559668) on Sunday January 25 2004, @06:32PM (#8083596) Homepage Journal
    *Release Name: 0.5.1-2.4.24

    Notes:
    This is a very preliminary source-only release.

    It is mostly for peer review, but with some effort it can be compiled and run.

    Please note that Cooperative Linux is not yet stable on some processors and hardware configurations.*

    • Slow day? (Score:5, Insightful)

      by ZiZ (564727) * on Sunday January 25 2004, @05:09PM (#8083154) Homepage
      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.

      • Re:Slow day? (Score:3, Interesting)

        What is this accomplishing that cygwin did not?

        By constantly switching the machine's state between the host OS state and and the coLinux kernel state, coLinux is given full control of the physical machine's MMU (i.e, paging and protection) in its own specially allocated address space, and is able to act just like a native kernel, achieving almost the same performance and functionality that can be expected from a regular Linux which could have ran on the same machine standalone.

        Since coLinux uses the sa
    • Cygwin can't directly run linux apps. Sure, you can port apps to cygwin, but it's not the same.
    • It's different to cygwin because it can potentially support any distro. So you could run mandrake on windows, or debian, etc etc etc.

      What I want to know is, will it let me do 'dd if=/dev/fd0 of=/disk.img' on windows (which cygwin doesn't allow)
      Windows 2000's horribly broken floppy support is *really* annoying.

    • by Ianoo (711633) on Sunday January 25 2004, @05:31PM (#8083272) Journal
      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.
    • Re:Rootless? (Score:5, Informative)

      by Ianoo (711633) on Sunday January 25 2004, @05:23PM (#8083233) Journal
      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 [hummingbird.com] (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.
      • Re:Rootless? (Score:5, Informative)

        by dolmen.fr (583400) on Sunday January 25 2004, @05:34PM (#8083285) Homepage
        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.
          • Re:Rootless? (Score:3, Informative)

            by tankrshr77 (170422)
            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)
    • Re:Different? (Score:5, Informative)

      by strags (209606) on Sunday January 25 2004, @06:21PM (#8083539)
      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.