[英]How to rescue the Linux system from erroneous insmod in rc.local in Fedora Core?
我在rc.local中放置了錯誤的內核對象。 由於此錯誤的內核對象,系統在啟動時崩潰。 現在,我的目標是從rc.user中刪除有問題的ko insmod。 但是,由於系統在啟動時崩潰,因此無法訪問rc.user。 如何解決此問題?
如果您正在獲取grub屏幕,則可以轉到runlevel 1
並更改文件。
在grub屏幕上,您將必須
press a after selecting the Fedora kernel with which you want to boot.
APPEND single after space in that line and press enter
press b to boot in single user mode
您可以在此模式下編輯任何文件。
當我進入這樣的煩惱,最安全和最簡單的方法是mount
在HD(contaning故障內核)作為外部硬盤驅動器到另一個Linux機器和手動編輯文件作祟。
fdisk -l
(通過USB)。 注意< /dev/sd*#
>。 mount /media /dev/<sd*#>
現在,您可以訪問boot
分區或root
分區來訪問文件。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.