Re: How do you boot using udev

From: Richard (rkishore_at_att.net)
Date: 10/10/04


Date: Sun, 10 Oct 2004 21:07:17 GMT

Andreas Janssen wrote:
> Hello
>
> Richard (<rkishore@att.net>) wrote:
>
>>Richard wrote:
>>
>>>I'm trying to boot a Linux kernel using udev (without devfs support
>>>and automatically boot of devfs disable).
>>>
>>>However I have no idea how to do it. How do I configure my files to
>>>go about using udevfs instead of devfs?
>>>
>>>I had compiled the kernel without devfs support but when I tried to
>>>boot the kernel I got an error message, that the initial console
>>>could not be open.
>>>
>>>My system is an i686 P-III laptop.
>>
>>Alright I found a solution for the problem, I had to create
>>/dev/console and /dev/null manually using the mknod command. However
>>after the kernel finish booting, there isn't any other files in
>>the /dev/ directory and udev doesn't seem to create any files in
>>in /dev directory so I can't mount my root drive. Isn't udev was
>>suppose to automatically create files in the /dev directory?
>
>
> Does your Kernel have sysfs support? Is sysfs mounted under /sys?
>
> best regards
> Andreas Janssen
>

Yes, I have add the line "/bin/mount -t sysfs sysfs /sys" to the top of
my rc.sysinit file.

I can boot into my OS (thru single user mode) after the error concerning
re-mounting the root directory. From here I can see that /sys was
successful mounted, but there wasn't any files in /dev directory; except
for console and null nodes of course. I also added the line
"/sbin/udevstart" to my rc.sysinit file, but that doesn't seem to do
anything.

-Richard



Relevant Pages

  • Re: How do you boot using udev
    ... >>after the kernel finish booting, there isn't any other files in ... > Does your Kernel have sysfs support? ... re-mounting the root directory. ...
    (comp.os.linux.development.system)
  • Re: How do you boot using udev
    ... >>after the kernel finish booting, there isn't any other files in ... > Does your Kernel have sysfs support? ... re-mounting the root directory. ...
    (comp.os.linux.setup)
  • Re: [patch] crashdump: fix undefined reference to `elfcorehdr_addr
    ... A minor difficulty is working out where to initialise elfcorehdr_addr. ... There are some kernel bits, ... take special action if they are booting after a kexec on panic (Generally we ... are referring it to booting into kdump kernel) and that's why the notion ...
    (Linux-Kernel)
  • Re: FC4 2.6.14 boot problems
    ... > Booting 'Fedora Core ' ... > Filesystem type is ext2fs, ... OK, booting the kernel. ...
    (Fedora)
  • Re: 2.6.24-rt1: timing problems (was [git pull] x86/hrtimer/acpi fixes)
    ... configuration and dmesg output booting with idle=poll, ... I'll try but it will take me a while to figure git and do a package ... if you want to try a vanilla kernel package then pick up the kernel ... As in the case with an old timing bug, ...
    (Linux-Kernel)