Hi,
To me the problem seems to be that you aren't
distinguishing properly between the basic devfs
namespace, and the filesystem through which it is
exposed to the world.
When specifying the root device while booting, you refer
to the namespace, as you have no filesystems alive yet.
(root=ide/host0/... works without /dev/ prepended!)
Once you have a root device, you can begin thinking about
mounting filesystems (beginning with the root fs!).
Once you also mount the devfs fs among others, then you
can start referring to the devices through it.
And the case seems to be that the comfortable symlinks
you intend to use are symlinks only, and as such they
can be used only as file references. They in themselves
are not part of the bare underlying namespace that you
must use to specify your root device.
Question: Are you trying to make a floppy-CD combination
that boot only together??? Your message hints that the
kernel is on the floppy and once it is loaded, it will
mount the CD as root filesystem... Sounds like a weird
setup to me. In the extreme case you can't directly boot
from the CD drive, couldn't you rather put e.g. GRUB on
the floppy to help you in booting and prepare the CD
itself so that with the proper hardware it boots alone,
kernel, etc all included?
Marton
----- Original Message -----
From: David Fokkema <fokkema@xxxxxxxxx>
Date: Tue, 17 Dec 2002 13:06:26 +0100 (MET)
To: devfs@xxxxxxxxxxx
Subject: Boot problems
> Hi there!
>
> It's awfully quiet in here, I hope this mailing list is still alive...
>
> Anyway, I'm having some problems with devfs during boot. My system is
> working fine, that's not the problem. What is, however, is that I want to
> make a bootable CD and I was very glad with the existence of
> /dev/cdroms/cdrom0 and alike. However, my kernel (on a test bootfloppy)
> complains that it can't access that device. It does work if I use
> /dev/ide/host0/bus0/target1/lun0/cd and alike. But then, I need to know
> where my CD is located. Also, on my system, when I want LILO to append a
> root statement to the kernel command line, I can't use
> /dev/discs/disc0/part1 either. Again, I have to use
> /dev/ide/host0/bus0/target0/lun0/part1. In the latter case, I'll survive
> (it's still annoying, though) but in the former, I do want it to work. I
> guess I could use an initrd image which will use /dev/cdroms/cdrom0, but
> that is just extra trouble. I would say that it should work, or else
> should be added to the kernel.
>
> My setup: kernel 2.4.19 compiled with devfs set to mount at boot, cdrom
> driver and isofs included. LILO append line:
>
> append = "devfs=only root=/dev/cdroms/cdrom0" (which doesn't work)
>
> or, (doesn't work either)
>
> append = "devfs=mount root=/dev/cdroms/cdrom0"
>
> If someone knows how to help me, please let me know!
>
> Thanks in advance,
>
> David Fokkema
> (fokkema@xxxxxxxxx)
>
>
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
Meet Singles
http://corp.mail.com/lavalife
|