首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
How to Rescue "/etc/ld.so.cache" corruption
Type(Type) 2013/5/10 10:42

How to Rescue "/etc/ld.so.cache" corruption





Pre-condiction:
ld.so.cache file corrupted or mistake-configuration of ld.so.conf
or wrong /sbin/ldconfig command ... may lead to booting panic.


How to Rescue it (Ubuntu 12.04 as example)


1. Boot with Ubuntu 12.04 CD-ROM

2. Choose "Rescue Mode" in menu

3. Start shell within "Ubuntu Installer"

4. Try to mount the root file system;
代碼:

$ mount /dev/sda1 /mnt


if it is LVM(DM) mapping, please use
代碼:

$ vgscan                 
  (You will know your LVM group name, say $volgroupname)

$ vgchange -ay $volgroupname
  (Activate the LVM group)

$ mount /dev/$volgroupname/<YOUR_ROOTFS_LVM> /mnt


5. Try to clean /etc/ld.so.cache and edit the /etc/ld.so.conf
代碼:

$ cd /mnt/etc/
$ rm ld.so.cache
$ vi ld.so.conf     (...Do some edit or removal)
$ cd ld.so.conf.d/ (...Do some edit or removal)


6. Reboot twice
(2,199 views)
[更多討論] 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體

"How to Rescue "/etc/ld.so.cache" corruption" 傳統頁面(電腦版)

首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
傳統桌面版 [ 登入/註冊 ]
© Vovo2000.com Mobile Version 小哈手機版 2024