<?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>CodePy.Net &#187; Ubuntu</title>
	<atom:link href="http://codepy.net/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://codepy.net</link>
	<description>专注网络开发：Python,PHP,Vim,Linux 分享我的快乐 -- Share My Happiness</description>
	<lastBuildDate>Sun, 15 Jan 2012 16:20:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ubuntu 与 vista 共存之道</title>
		<link>http://codepy.net/2008/11/25/ubuntu-and-vista.html</link>
		<comments>http://codepy.net/2008/11/25/ubuntu-and-vista.html#comments</comments>
		<pubDate>Tue, 25 Nov 2008 14:18:34 +0000</pubDate>
		<dc:creator>ruitao</dc:creator>
				<category><![CDATA[LINUX生活]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[共存]]></category>

		<guid isPermaLink="false">http://codepy.net/?p=72</guid>
		<description><![CDATA[上次想弄一个winXP，目的是为了搞个winxp主题，在VISTA下直接GHOST版本恢复到一个空白分区，用easybcd添加了一个XP启动项，结果重新启动一看，本来用来引导的grub被破坏，easybcd破坏了原来的MBR，最后解决问题，并且用windows vista的bootloader进行系统引导。 修复MBR 找个启动光盘，我用的是DM，重新写入MBR。 修复Bootloader 用VISTA光盘启动，然后进入修复模式，VISTA会自动识别到错误，修复即可。 修复Grub，但是将Grub安装到ubuntu所在分区。 用ubuntu live cd 光盘启动，进入光盘系统，打开终端，进行以下操作： 1 2 3 4 5 sudo grub grub find /boot/grub/stage1 grub root &#40;hd0,3&#41; grub setup &#40;hd0,3&#41; grub  quit 注意: 在&#8221;find /boot/grub/stage1&#8243;命令之后，会显示ubuntu所在分区，因为我们是要将grub写入到Linux分区，将(hd0,3)替换为&#8221;find /boot/grub/stage1&#8243;命令获得的结果。 重启，进入VISTA，打开easybcd，选择“Add/Remove Entries ”，选Linux，Type选&#8221;Grub&#8221;，Name自己写，Driver选你Linux所在分区。 OK，重启看看吧，至此完成]]></description>
			<content:encoded><![CDATA[<p>上次想弄一个winXP，目的是为了搞个winxp主题，在VISTA下直接GHOST版本恢复到一个空白分区，用<a href="www.onlinedown.net/soft/58174.htm" target="_blank">easybcd</a>添加了一个XP启动项，结果重新启动一看，本来用来引导的grub被破坏，easybcd破坏了原来的MBR，最后解决问题，并且用windows vista的bootloader进行系统引导。</p>
<p><strong>修复MBR</strong></p>
<p>找个启动光盘，我用的是DM，重新写入MBR。</p>
<p><strong>修复Bootloader</strong></p>
<p>用VISTA光盘启动，然后进入修复模式，VISTA会自动识别到错误，修复即可。</p>
<p><strong>修复Grub，但是将Grub安装到ubuntu所在分区。</strong></p>
<p>用ubuntu live cd 光盘启动，进入光盘系统，打开终端，进行以下操作：</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> grub
grub  <span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>grub<span style="color: #000000; font-weight: bold;">/</span>stage1
grub  root <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
grub  setup <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
grub  quit</pre></td></tr></table></div>

<p>注意: 在&#8221;find /boot/grub/stage1&#8243;命令之后，会显示ubuntu所在分区，因为我们是要将grub写入到Linux分区，将(hd0,3)替换为&#8221;find /boot/grub/stage1&#8243;命令获得的结果。</p>
<p>重启，进入VISTA，打开easybcd，选择“Add/Remove Entries ”，选Linux，Type选&#8221;Grub&#8221;，Name自己写，Driver选你Linux所在分区。</p>
<p>OK，重启看看吧，至此完成</p>
]]></content:encoded>
			<wfw:commentRss>http://codepy.net/2008/11/25/ubuntu-and-vista.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>在ubuntu中使用realtek 8187b无线网卡</title>
		<link>http://codepy.net/2008/10/05/use-realtek-8187b-in-ubuntu.html</link>
		<comments>http://codepy.net/2008/10/05/use-realtek-8187b-in-ubuntu.html#comments</comments>
		<pubDate>Sun, 05 Oct 2008 15:22:24 +0000</pubDate>
		<dc:creator>ruitao</dc:creator>
				<category><![CDATA[LINUX生活]]></category>
		<category><![CDATA[8187b]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[realtek]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[无线网卡]]></category>

		<guid isPermaLink="false">http://codepy.net/?p=61</guid>
		<description><![CDATA[下载以下两个包 http://www.datanorth.net/~cuervo/rtl8187b/rtl8187b-modified-dist.tar.gz http://www.datanorth.net/~cuervo/rtl8187b/2.6.24.patch 执行以下命令，然后就可以开始使用了 tar -xzvf rtl8187b-modified-dist.tar.gz cp 2.6.24.patch rtl8187b-modified/ cd rtl8187b-modified patch -p1 2.6.24.patch ./makedrv sudo ./wlan0up 安装之后，你会发现重新启动之后又得重新启动wlan0up，很麻烦，让wlan0up随系统启动即可 打开终端，执行以下命令 sudo gedit /etc/rc.local 添加你的wlan0up文件路径，比如我的是： /home/***/sh/rtl8187b-modified/wlan0up 然后重新启动，享受无线带来的自由吧 转发请注明本文链接：http://codepy.net/2008/10/05/use-realtek-8187b-in-ubuntuuse-realtek-8187b-in-ubuntu.html]]></description>
			<content:encoded><![CDATA[<p>下载以下两个包</p>
<p>http://www.datanorth.net/~cuervo/rtl8187b/rtl8187b-modified-dist.tar.gz</p>
<p>http://www.datanorth.net/~cuervo/rtl8187b/2.6.24.patch</p>
<p>执行以下命令，然后就可以开始使用了</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzvf</span> rtl8187b-modified-dist.tar.gz
<span style="color: #c20cb9; font-weight: bold;">cp</span> 2.6.24.patch rtl8187b-modified<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> rtl8187b-modified
<span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">-p1</span>  2.6.24.patch
.<span style="color: #000000; font-weight: bold;">/</span>makedrv
<span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>wlan0up</pre></div></div>

<p>安装之后，你会发现重新启动之后又得重新启动wlan0up，很麻烦，让wlan0up随系统启动即可</p>
<p>打开终端，执行以下命令</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.local</pre></div></div>

<p>添加你的wlan0up文件路径，比如我的是：</p>
<p>/home/***/sh/rtl8187b-modified/wlan0up</p>
<p>然后重新启动，享受无线带来的自由吧</p>
<p>转发请注明本文链接：http://codepy.net/2008/10/05/use-realtek-8187b-in-ubuntuuse-realtek-8187b-in-ubuntu.html</p>
]]></content:encoded>
			<wfw:commentRss>http://codepy.net/2008/10/05/use-realtek-8187b-in-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.3 和 Ubuntu 7.10</title>
		<link>http://codepy.net/2007/10/20/wordpress-and-ubuntu.html</link>
		<comments>http://codepy.net/2007/10/20/wordpress-and-ubuntu.html#comments</comments>
		<pubDate>Sat, 20 Oct 2007 07:08:55 +0000</pubDate>
		<dc:creator>ruitao</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ruitao.host5.meyu.net/?p=16</guid>
		<description><![CDATA[我最喜欢的两样东西发布了最新的版本，但是看了很多文章，却发现自己没有一点升级的欲望，先说Wordpress2.3，那个糟糕的TAG体验实在没有让我升级的理由，还有很多插件还不能支持，还是等稳定成熟的版本出来再说吧，Ubuntu 7.10却是因为各种原因，搬到大学，拉了ADSL，可是却是1M的，实在没有兴趣去漫长的等待~~]]></description>
			<content:encoded><![CDATA[<p>我最喜欢的两样东西发布了最新的版本，但是看了很多文章，却发现自己没有一点升级的欲望，先说Wordpress2.3，那个糟糕的TAG体验实在没有让我升级的理由，还有很多插件还不能支持，还是等稳定成熟的版本出来再说吧，Ubuntu 7.10却是因为各种原因，搬到大学，拉了ADSL，可是却是1M的，实在没有兴趣去漫长的等待~~</p>
]]></content:encoded>
			<wfw:commentRss>http://codepy.net/2007/10/20/wordpress-and-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

