colinuxの設定
winにいれたとりあえずでびあん。
<?xml version="1.0" encoding="UTF-8"?> <colinux> <!-- This line needs to point to your root file system. For example change "root_fs" to the name of the Debian image. Inside coLinux it will be /dev/cobd0 Block Device Aliasing: You can now handle most dual-boot issues by adding an alias="devname" to block_device. i.e. alias="hda", alias="hda1" You can do this for SCSI as well as IDE. You need to be aware that if you add an alias, you need to change your bootparams root="devname" appropriately (you may need to use devfs naming in some situations). --> <block_device index="0" path="Debian-3.0r2.ext3-mit-backports.1gb" enabled="true" /> <!-- This line can specify a swap file if you wish, or an additional image file, it will /dev/cobd1. Additional block_devices can be specified in the same manner by increasing the index --> <!-- block_device index="1" path="\DosDevices\c:\coLinux\swap_device" enabled="true" / --> <!-- This is an experimental feature, it may not function completely. <cofs_device index="0" type="flat" path="\DosDevices\C:\" enabled="true" /> --> <!-- bootparams allows you to pass kernel boot parameters --> <bootparams>root=/dev/cobd0</bootparams> <!-- Initial RamDISK (initrd) support --> <initrd path="initrd.gz" /> <!-- image allows you to specify the kernel to boot --> <image path="vmlinux" /> <!-- this line allows you to specify the amount of memory available to coLinux --> <memory size="64" /> <!-- This allows you to modify networking parameters, see the README or website or wiki for more information --> <network index="0" type="tap" /> </colinux>
です。
機動はディスクトップにでもC:\Program Files\coLinux\colinux-daemon.exeのショートカットつくって
リンク先: "C:\Program Files\coLinux\colinux-daemon.exe" -c default.colinux.xml
ってしましょう。
ユーザー名「root」、パスワード「root」でログイン
できます。
WinXP嬢でネットワーク接続のブリッジ接続を行い(coLinuxのtapと物理nic 3comなどを二つ以上選んで右クリック ブリッジ接続)
# editor /etc/network/interfaces
# editor /etc/resolv.conf nameserver
# /etc/init.d/networking restart
リモートメンテ用の必要最低限いれる
# apt-get install ssh sudo ee
# editor /etc/hosts
本家debianはおそらくそれ以外 のホストから繋げれないので
# cat >>/etc/hosts.allow
ALL: ALL
adduser して visudoして rm suする
完了(´∀`)