i agree with what Mirko has to say on this.

the boot device is described to the kernel in the form of a number. if you 
look in the file $KERNEL_SOURCE/init/main.c you'll see a listing of these 
numbers and the devices they represent; search for the variable 
"root_dev_names". for example "/dev/hda" is 0x0300, "/dev/hda1" would be 
0x0301, and so forth. nfs is actually 0x00ff. 0x0100 is ram0 so my assumption 
is that 0x0101 is ram1.

did you enable ram disk support and initrd (under block devices) in your 
kernel?

at the very end of compiling a kernel, the build system will usually tell you 
what root device has been set as the default in the kernel. also, look in the 
kernel's top-level "Makefile", search for the variable "ROOT_DEV". the 
comments in the instructions above that variable tell you what you can do 
with it.

smarter boot loaders (like lilo) will allow you to specify the root device 
which it can then pass on to the kernel as it boots. consult your boot loader 
documentation (i.e. lilo documentation) if that's what you're using. the 
simple "linux loader" boot loader that i'm using which comes with my zflinux 
system only knows how to tell the kernel that the disk is a ramdisk, ram0. 
this is the only device that can be used with this bootloader and i don't 
have any way to change it.

hope this helps. best regards,
        trevor

-- 
please remove the underscore if you want to email me

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to