有時(shí)候,相對(duì)內(nèi)核來(lái)說(shuō),磁盤驅(qū)動(dòng)器發(fā)生了改變(比如:更換主板,在VMWare上裝的Linux要在真機(jī)上用。),就需要修復(fù)下Initrd
假設(shè)已經(jīng)使用LiveCD/Install DVD救援模式,將root分區(qū)掛載到/mnt:
1. mount --bind /dev /mnt/dev
2. chroot /mnt
3. mount /proc
4. mount /sys
5. mkinitrd
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)
點(diǎn)擊舉報(bào)。