[HOWTO] coLinux - running Linux in Windows


Recommended Posts

There have been several requests for information on how to run coLinux (including by myself), and it seemed useful to me to write a little guide.

It's a work in progress, as still haven't gotten everything running ;-)

1. Get the necessary files (www.colinux.org ==> go to downloads).

2. Run the installer (just go through the installation, and select the Debian or the Gentoo file). I installed everything to c:\coLinux , and will refer to it as if you do it the same way.

3. Decompress the Debian or Gentoo image. (It'll look something like gentoo-i586-ext3-2g-deluxe or Debian-3.0r0.ext3.1gb .) You can use WinRAR for this.

4. Decompress vmlinux-modules (use WinRAR again).

5. Open default.colinux.xml in Notepad.

You'll see several parts that need to be adapted.

My file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<colinux>
    <block_device index="0" path="\DosDevices\C:\coLinux\Debian-3.0r0.ext3.1gb" enabled="true"/>
    <block_device index="1" path="\DosDevices\c:\coLinux\swap_256Mb" enabled="true"/>
    <bootparams>root=/dev/cobd0</bootparams>
    <image path="vmlinux"/>
    <memory size="64"/>
    <network index="0" type="tap" name="TAP"/>
</colinux>

    <block_device index="0" path="\DosDevices\C:\coLinux\Debian-3.0r0.ext3.1gb" enabled="true"/>

This part links to the image file (in this case the Debian file). It needs to point to the correct directory, so make sure not to make any mistakes!

    <block_device index="1" path="\DosDevices\c:\coLinux\swap_256Mb" enabled="true"/>

This part points to the swap file. A swap file is optional.

If you don't want to use it, change "true" to "false".

If you do want to use a swap-file, download one from this location and uncompress it (and make sure the directory is displayed correctly in default.colinux.xml!).

    <memory size="64"/>

This is the last important part of the file. Don't use too much of the memory, or your computer can slow down. Don't use too little, or Linux won't run well. 64 Mb should do well, if you're not running anything like KDE or Gnome.

Save default.colinux.xml and close it.

6. In the Windows Start Menu, search for the 'File Prompt' (good old DOS), and start it.

Type

cd c:\colinux

You are now in the correct directory.

7. Type

colinux-daemon.exe -c default.colinux.xml

This will start the colinux-daemon.exe file, using the defaults chosen in default.colinux.xml.

8. You're running Linux in Windows! Next part: going graphical!

So, how does my explanation look?

edit 1: changed part 7

Edited by Mathiasdm

Thanks, guys :D

Well, I'm not going to add screenshots yet. Maybe once I get the GUI working (might take me a little longer).

I didn't post this thread in the FAQ section, since it seemed unfinished to me.

But then again, you CAN use Linux already :p

I didn't post this thread in the FAQ section, since it seemed unfinished to me.

But then again, you CAN use Linux already  :p

585363067[/snapback]

Don't get hung up on the word "completed" in the title of the section. This is Open Source, and everything is constantly fixed and improved by the community. :yes:

The "completed" was added to prevent people from posting new general questions in here, like "How do I do xxxxx in Slackware?".

This the right place to ask for help? :p

I've installed it, with Gentoo, but how do I get it so I can access the internet, do I need to bridge the connections in XP?

585369011[/snapback]

I'm still working on that ;-)

I've tried several methods already, but I can't figure it out :blush:

Maybe take a look at this page: http://forums.gentoo.org/viewtopic.php?t=1...ghlight=colinux

  • 4 months later...
Don't get hung up on the word "completed" in the title of the section.  This is Open Source, and everything is constantly fixed and improved by the community. :yes:

585363098[/snapback]

Damn right mark! That coLinux thing sounds pretty cool, maybe a part on setting up Internet with the host (Windows)?

when it asks to enter login and pass i can enter login but when i get to pass, it just wont let me type :s

586166279[/snapback]

You do realize that there is no onscreen indicator as you type in the password, right? No characters, no asterisks, no nothing.

yep just found out, sorry i am n00b to linux.. anywho here is my problem.. after i enter the login info.. it just sits there it does nothing.. is there somthing i have to type i have tried:

startx

kde

go

start

but it says "command not found"

ok here is what i did,

i downloaded it, i picked Gentoo, i then downloaded the images needed

then i went to the directory, opened the files that need extracting with winrar, extracted them to the colinux folder and the edited the xml file:

<?xml version="1.0" encoding="UTF-8"?>

<colinux>

  <block_device index="0" path="\DosDevices\C:\Program Files\coLinux\Gentoo-colinux-stage3-x86-2004.3" enabled="true"/>

  <bootparams>root=/dev/cobd0</bootparams>

  <image path="vmlinux"/>

  <memory size="256"/>

  <network index="0" type="tap" name="TAP"/>

</colinux>

then i simply typed in dos: colinux-daemon.exe -c default.colinux.xml

then it asked for the login and pass typed that in.. and now i am sitting here waiting :s

ok here is what i did,

i downloaded it, i picked Gentoo, i then downloaded the images needed

then i went to the directory, opened the files that need extracting  with winrar, extracted them to the colinux folder and the edited the xml file:

then i simply typed in dos: colinux-daemon.exe -c default.colinux.xml

then it asked for the login and pass typed that in.. and now i am sitting here waiting :s

586166576[/snapback]

Now you have the base system. You have to specifically install stuff on it that you want. Gentoo is a somewhat advanced distro - it doesn't come with much more than the bare essentials to get the OS running by default, and then you go from there. If you want a pretty gui like kde or gnome, you'll have to install them yourself. I've never used colinux, nor did I read the docs, but you might be able to use "emerge sync" if you have network connectivity, and if that works then just start emerging whatever you want to run on it ;)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Wow, imagine you dump hundreds of hours into completing things and unlocking stuff and you lose it all. Back in the day when cheats were built into games, you could at least unlock things again that way without spending hundreds of hours again. But those days are long gone for some reason as no one builds cheats into games anymore. So it's even more painful that studio that's on its 6th installment **** it up so badly.
    • Spotify finally removes the disco ball app icon in the latest update by Ivan Jenic Image: Spotify Spotify has just released an update that removes its now infamous disco ball icon. The update reverts the app icon to the familiar flat green logo after weeks of mixed reactions online. The icon arrived on May 13 as part of the company's 20th anniversary celebration and was always intended to be temporary, though Spotify only confirmed that after the backlash started. The disco ball took the internet by storm, as the reception was split. A vocal group of users called it ugly and disorienting, with some iOS users noting that the 3D glowing effect made the app look like it was stuck mid-update. On the other end, the icon picked up a following of its own. Its retro, three-dimensional look immediately stood out against the flat, minimalist aesthetic that has dominated app design for years. It even started a small movement, spawning what people started calling "discomorphism," a mashup of disco and skeuomorphism. Other brands started posting disco ball versions of their own logos, probably in an effort to ride the wave of memes that flooded the internet during late May. Spotify has had a turbulent relationship with its user base lately. Besides the disco ball icon, which certainly wasn't appreciated by everyone, the company has also received backlash for its willingness to include AI-generated music on its platform. On May 17, Spotify promised the old icon would return “in a few weeks.” And now it looks like that time has finally arrived. So, whether you liked the disco ball or it made you uncomfortable, it’s now gone for good. The next time you update the Spotify app on your phone, the old, flat-design icon will return.
    • Playground Games confirms Forza Horizon 6 save wipe bug by Taras Buria Forza Horizon 6 was launched last month to critical acclaim (check out our review here), and it became a smash hit in an instant. Now, weeks into the launch, with die-hard fans clocking hundreds of hours, Forza Horizon 6 is facing a serious issue: save wipes. After multiple complaints on Reddit and social media, the studio issued a statement. The problem with missing saves came shortly after Playground Games promised the initial batch of gameplay tweaks and improvements. Unfortunately, there seems to be no temporary fixes for those affected by unexpected save wipes. However, the studio published a new support document with a few important steps users should try. First, affected gamers should open a support ticket immediately (go here to file one) so that the support team can try recovering the lost progress by reverting to an earlier save. Playground Games says this should be done the same day the issue occurs. Meanwhile, gamers are urged not to start new play sessions or create new saves. The studio also published a few things gamers should try to avoid to prevent potential progress loss: Ensure your Gaming Services app on PC or XBOX Series X|S console is fully up to date. On XBOX Series X|S consoles, disable Quick Resume for Forza Horizon 6: To disable Forza Horizon 6 from using Quick Resume, highlight the game box art anywhere in the console experience (Home, My Games & Apps, Pins, etc) and then press the Menu button, then go to Manage game and add-ons > Quick Resume settings > Disable Quick Resume. Ensure you are online when ‘quitting’ the game. Give your saved time to sync to the cloud before powering off or switching devices. Do not force quit the game during save screens. Do not power off the device during gameplay. Always "Quit" (console) or "Exit to desktop" (PC) once you've finished your play session, ensuring the save icon is not visible when you’re closing the game. Before turning off your console, shutting down your PC, or force-closing the Steam app, give your devices or clients at least a few minutes to ensure your latest progress has been synchronized with the cloud. This will reduce the risk of progress reversions as you switch between different platforms. XBOX Series X|S consoles, Steam, and the XBOX app on PC all include game save indicators that confirm your progress has been synced. You can read more about the bug in the official support document here. Forza Horizon 6 is currently available on PC (Steam and the Microsoft Store), Xbox Series X|S, and Game Pass. The game is also coming to PlayStation 5 later this year.
  • Recent Achievements

    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
    • Week One Done
      highriskpaym earned a badge
      Week One Done
    • Week One Done
      FBSPL earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      519
    2. 2
      PsYcHoKiLLa
      198
    3. 3
      +Edouard
      158
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!