|
From: Ian A. <ia...@ab...> - 2004-09-08 18:01:00
|
Hi,
I'm trying to use the alias feature in the colinux-20040710 snapshot
so I can dual-boot my Gentoo natively or from Windows/coLinux
without messing up my /etc/fstab.
I have a few entries in my colinux config file as follows:
<!-- Gentoo root -->
<block_device index="0" path="\Device\HarddiskVolume9"
alias="hdc10" enabled="true" />
<!-- Swap -->
<block_device index="1" path="\Device\HarddiskVolume6"
alias="hdc7" enabled="true" />
<!-- Gentoo boot -->
<block_device index="2" path="\Device\HarddiskVolume8"
alias="hdc9" enabled="true" />
<!-- bootparams allows you to pass kernel boot parameters -->
<bootparams>root=/dev/hdc10</bootparams>
Gentoo seems to boot okay until it tries to check/remount the root
device, when it fails to open /dev/hdc10. If I drop to a shell and
look in the /dev directory, I see no /dev/hdc10, /dev/hdc7 or
/dev/hdc9, but I do see /dev/hdc/10, /dev/hdc/7 and /dev/hdc/9.
(I actually have a couple more aliased partitions, but I've omitted
the details for clarity.)
Similarly, instead of /dev/cobd0, etc., I have /dev/cobd/0, etc.
During boot, the cobd driver claims to create the aliases okay:
cobd: loaded (max 32 devices)
alias for cobd0 is hdc10
cobd alias cobd0 -> hdc10 created
alias for cobd1 is hdc7
cobd alias cobd1 -> hdc7 created
alias for cobd2 is hdc9
cobd alias cobd2 -> hdc9 created
Any idea what's going on here? Something to do with devfs and
devfsd, perhaps? (I have a devfs filesystem mounted on /dev and
devfsd running, using /dev.) I don't have similar trouble booting
natively with a 2.6 kernel.
Ian.
|