Find the answer to your Linux question:
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 27 of 27
Try ommitting the /dev-filesystem in the kernel, devfs isn't supported anymore anyway... You can use udev instead....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431

    Try ommitting the /dev-filesystem in the kernel, devfs isn't supported anymore anyway... You can use udev instead.

  2. #22
    Linux Newbie
    Join Date
    Apr 2005
    Posts
    110
    I hate to say this but I don't know how I do that and I used genkernel which might have an effect (I think, at any rate), so can someone tell me how I do that please?

  3. #23
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    If you used genkernel, there shouldn't be much of a problem. But to do this is simple:

    Code:
    cd /usr/src
    ls
    (check if you have a linux symlink.  If yes, cd into it.  If not, cd into the other kernel directory)
    make menuconfig
    You will now have a nice big window on the screen. Scroll down to File systems and hit enter.

    Now to Pseudo Filesystems and hit enter.

    Now to /dev file system support. Check if there is an asterisk in the little box. If not, this is not your problem.

    The following steps are not necessary if there was no * in the box:

    If there is, then press "N", and press Right, then enter. Then right, then enter. Then right, then enter. It will ask if you want to save. Say yes.

    You now need to recompile your kernel:

    Code:
    make
    make install
    make modules_install
    Now copy the arch/<YOUR ARCH>/boot/bzImage file to /boot/<BOOT FILE>. <BOOT FILE> is whatever your bootloader is trying to boot from. Also copy your System.map file to /boot/System.map-<KERNEL VERSION>.

    So for me, I type:

    Code:
    cd arch/i386/boot/bzImage /boot/kernel-2.6.11-gentoo-r6
    cd System.map /boot/System.map-2.6.11-gentoo-r6
    You may also want to copy your .config file. "cp .config /boot/.config-<KERNEL VERSION>".

    Code:
    cp .config /boot/config-2.6.11-gentoo-r6
    Now reboot and it will use the new kernel image to boot.

  4. #24
    Linux Newbie
    Join Date
    Apr 2005
    Posts
    110
    Thanks, that's brilliant

  5. #25
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    greenpenguin: so you sucsessfullly compiled your kernel without devfs, and now there's no errors? In that case it may also be useful to install udev and hotplug as a WORKING replacement

    By the way: If you run "make install" there is no need to copy the kernel manually, "make install" automaticly copies the kernel tp /boot/vmlinuz, System.map to /boot/System.map and the config-file to /boot. It also runs lilo for you.

  6. #26
    Just Joined!
    Join Date
    May 2005
    Posts
    5

    udev

    Look into:

    emerge udev
    This is a much better solution

    devfs is deprecated...

  7. #27
    Linux Newbie
    Join Date
    Apr 2005
    Posts
    110
    I need to get the packages CD before I can see how well it works!
    Thanx for the tips I'll try all of them

Page 3 of 3 FirstFirst 1 2 3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •