之前做了一台有l7-filter Qos fedora 8 的nat server,原本的主機板是GA-945GCM-S2L,後來換到 GA-8SIMLH後就開不了機了
出現了以下訊息:

Unable to access resume device (LABLE=SWAP-sdax)
Mount: could not find filesystem '/dev/root'
setuproot: removing /dev failed : no such file or directory
setuproot: error Mounting /proc : no such file or directory
setuproot: error Mounting /sys: no such file or directory
switchroot: Mount failed: no such file or direct
Kernel panic - not syncing: Attempte to kill init!

上網沒查到解決的方法,不過懷疑是initrd的問題,所以比較了兩種主機板所做出來的 initrd,發現不能開機的initrd少了pata_sis.ko ,
so 重做一個initrd吧

#mkinitrd -v --preload=pata_sis initrd-`uname -r`.img `uname -r`

然後拿已作好的initrd,換掉/boot/initrd-版本.img,最後再改/boot/grub/menu.lst裡的設定,就大功告成了。

arrow
arrow
    全站熱搜

    ben88168 發表在 痞客邦 留言(0) 人氣()