小弟一時不察
在knoppix下chroot到debian的主分割區
用apt-get --purge remove kernel-image-XXXXX(從略)
把自己的核心幹掉了
我本來以為只要再輸入
apt-get install kernel-image-XXXXX
就萬事OK
我才知道錯了
訊息如下:
Setting up kernel-image-2.6.3-1-k7 (2.6.3-2) ...
/usr/sbin/mkinitrd: /dev/fd does not exist
Failed to create initrd image.
dpkg: error processing kernel-image-2.6.3-1-k7 (--configure):
subprocess post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of kernel-image-2.6-k7:
kernel-image-2.6-k7 depends on kernel-image-2.6.3-1-k7; however:
Package kernel-image-2.6.3-1-k7 is not configured yet.
dpkg: error processing kernel-image-2.6-k7 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
kernel-image-2.6.3-1-k7
E: Sub-process /usr/bin/dpkg returned an error code (1)
sh-2.05b# dpkg --reconfigure kernel-image-2.6.3-1-k7
dpkg: unknown option --reconfigure
這下可好了...
我的Debian沒法開機了
請問各位學長姐是否有方法可挽救
讓我重新裝回核心呢?
謝謝~!