<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Linux 開機失敗，使用rescue解救成功"]]></title>
		<link>https://forum.andowson.com/posts/list/16.page</link>
		<description><![CDATA[Latest messages posted in the topic "Linux 開機失敗，使用rescue解救成功"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Linux 開機失敗，使用rescue解救成功</title>
				<description><![CDATA[ 今天把一台很久沒有重開機過的Red Hat Linux 7.3主機重新開機，結果出現找不到/usr/local/lib/snoopy.so這個檔案，導致Kernel panic，傻眼 :shock: 。 
<br>
印象中Linux安裝光碟有個rescue mode，看來得嘗試先用光碟開機到linux rescue，然後將舊的root partition掛載到/mnt/sysimage去，再到/mnt/sysimage/etc下去修改ld.so.preload，將/usr/local/lib/snoopy.so這行設定刪除。 
<br>
參考了一下以下這篇的內容： 
<br>
http://blog.yam.com/iq180/article/15663043 
<br>
<br>
發現任何版本的安裝光碟第一片都可以，於是就拿了CentOS 5.5 i386的第一片安裝光碟去試試看了。 
<br>
重開機後，放入光碟，輸入linux rescue，接著，一切都很順利，CentOS 5.5有找到舊的Linux安裝的root partition，並掛載到/mnt/sysimage，並開啟一個shell，由那邊進入到/mnt/sysimage/etc目錄下，成功將舊的檔案內容修改完成，輸入exit跳出該shell，並將光碟移除，重開機，成功了。 :D]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/453/923.page</guid>
				<link>https://forum.andowson.com/posts/preList/453/923.page</link>
				<pubDate><![CDATA[Sat, 30 Oct 2010 17:30:47]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>