linux time dev null,/dev/null丟失后
事情是這樣的,一不小心把/dev/null刪掉了
系統文件/dev/null丟失怎麼辦呀
重啟時出現如下問題
/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
我被要求輸入管理員密碼之后需要修理文件系統。問題是根分區是被以只讀的方式安裝的!慘啊,什么都沒有辦法做了。
有什么辦法沒有?各位多謝了!哎,,由於里面放了好多重要的資料,當時真是急死了,不過還好,算我心細,可能是這個文件丟失了好長時間了,只是沒有關,機,所以表現不出來,只是有一個時間出現過,我用普通user進入init5結果說是/dev/null有問題,那時我就知道點,結果後來不知道誰可能是為了玩qq吧,,把我的機子給關了,結果就那樣了,後面我到vmware上把linux中的dev/null刪了,還是出現這樣的問題,哎,,終於鬆了一口氣,googl中.........
總結
以上是生活随笔為你收集整理的linux time dev null,/dev/null丟失后的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 按键精灵怎么用键盘控制鼠标移动
- 下一篇: WIFI共享精灵不能上网 WIFI共享精