Written by Vernon Singleton
----------------------------------------------------- Mailing list notes: Networking variants: multiple nics TAP -> PCAP -> Bridged Move to the 2.6.x kernel devfs -> /dev/codb0 becomes /dev/codb/0 folks are more often building colinux from gentoo than debian but then more often installing the debian coLinux image :-/ conoppix ... co-knoppix zero configuration networking coLinux graphics Frame Buffer suggestions ... shared memory techniques betwixt windows and coLinux ... ugh! ----------------------------------------------------- Configure XP to connect to the net over ethernet. check "Show icon in task bar when connected" Assigned static ip Downloaded/installed Cygwin (defaults) testing Cygwin Bash shell: added "set -o vi" to .bashrc alias c='cd /cygdrive/c' alias co='cd /cygdrive/c/coLinux' alias desk='cd /cygdrive/c/Documents\ and\ Settings/Vern/Desktop/' Downloaded/installed Cygwin/X from cygwin.com using setup.exe xterm, ssh, wget, ed, vim, file, ... testing X: export DISPLAY=:0 XWin -clipboard :0 & unblock in XP sp2 ... sigh xterm -sb -sl 1000 &colinux.org
downloads -> coLinux 0.6.1 agree -> c:\coLinux continue anyway for TAP ->... Finished cd c: cd coLinux cp /cygdrive/c/Documents\ and\ Settings/Vern/Desktop/stuff/Debian-20040605.ext3.1610mb.bz2 . cp /cygdrive/c/Documents\ and\ Settings/Vern/Desktop/stuff/swap_768Mb.bz2 . cp /cygdrive/c/Documents\ and\ Settings/Vern/Desktop/stuff/sources.list . bunzip2.exe Debian-20040605.ext3.1610mb.bz2 (time 2m9.855s) (second time 3m17.355s)swap files
bunzip2.exe swap_768Mb.bz2 (time 0m32.144s) open network connections Intel-8255... properties -> advanced -> Allow other network users to connect through this computer's internet connection make sure the TAP adapter is enabled should be set to static 192.168.0.1 ip with 255.255.255.0 mask cp -p default.colinux.xml default.colinux_01.xml vi default.colinux.xml root_fs -> Debian-20040605.ext3.1610mb swap_device -> swap_768Mb crank up the memory to 256 :-) chmod 0755 * ./colinux-daemon.exe -c default.colinux.xml -t nt vi .bashrc set -o vi set -o vi In windows ping 192.168.0.40 In coLinux ping -c 3 192.168.0.1 fart with sp2 firewall ... allow icmp ... sigh ... try again vi /etc/hosts ... important! 192.168.0.1 swisscheese 10.1.1.100 swisscheese ifconfig free :-) ok, now we want to get some files from XP over to coLinux ... hmm choice 1) passwd root ... scp choice 2) Proxy note: export http_proxy=http://{yourProxyIpAddress}:{yourProxyPort}/ export ftp_proxy=http://{yourProxyIpAddress}:{yourProxyPort}/ apt-get update apt-get dist-upgrade (time 2m48.499s) apt-get install smbclient --- WORKGROUP share coLinux redo NAT In coLinux: cp -p sources.list sources_01.list smbclient //swisscheese/coLinux -U Vern ls get sources.list get vmlinux-modules.tar.gz exit cd /etc/apt cp -p sources.list sources_01.list cp -p /root/sources.list . apt-get update apt-get dist-upgrade ... be bold (time 2m48.499s) apt-get install module-init-tools gnupg cd / tar -zxvf /root/vmlinux-modules.tar.gz modprobe ip_tables :-) alternate method ... apt-get install smbfs mount -t smbfs -o username=Vern //swisscheese/coLinux /coLinux mount :-) apt-get install x-window-system kde-core kdm (time est. 5min) (actual time 276kB/s ... 7m49.976s) apt-get install ssh portmap less dnsutils apt-get install alsa-utils alsa-base alsa-oss discover k3b bless there hearts they think we dont use the network transparency capabilities of X we are not going to run a local X display ... so cd /etc/kde3/kdm less Xstartup -bash: less: command not found ...Updated:apt-get install less :-) can never remember which file ... sigh grep ":0" * ... ah ha! cp -p Xservers Xservers_01 vi Xservers cp -p kdmrc kdmrc_01 vi kdmrc /XDMCP Enable=true vi Xaccess adduser geek ... shutdown -h now ./colinux-daemon.exe -c default.colinux.xml -t nt back in XP: X -rootless -query 192.168.0.40 :0 & user: geek passwd: geek background island of elba K->system->konsole settings->schema->transparent dark ... yeah as root: apt-get install w3m-img gpm mime-support ca-certificates as geek: w3m images.google.com beautiful Ok, now for expanding the root partition: shutdown -h now dd if=/dev/zero bs=1k count=2M | cat Debian-20040605.ext3.1610mb - > Debian-20040605.ext3.1610mb_plus_2g (time 6m3.289s) echo '1610612736 + 2 * 1024 * 1024 * 1024' | bc $ ls -l Debian-20040605.ext3.1610mb* -rwxr-xr-x 1 Vern None 1610612736 Sep 16 02:45 Debian-20040605.ext3.1610mb -rw-r--r-- 1 Vern None 3758096384 Sep 16 02:58 Debian-20040605.ext3.1610mb_plus_2g cp -p default.colinux.xml Debian-20040605.ext3.1610mb_plus_2g.xml vi Debian-20040605.ext3.1610mb_plus_2g.xml add the next block device ... ./colinux-daemon.exe -c Debian-20040605.ext3.1610mb_plus_2g.xml -t nt e2fsck -fv /dev/cobd2 (time 29.159s) resize2fs -p /dev/cobd2 (time 3.212s) mkdir /tmp/newfs mount -t ext3 /dev/cobd2 /tmp/newfs mount find /tmp/newfs/lib/ -name \*ip_table* umount -l /tmp/newfs shutdown -h now vi Debian-20040605.ext3.1610mb_plus_2g.xml 2->0 ./colinux-daemon.exe -c Debian-20040605.ext3.1610mb_plus_2g.xml -t nt df -k colinux-console-nt.exe serial login: colinux-serial-daemon.exe These notes were compiled and presented on Thursday June 16, 2005.