Waring: /dev/centos/swap does not exist
1、系統環境:
CentOS Linux release 7.6.1810 (Core)
2、故障現象:
啟動系統報錯:
3、原因:
刪除預設SWAP分割槽
4、臨時解決方法:
1、reboot 重啟 進入引導介面,按“e”進行編輯
找到“rd.lvm.lv=centos/swap”,並將其刪除,完成後按“Ctrl + x”重啟作業系統。
此時可以正常啟動進入系統,下次重啟依然會如此。
5、永久解決方法:
#檢視當前swap路徑
進入作業系統編輯 vi /boot/grub2/grub.cfg
將rd.lvm.lv=centos/swap
修改為正常的swap分割槽
如rd.lvm.lv=oracle/lvg_swap
這個修改應該會有兩處,兩處都要修改並儲存。
6、重啟作業系統驗證
shutdown -r now
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30327022/viewspace-2641409/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Property [title] does not exist on this collection instance
- PSQLexception: ERROR : type "signed" does not existSQLExceptionError
- Property 'context' does not exist on type 'NodeRequire'.ts(2339)ContextUI
- Laravel Class env does not exist 問題排查Laravel
- ORA-04043: object DBA_DATA_FILES does not existObject
- [20211231]ORA-01418 specified index does not exist.txtIndex
- dcat-admin 表單 Field type [autocomplete] does not exist.
- ORA-30012 undo tablespace 'UNDOTBS3' does not exist or of wrong typeS3
- The operation, ‘DecodeJpeg/contents‘, does not exist in the graph.錯誤解決方法
- Android解決The APK file app-debug.apk does not exist on disk.AndroidAPKAPP
- yii2接入pgSQL(查詢不到表The table does not exist: {{%user}})SQL
- 靜默安裝Oracle建庫時報Template General Purpose does not existOracle
- streamlit run執行報錯,Invalid value: File does not exist: XXX.py
- Error: The directory named as part of the path ./log/supervisord.log does not exist解決方案Error
- Eclipse裡Tomcat報錯:Document base ……does not exist or is not a readable directory(圖文詳解)...EclipseTomcat
- 安裝kernel...src.rpm錯誤:warning: user mockbuild does not exist - using rootMockUI
- Hadoop的mapreduce出現問題,報錯The auxService:mapreduce_shuffle does not existHadoopUX
- git中出現”the requested upstream branch ‘origin/master‘ does not exist“問題的解決GitAST
- centos7.9 擴容swap分割槽CentOS
- CentOS7 系統下如何新增 swap?CentOS
- pgsql 執行建庫指令碼時候出現ERROR: relation "xxx_id_seq" does not existSQL指令碼Error
- ABAP 資料結構啟用時的錯誤訊息 - combination reference table field does not exist資料結構
- mac scrcpy 報錯 does not exist or is not a regular file,ERROR: Server connection failed(scrcpy mac與極空間衝突)MacErrorServerAI
- SAP對工單做101收貨,報錯- Check table TFBEFU_CR entry 10 does not exist–對策
- SAP MM 對採購訂單執行收貨,報錯 - Table T169P entry ZNMI does not exist -
- 安裝centOS虛擬機器提示Section %Packages Does Not End With %EndCentOS虛擬機Package
- webstorm(三):webstorm的一些waring提示WebORM
- Centos Linux 清理磁碟佔用空間:/dev/xvda1CentOSLinuxdev
- SQL not exist out joinSQL
- 解決辦法:hyper-v匯出虛擬機器到ESXI報錯找不到磁碟:dev disk by-uuid 4b85b6e9-f0d1-4dc8-a9dd-aafad7b4354c does not exist虛擬機devUI
- CentOS7和RHEL7在 /etc/fstab中不包含/dev/shmCentOSdev
- swap 跟 fstab
- swap擴容
- BEA dev2dev 線上dev
- What does -> do in clojure?
- does not support SSL connections
- ‘map’ does not name a type
- sql case when, Exist ,group by ,聚合SQL