歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Slackware Linux3.4 的LILO被破壞後如何恢復

Slackware Linux3.4 的LILO被破壞後如何恢復

日期:2017/2/28 18:00:57   编辑:Linux教程
Slackware Linux3.4 的 LILO被破壞後的恢復:
一台同時安裝 Slackware Linux3.4、Windows98、WindowsNT 的機器,在 Windows98 重新安裝後,主引導區的 LILO 丟失,不能引導 Linux,按如下步驟處理後,就可以修復 LILO: 首先用 BOOT 盤引導機器,在 BOOT: 提示符後輸入 mount root=/dev/hda4 回車,其中 hda4 是 Linux 的引導分區,應當根據你的具體情況而定;這樣機器就會啟動進入到 Linux 狀態,然後以 root 用戶登錄,進入 /sbin 目錄,運行 liloconfig 程序,選第 6 項“Reinstall LILO using the existing lilo.conf”,這樣就會恢復原來的 LILO 設置。
Copyright © Linux教程網 All Rights Reserved