Hi!
 
Here's a quick and dirty tutorial for installing slackware 10 from original CD-ROMs on colinux. I've tried it today and it works like a charm. The setup instructions are quite detailed and have been verified twice to be correct.
 
This procedure assumes that your vmlinux is compiled with support for large (16 MB) initrd.
You can adjust it by changing
 
CONFIG_BLK_DEV_RAM_SIZE=4096
to :
CONFIG_BLK_DEV_RAM_SIZE=16384
 
in your .config file and recompiling vmlinux.
 
I've provided a pre-compiled vmlinux with large initrd that works with coLinux-20040710 snapshot. It's available at:
 
http://jaak.sav.net/vmlinux.largeinitrd-20040710.bz2
 
I wonder if it's possible to install other distributions in a similar manner...
 
Jarek
 
SLACKWARE 10 COLINUX HOWTO:
============================
 
1. Copy "isolinux/initrd.img" from your Slackware 10 CD #1 to your colinux directory and rename it to "slackware_initrd.img"
2. Prepare "slackware.xml" config file. In my case I've decided to use a separate /home partition. You may want to adjust paths/other settings accordingly. If you create/use additional block devices, you may want to use a modified installation routine as described below.
 
----------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<colinux>
    <block_device index="0" alias="hda1" path="\DosDevices\c:\colinux\slack_root" enabled="true" />
    <block_device index="1" alias="hda2" path="\DosDevices\c:\colinux\slack_home" enabled="true" />
    <block_device index="2" alias="hda3" path="\DosDevices\c:\colinux\slack_swap" enabled="true" />
 
    <block_device index="29" path="\Device\CdRom0" enabled="true" />
    <image path="vmlinux" />
    <initrd path="slackware_initrd.img" />
    <bootparams>root=/dev/ram</bootparams>
    <memory size="160" />
    <network index="0" type="tap" name="CoLinux TAP" />
</colinux>
----------------------------------
 
3. Create image files:
 
(I used mkImage.exe from http://www.geocities.com/dan_slater/colinux/file-utils-mingw-bin.tgz)
 
mkFile -s -g c:\colinux\slack_root 2
mkFile -s -g c:\colinux\slack_home 2
mkFile -s -m c:\colinux\slack_swap 512
 
This will create root and home partitions of 2 GB each + a 512 MB swap partition.
 
4. Start the installer:
 
start colinux-daemon.exe -d -c slackware.xml
 
5. Connect to the installer with a console. You can use either of:
 
colinux-console-fltk.exe
colinux-console-nt.exe
 
6. Slackware asks you to select a keyboard map. In my case I pressed Enter to skip this step but you may want to change your keyboard layout here.
7. Login as "root" with no password.
8. Now it's time to do the tweaking necessary to convince slack to like colinux. The only problem is the detection of hard disk partitions. This can be solved by running the following commands:
 
# mknod /dev/hda1 b 3 1
# mknod /dev/hda2 b 3 2
# mknod /dev/hda3 b 3 3
# mknod /dev/cobd29 b 117 29 # for CD-ROM
 
# cat >> /sbin/probe
echo "/dev/hda1 1 1 0 Linux"
echo "/dev/hda2 1 1 0 Linux"
echo "/dev/hda3 1 1 0 Linux swap"
<Press Ctrl-D here>
 
9. Now it's time to run the main setup program:
 
# setup
 
10. Choose ADDSWAP and select your swap partition. When asked if you want to run mkswap on your partition - answer Yes.
11. When asked to choose a linux destination partition, choose /dev/hda1, Quick Format, ext3, 4096 bytes per inode,
12. When asked for other partitions to add, choose /dev/hda2, Quick Format, ext3, 4096 bytes per inode, Mount point /home.
 
NOTE that you may want to use more partitions (or just one). Repeat the above steps accordingly for all your mount points.
 
13. In "SOURCE MEDIA SELECTION":
 
Choose "1. Install from Slackware CD or DVD"
Choose "manual. Manually specify CD or DVD by device name"
Choose "custom"
Enter "/dev/cobd29"
 
14. On the PACKAGE SERIES SELECTION screen choose "A, AP, N" to as a base. You'll be able to install additional packages later. This set is known to require just the first CD.
15. In "prompting mode" choose "menu".
16. On the "SELECTING PACKAGES FROM SERIES ..." you may want to check/uncheck the packages. I recommend that you choose "samba" from the "N" series.
17. Slackware should begin installing packages.
18. On "INSTALL LINUX KERNEL" - choose SKIP
19. On "MAKE BOOTDISK" - choose SKIP
20. On "MODEM CONFIGURATION" - choose "no modem"
21. On "ENABLE HOTPLUG ..." - choose "No"
22. On "MOUSE CONFIGURATION" - choose "ps2"
23. On "GPM CONFIGURATION" - choose "No"
24. Configure your network
25. Verify "CONFIRM STARTUP SERVICES TO RUN" and adjust to your needs
26. On "CONSOLE FONT CONFIGURATION" - choose "No"
27. Configure your hardware clock and timezone
28. Set your root password.
29. Choose "EXIT"
30. Send Ctrl-Alt-Del to colinux or run "reboot" command
31. Modify your "slackware.xml" by changing the <bootparams> line to:
 
    <bootparams>ro root=/dev/hda1</bootparams>
 
and removing line <initrd path="slackware_initrd.img" />

32. Start colinux-daemon again and reconnect your console:
 
start colinux-daemon.exe -d -c slackware.xml
 
33. Login as "root"
34. The only thing left is getting and installing vmlinux-modules.tar.gz but since the networking is up and running and you have samba this should be pretty easy. In my case I had to do (ignore errors about missing /etc/samba/smb.config):
 
# smbclient //myhostmachinename/c$ -U username
<type the password for username>
cd colinux
get vmlinux-modules.tar.gz
quit
# cd /
# tar zxvf /root/vmlinux-modules.tar.gz
 
35. Reboot and enjoy your new coslackware 10.