linux time dev null,/dev/null丟失后
事情是這樣的,一不小心把/dev/null刪掉了
系統(tǒng)文件/dev/null丟失怎麼辦呀
重啟時(shí)出現(xiàn)如下問題
/etc/rc.d/rc.sysinit:line 88: /dev/null: Read-only file system
/etc/rc.d/rc.sysinit:line 99: /dev/null: Read-only file system
configuring kernel parameters: dup2: Bad file descriptor ? ? [failed]
Setting clock (localtime):Au 60A 18 ?18:05:04 CST 2005 dup2:Bad file descriptor [failed]
loading default keymap (us): /etc/rc.d/rc.sysinit: line 159: /dev/null: Read-only file system ? ?[failed]
Setting hostname snowtty: dup2:Bad file descriptor ? ? ? ? ? [failed]
/etc/rc.d/rc.sysinit: line 176: /dev/null: Read-only file system Initializing USB controller (usb-uhci):dup2 : Bad file descriptor ? [failed]
/etc/rc.d/rc.sysinit:line 187: /dev/null :Read-only file system
Checking root filesystem dup2: Bad file descriptor ? [failed]
*****An error occurred during the file system check
*****Dropping you to a shell ; the system will reboot
*****when you leave the shell.
Give root password for maintenance
我被要求輸入管理員密碼之后需要修理文件系統(tǒng)。問題是根分區(qū)是被以只讀的方式安裝的!慘啊,什么都沒有辦法做了。
有什么辦法沒有?各位多謝了!哎,,由於里面放了好多重要的資料,當(dāng)時(shí)真是急死了,不過還好,算我心細(xì),可能是這個(gè)文件丟失了好長時(shí)間了,只是沒有關(guān),機(jī),所以表現(xiàn)不出來,只是有一個(gè)時(shí)間出現(xiàn)過,我用普通user進(jìn)入init5結(jié)果說是/dev/null有問題,那時(shí)我就知道點(diǎn),結(jié)果後來不知道誰可能是為了玩qq吧,,把我的機(jī)子給關(guān)了,結(jié)果就那樣了,後面我到vmware上把linux中的dev/null刪了,還是出現(xiàn)這樣的問題,哎,,終於鬆了一口氣,googl中.........
總結(jié)
以上是生活随笔為你收集整理的linux time dev null,/dev/null丟失后的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 按键精灵怎么用键盘控制鼠标移动
- 下一篇: WIFI共享精灵不能上网 WIFI共享精