On Wednesday 06 June 2001 10:09, mukund wrote:
> >Hi,
> > I was playing around with RH's rescue mode. On bootup the kernel loads a
> >initrd written on the cd. What is strange is that the initrd does not have
> >/dev mounted anywhere, infact no device files are there in the initrd. (
> >as seen by mounting it over loop device)
>
> I have not checked initrd from RH, but feel that certain entries in /dev
> directory (like hda, null, ) are essential for functioning of kernel.
> In this case mount may have been recompiled (statically) to create /dev
> entries.
It isn't really essential for the /dev entries to be there. Most lilely the
/dev entries that were needed for bootup (the root device) got pivoted out
after initrd switched roots. In case you need the /dev entries, you can make
them manually using the mknod utility. Most installers would do a device
probe (I think there's a library available) or grep the dmesg output to
create only the device entries needed. If you're using devfs, no need for
that too. It's really nice if you can get your system working with devfs. If
you're facing compatiblity issues, you could run devfsd too if you like.
-Faisal.
--
-====----====----====----====----====----====----====---
DON'T PANIC!
-The Hitchhiker's Guide To The Galaxy.
-====----====----====----====----====----====----====---
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help