On Tue, 4 Nov 2008, David Ross wrote:
I get the bad file descriptor error as well. I think that:
mount -t ffs -u /kern/rootdev /
..is attempting to replace what's currently mounted at the root of the
filesystem with /kern/rootdev which I guess corresponds to an image of
the sysinst floppy loaded into memory.
Maybe kernfs just got disabled in the configuration for this kernel? Or
perhaps some other change broke it? I think normally you'd be able to
look in /kern after mounting kernfs there and see a few files such as
rootdev that correspond to kernel abstractions. When I look in /kern
there's nothing there.
Could you use a current kernel to test the sysinst.fs below?
It uses "sysctl kern.root_device kern.root_partition" instead
of kernfs to determine the root partition:
http://mono.org/abs/sysinst.fs.gz
I'm curious to see how far it gets.
I'm trying to determine if prepare.fs or miniroot.fs do anything
useful anymore...
http://mono.org/abs/prepare.fs.gz
http://mono.org/abs/miniroot.fs.gz
--
David/absolute -- www.NetBSD.org: No hype required --