近日,將ubuntu從9.04升級到9.10後,發現沒有聲音了,聲音設備也檢測不到,查閱相關解決方案,緣由爲最新內核未啓用緣由,能夠修改/boot/grub/menu.lst中的啓動項解決,但修改後啓動時發現顯示內核仍爲修改之前的,故障依舊,考慮到本身安裝系統的順序爲Win7-Ubuntu-Debian,分析緣由是生效的menu.lst在最後安裝的系統上,解決辦法:linux
一、重啓計算機系統,從Debian啓動,以Root賬戶登陸。ubuntu
二、vim /boot/grub/menu.lst,修改下邊紅色標記的內核爲實際內核,實際內核能夠到Ubuntu分區/boot下查看。爲了跟實際系統版本一致,我順便把顯示版本也改了,:-)vim
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda6.
title Ubuntu 9.10, kernel 2.6.31-22-generic (on /dev/hda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.31-22-generic root=UUID=051c19f0-05c6-40dd-8304-70fa39c1f939 ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.31-22-generic
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda6.
title Ubuntu 9.10, kernel 2.6.31-22-generic (recovery mode) (on /dev/hda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.31-22-generic root=UUID=051c19f0-05c6-40dd-8304-70fa39c1f939 ro locale=zh_CN single
initrd /boot/initrd.img-2.6.31-22-generic
savedefault
bootui
保存後從新啓動到ubuntu,久違的聲音就會出現了,並且音量也會變得比之前大,麻煩一點仍是值得的,:-)spa