<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TS &#187; 恢复</title>
	<atom:link href="http://www.daihuaxin.com/index.php/tag/%e6%81%a2%e5%a4%8d/feed" rel="self" type="application/rss+xml" />
	<link>http://www.daihuaxin.com</link>
	<description>崩溃后重生的The.Soloist开始新的blogging生涯</description>
	<lastBuildDate>Sat, 19 Jun 2010 20:15:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>重装windows之后恢复grub</title>
		<link>http://www.daihuaxin.com/index.php/document/restor-grub-after-reinstall-windows</link>
		<comments>http://www.daihuaxin.com/index.php/document/restor-grub-after-reinstall-windows#comments</comments>
		<pubDate>Sat, 26 Jul 2008 12:38:42 +0000</pubDate>
		<dc:creator>The.Soloist</dc:creator>
				<category><![CDATA[文档]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[恢复]]></category>

		<guid isPermaLink="false">http://www.soloist-ic.cn/?p=28</guid>
		<description><![CDATA[热度:

装win+linux双系统的人都会碰到windows重装之后grub被洗掉的问题，解决起来倒也简单，google一下就好了，以下是google到的方法（测试有效）：
找一张linux的live cd或者live dvd（我用的是Ubuntu 8.04 LTS的live dvd），开一个live session（就是试用），然后打开终端，输入：
<span class="readmore"><a href="http://www.daihuaxin.com/index.php/document/restor-grub-after-reinstall-windows" title="重装windows之后恢复grub" target="_blank">阅读全文——共531字</a></span>]]></description>
			<content:encoded><![CDATA[
<table>
<tr cellpadding=0><td>热度:</td><td cellpadding=0><img src='http://www.daihuaxin.com/wp-content/plugins/statpresscn/images/sun.gif' width=10 height=10 border=0 /></td><td cellpadding=0><img src='http://www.daihuaxin.com/wp-content/plugins/statpresscn/images/sun_dark.gif' width=10 height=10 border=0 /></td><td cellpadding=0><img src='http://www.daihuaxin.com/wp-content/plugins/statpresscn/images/sun_dark.gif' width=10 height=10 border=0 /></td><td cellpadding=0><img src='http://www.daihuaxin.com/wp-content/plugins/statpresscn/images/sun_dark.gif' width=10 height=10 border=0 /></td><td cellpadding=0><img src='http://www.daihuaxin.com/wp-content/plugins/statpresscn/images/sun_dark.gif' width=10 height=10 border=0 /></td></tr>
</table>
<p><p>装win+linux双系统的人都会碰到windows重装之后grub被洗掉的问题，解决起来倒也简单，google一下就好了，以下是google到的方法（测试有效）：</p>
<p>找一张linux的live cd或者live dvd（我用的是Ubuntu 8.04 LTS的live dvd），开一个live session（就是试用），然后打开终端，输入：</p>
<p><code>sudo grub</code></p>
<p>sudo就是以root身份执行命令，grub就是启动grub配置程序</p>
<p>然后就是所谓的"grub shell"，提示符会变成"grub&gt;"。输入命令</p>
<p><code>find /boot/grub/stage1</code></p>
<p>会返回一个hdx,y的值，其中x,y都是数字。这代表了你的linux装在哪个硬盘的那个分区上，这是下一步恢复grub的重要信息！一般来说x都是0（双硬盘的除外），y则随着分区设置不同而变化。不管是多少，记住就好了。</p>
<p>接下来输入命令：</p>
<p><code>root (hdx,y)</code></p>
<p>x,y就是刚才返回的值。</p>
<p>再输入命令：<br />
<code>setup (hd0)</code></p>
<p>分区表就被写入了，恢复就算完成了。因为之前双系统的grub配置并没有被破坏，menu.lst也不用重写，只是把信息重新写到MBR里面，所以过程很简单。</p>
<p>最后打个quit退出grub shell，重启就能看到原来的grub菜单了。</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati 标签: <a class='technorati-link' href='http://technorati.com/tag/grub' rel='tag' target='_blank'>grub</a>, <a class='technorati-link' href='http://technorati.com/tag/ubuntu' rel='tag' target='_blank'>ubuntu</a>, <a class='technorati-link' href='http://technorati.com/tag/%E6%81%A2%E5%A4%8D' rel='tag' target='_blank'>恢复</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.daihuaxin.com/index.php/document/restor-grub-after-reinstall-windows/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
