当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > 编译完新内核reboot后,fsckfailed

Unix/Linux
Linux 备份 恢复方法
Linux玩CS反恐精英的方法
在一个ISO镜像中集成多个不同的linux发行版,可刻盘,可引导
Linux 快捷键使用
Linux DHCP 服务器配置方法介绍
Linux 22端口的修改方法
Linux 记录会话过程的命令
Linux 后台执行程序如何操作?
linux Wget命令来浏览网页的方法
Linux tail命令的巧妙应用
Wine 中文存在很多的乱码怎么解决方法
linux 新手教程之创建锁文件的方法
配置Linux 保证其系统的安全
Linux DHCP协议实现过程
Linux系统下破解SAM密码
linux/unix vi 编辑器用法详解
Linux 误删文件的解决方法
Linux系统下的历史记录删除方法
Red Hat Linux 安全设置指南
Linux基本命令-注销、关机、重启

Unix/Linux 中的 编译完新内核reboot后,fsckfailed


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 38 ::
收藏到网摘: n/a


  原内核rh9自带的2.4.20
  新内核2.4.20 patched to 2.4.21-pre6 (patch -p1 < filename)
  就一个/和一个swap分区
  /分区用的是reiserfs fs
  以新的内核重启后,发现以下几个明显错误,例如数个/dev/tty1,/dev/tty2找不到文件.最关键的是最后显示的reiserfsck could not open filesystem on /dev/hdb3
  fsck.reiserfs for device exited with signal 6
  我已经将reiserfs编译入内核中,并非模块化.请问会是什么问题?在线等.附上我的config,/etc/grub.conf,/etc/fstab
  注:硬盘没有坏道.
  [root@localhost root]# cat /etc/fstab
  /dev/hdb3 / reiserfs defaults 1 1
  none /dev/pts devpts gid=5,mode=620 0 0
  none /proc proc defaults 0 0
  none /dev/shm tmpfs defaults 0 0
  /dev/hdb4 swap swap defaults 0 0
  /etc/grub.conf
  # Note that you do not have to rerun grub after making changes to this file
  # NOTICE: You do not have a /boot partition. This means that
  # all kernel and initrd paths are relative to /, eg.
  # root (hd1,2)
  # kernel /boot/vmlinuz-version ro root=/dev/hdb3

  # initrd /boot/initrd-version.img
  #boot=/dev/hda
  default=1
  timeout=10
  splashimage=(hd1,2)/boot/grub/splash.xpm.gz
  title Red Hat Linux (2.4.21-pre6)
  root (hd1,2)
  kernel /boot/vmlinuz-2.4.21-pre6 ro root=/dev/hdb3 hdc=ide-scsi hdd=ide-scsi
  initrd /boot/initrd-2.4.21-pre6.img
  title Red Hat Linux (2.4.20-8)
  root (hd1,2)
  kernel /boot/vmlinuz-2.4.20-8 ro root=/dev/hdb3 hdc=ide-scsi hdd=ide-scsi
  initrd /boot/initrd-2.4.20-8.img
  title DOS
  rootnoverify (hd0,0)
  chainloader +1