LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 801|回复: 2

编译内核重启后的问题

[复制链接]
发表于 2006-10-12 13:54:30 | 显示全部楼层 |阅读模式
我编译了2.6.18的内核。进入该内核遇到这样的问题:
modprobe:FATAL: Could not load /lib/modules/2.6.18/modules.dep
mount : unknown systemtypes 'devfs'
.................
....................
看样子是不认识系统文件格式。可我把该编译的格式都编译进去了啊
以下是我的make menuconfig在filesystem support中的选择
<*> Second extended fs support                                       │ │
  │ │
  •    Ext2 extended attributes                                       │ │
      │ │
  •      Ext2 POSIX Access Control Lists                              │ │
      │ │
  •      Ext2 Security Labels                                         │ │
      │ │[ ]   Ext2 execute in place support                                  │ │
      │ │<*> Ext3 journalling file system support                             │ │
      │ │
  •    Ext3 extended attributes                                       │ │
      │ │
  •      Ext3 POSIX Access Control Lists                              │ │
      │ │
  •      Ext3 Security Labels                                         │ │
      │ │[ ] JBD (ext3) debugging support     
    │< > Reiserfs support                                                 │ │
      │ │< > JFS filesystem support                                           │ │
      │ │< > XFS filesystem support                                           │ │
      │ │<M> OCFS2 file system support (EXPERIMENTAL)                         │ │
      │ │
  •    OCFS2 logging support                                          │ │
      │ │< > Minix fs support
    │<M> ROM file system support                                          │ │
      │ │
  • Inotify file change notification support                         │ │
      │ │
  •    Inotify support for userspace                                  │ │
      │ │
  • Quota support                                                    │ │
      │ │< >   Old quota format support                                       │ │
      │ │<*>   Quota format v2 support                                        │ │
      │ │
  • Dnotify support                                                  │ │
      │ │<M> Kernel automounter support                                       │ │
      │ │<M> Kernel automounter version 4 support (also supports v3)          │ │
      │ │<M> Filesystem in Userspace support            
        CD-ROM/DVD Filesystems  --->                                     │ │
      │ │    DOS/FAT/NT Filesystems  --->                                     │ │
      │ │    Pseudo filesystems  --->                                         │ │
      │ │    Miscellaneous filesystems  --->                                  │ │
      │ │    Network File Systems  --->                                       │ │
      │ │    Partition Types  --->                                            │ │
      │ │    Native Language Support  --->                                    │ │
      │ └────
    我发现Partition Types里面有个[ ]   Windows Logical Disk Manager (Dynamic Disk) support
    我在用linux以前是按照主分区和逻辑分区分的区。是不是必须选上这项?
                               
    现在我该怎么做。还望高手指点
  •  楼主| 发表于 2006-10-12 18:23:18 | 显示全部楼层
    对不起。我制作initrd的方法没对。我用到mkinitrd -o /boot/initrd.imge-2.6.18
    我看到网上是 mkinitrd -o /boot/initrd.image-2.6.18 2.6.18
    但是我这样制作信息显示:
    Module sd_mod not found
    sd_mod必须选择什么作为模块编译?请高手指出详细位置。谢谢
    回复 支持 反对

    使用道具 举报

    发表于 2006-10-12 19:19:01 | 显示全部楼层
    Most likely, your original mkinitrd script is not applicable because it generates initrd image that relies on devfs, which no longer present in kernel 2.6.14 onwards.

    You should use mkinitramfs or yaird to build the initrd image.
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    快速回复 返回顶部 返回列表