colinuxを動かそうとしているやつの続き1

まったり日記&メモ帳 - colinuxにubuntuを導入する過程でqemuを使ってみる。 の続き

ddコマンドはすんなり終わり。次はいよいよcolinuxで動かす作業っぽいです。
colinux(を動かす設定を書いたbat)を実行。WinPcapがないって怒られる。急遽仕入れて入れる。
再び実行。なにやら指定されたファイルが見つからないと出たり、実行できても動きそうにない。
一応コマンドは成功していろいろと動いてるけど、動かした後に、TAP(colinuxネットワークアダプタ)が接続できないってバルーンが出てくる。なんかこれ怪しいなぁ。
コントロールパネルをみて気が付く。なぜか知らないが、TAPが二つある。。。なぞが深まるばかり。。。

原因がわかってきた(追記その1

どうやら、kernel panic を引き起こしていたらしい。といっても意味はまだよくわからないわけですが、とにかくカーネルがパニックしてるってことで、なにやらファイルが読めないのか?
詳細なエラーメッセージはこれ

kernel panic - not syncing: VFS: Unable to mount root fs on unkown-block(3,1)

それで、引っかかった情報がこれ

ここで少々関係なさそうだけど気が付くわけですが
default.colinux.xmlって設定する必要あるの?
Ubuntu61 - coLinuxだと特に書いてなかったけど、必要なのか、どうなのか。わからず。

もう実行結果を載せてやるっ!

Cooperative Linux Daemon, 0.8.0
Compiled on Wed Apr 25 22:19:16 2007

loading C:\Linux\coLinux\linux.sys
daemon: driver installed
Cooperative Linux Daemon, 0.8.0
Compiled on Wed Apr 25 22:19:16 2007

PID: 692
colinux: booting
colinux-net-daemon: searching TAP device named "TAP"
colinux-net-daemon: found TAP device named "ローカル エリア接続 10"
colinux-net-daemon: TAP device not found
console: Coopeartive Linux console started
Linux version 2.6.17-co-0.8.0 (hn@hn-dt) (gcc version 3.4.5 (mingw special)) #2
PREEMPT Wed Apr 25 22:15:57 CEST 2007
512MB LOWMEM available.
initrd enabled: start: 0xdff9a000 size: 0x00065881
On node 0 totalpages: 131072
Normal zone: 131072 pages, LIFO batch:31
Built 1 zonelists
Kernel command line: root=/dev/hda1 fastboot 3
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
Setting proxy interrupt vectors
PID hash table entries: 4096 (order: 12, 16384 bytes)
Using cooperative for high-res timesource
Console: colour CoCON 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
conet-bridged-daemon: Looking for interface "LAN"
conet-bridged-daemon: adapter Adapter for generic dialup and VPN capture doesn't
have a connection
conet-bridged-daemon: checking connection: ローカル エリア接続 10
conet-bridged-daemon: checking connection: ローカル エリア接続 2
conet-bridged-daemon: no matching adapter
conet-bridged-daemon: error initializing winPCap
Memory: 515456k/524288k available (1586k kernel code, 0k reserved, 581k data, 11
2k init, 0k highmem)
Calibrating delay loop... 1815.34 BogoMIPS (lpj=9076736)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 178bfbff e3d3fbff 00000000 00000000 00000001
00000000 00000003
CPU: After vendor identify, caps: 178bfbff e3d3fbff 00000000 00000000 00000001 0
0000000 00000003
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: After all inits, caps: 178bf3ff e3d3fbff 00000000 00000410 00000001 0000000
0 00000003
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 01
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 0k freed
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 406k freed
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 65536 bind 32768)
TCP reno registered
cofuse init 0.1 (API version 2.2)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
cobd: loaded (max 32 devices)
alias for cobd0 is hda1
cobd alias cobd0 -> hda1 created
alias for cobd1 is hda2
cobd alias cobd1 -> hda2 created
alias for cobd2 is hdb1
cobd alias cobd2 -> hdb1 created
loop: loaded (max 8 devices)
conet: loaded (max 16 devices)
conet0: initialized
conet1: initialized
serio: cokbd at irq 1
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
input: AT Translated Set 2 keyboard as /class/input/input0
VFS: Cannot open root device "hda1" or unknown-block(3,1)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)
colinux: kernel panic suggests that either you forget to supply a
root= kernel boot paramter or the file / device mapped to the root
file system is not found or inaccessible.
Please Check your coLinux configuration and use option "-v 3".
colinux: Linux VM terminated
colinux: terminated with code 3 - abnormal exit, aborting
Cooperative Linux Daemon, 0.8.0
Compiled on Wed Apr 25 22:19:16 2007

console: Monitor692: Detached
続行するには何かキーを押してください . . .

多分、ubuntu_desktop_7_04.confで間違ったところがあるとおもう。(ファイルの記述ミスとか。
そのあたりを確認して、今日はもう終了(寝ます)

追記2 原因がわかった!

あわわわ、ブートしたぞ!


まず、ubuntu_desktop_7_04.confがこんな感じでした

############################################
# MAKE SURE THERE IS AN EXTRA LINE AT THE END
# OF THE BATCH FILE
#
# initrd should only be used at first start
# to install kernel modules for example when
# you upgrade your colinux
############################################

############################################
# DEFAULT
############################################
# set your runlevel to text-only mode or graphical mode
# root=/dev/hda1 fastboot 1 (single-user mode)
# root=/dev/hda1 fastboot 3 (text-only mode)
# root=/dev/hda1 fastboot 5 (graphic mode)
############################################

kernel=vmlinux
initrd=initrd.gz
mem=512
root=/dev/hda1 fastboot 5

############################################
# Drives
############################################
#cobd0=C:\Linux\Distro\image
#hda1=:cobd0
############################################

hda1=\DosDevices\C:\Linux\Distro\ubuntu_3gb.img
hda2=\DosDevices\C:\Linux\Distro\ext3_disk_1gb.img
hdb1=\DosDevices\C:\Linux\Distro\swap_512mb

############################################
# Ethernet
############################################
#eth0=slirp,00:ff:00:00:00:00
#eth0=pcap-bridge,"LAN", 00:ff:00:00:00:00
#eth0=tuntap,TAP,00:ff:00:00:00:00
############################################

eth0=tuntap,"TAP",00:ff:00:00:00:00
eth1=pcap-bridge,"LAN",00:ff:00:00:00:01
# please leave this as last line. Otherwise last of macadress goes as input for boot

赤のところのファイル名が間違っていたらしい。
確かにhda1でエラーしてたっけね。

batを実行したあとのエラーメッセージ(抜粋

中略
VFS: Cannot open root device "hda1" or unknown-block(3,1)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)
中略

無事ブートしたわけです。ログインできすね!→ログインできました! lsコマンド打てる!なんか変な脳汁が出てそうです><


んで、Ubuntu61の通りに進めてみました。なんか引っかかってる箇所がありますね。
editあたりからおかしい。まぁ今日はこの辺で終わりってことにします。