coLinux

chroot後、maek_devicesの時に

coLinux用のディスクデバイスを作成 mknod /dev/cobd0 b 117 0 mknod /dev/cobd1 b 117 1 mknod /dev/cobd2 b 117 2 mknod /dev/cobd3 b 117 3 mknod /dev/cobd4 b 117 4 mknod /dev/cobd5 b 117 5 mknod /dev/cobd6 b 117 6 mknod /dev/cobd7 b 117 7 とり…

glibc

time { ../glibc-2.3.3-lfs-5.1/configure --prefix=/tools --disable-profile --enable-add-ons=linuxthreads --with-binutils=/tools/bin --with-headers=/tools/include --without-gd --without-cvs && make AUTOCONF=no && make install; } …中略… real …

coLinux用カーネルパッチ

http://sourceforge.net/project/showfiles.php?group_id=98788 より coLinux-0.6.1.tar.gz をダウンロード。 2. Compiling the Cooperative Linux kernel - Unpack the source tarball of coLinux and the Linux kernel tarball (version 2.4.24, can be ob…

SBU=3m44.265s

注目のSBU値がでました。 $ time { ../binutils-2.14/configure --prefix=/tools --disable-nls && make configure-host && make LDFLAGS="-all-static" && make install; } …中略… real 3m44.265s user 0m0.000s sys 3m32.890s 約3分半くらいですね。以下マ…

いきなりエラー

lfs@colinux:/mnt/lfs/sources/binutils-build$ ../binutils-2.14/configure --prefix=/tools --disable-nls creating cache ./config.cache checking host system type... i686-pc-linux-gnulibc1 checking target system type... i686-pc-linux-gnulibc1 c…

お、忘れてた…

gccを入れわすれてました。 apt-get install gcc

サービス化

http://scratchpad.fc2web.com/colinux/colinux-0.6.1.html を参考にcoLinuxをサービス化 ん…微妙にwinが重くなったのは気のせい?

今後のメモ

・日本語キーボード対応 ・何故かnamedが動いてるんで削除←別にいいか? ・Xを動かす(寄り道) 参考:http://www.colinux.org/wiki/index.php/XCoLinux ・Installing Debian from scratch ←これは参考になりそう。 ・kernelにパッチを当てる必要があるみたい…

LFS用のファイルシステム作成

# mkfs /dev/cobd3 # mkdir /mnt/lfs # mount /dev/cobd3 /mnt/lfs マウントできればOK fstabに追記しておく # echo "/dev/cobd3 /mnt/lfs ext2 defaults 0 1" >> /etc/fstab

Swapの作り方

# mkswap /dev/cobd2 # echo "/dev/cobd2 swap swap sw 0 0" >> /etc/fstab] # swapon -a topコマンドで確認。

ネットワーク設定

ローカル接続とTAPをブリッジ。 起動したDebianのIPアドレスをローカルの使用していないIPに設定。 # vi /etc/network/interfaces # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or # /usr/share/doc/ifupdown/examples for more informa…

起動

コマンドプロンプトで "C:\Program Files\coLinux" に移動し、以下のコマンドで起動。 C:\Program Files\coLinux>colinux-daemon.exe -c deb3.colinux.xml

インストール

インストール先は"C:\Program Files\coLinux"。 インターフェースはTAPを使用することにする。ダウンロードしてきた "Debian-20040605.ext3.1610mb.bz2" と "fc1_2GB_root.bz2"、"blank_256.bz2" を解凍。 "fc1_2GB_root" ファイルを "lfs_2G" に名称変更。

ダウンロード

以下のものをhttp://sourceforge.net/project/showfiles.php?group_id=98788からダウンロード。 coLinux-0.6.1.exe coLinux本体 colinux_minimal_fedora_core_1.zip Fedoraは使わないけどFedoraのイメージファイル(2G)とblankイメージファイルをLFS用とSwap…

LFS on coLinux

coLinux上でLFSを作ろうという試みを始める。 とりあえず、今日はcoLinuxのインストールと設定を。coLinuxとはなにかというと coLinuxはLinuxカーネルをWindowsの特権モードで動作させるため、CygwinやSFU(Windows Services For UNIX)のようなAPIレベルでのU…