Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> Linux系統教程 >> Linux教程 >> 編譯完新內核reboot

編譯完新內核reboot

日期:2017/2/7 9:21:00      編輯:Linux教程

原內核rh9自帶的2.4.20
  新內核2.4.20 patched to 2.4.21-pre6 (patch -p1   就一個/和一個swap分區
  /分區用的是reiserfs s
  以新的內核重啟後,發現以下幾個明顯錯誤,例如數個/dev/tty1,/dev/tty2找不到文件.最關鍵的是最後顯示的reiserfsck could not open filesystem on /dev/db3
  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.con
  # Note that you do not have to rerun grub after making changes to this ile
  # NOTICE: You do not have a /boot partition. This means tat
  # all kernel and initrd paths are relative to /, eg.
  # root (hd1,2)
  # kernel /boot/vmlinuz-version ro root=/dev/db3
  # initrd /boot/initrd-version.img
  #boot=/dev/da
  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  

Copyright © Windows教程網 All Rights Reserved