<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Macapá's Blog</title>
	<atom:link href="http://rodrigogrow.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rodrigogrow.wordpress.com</link>
	<description>Issues regarding the Linux operating system.</description>
	<lastBuildDate>Tue, 01 Apr 2008 16:50:56 +0000</lastBuildDate>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rodrigogrow.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Macapá's Blog</title>
		<link>http://rodrigogrow.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rodrigogrow.wordpress.com/osd.xml" title="Macapá&#039;s Blog" />
	<atom:link rel='hub' href='http://rodrigogrow.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SysRq, The magic key</title>
		<link>http://rodrigogrow.wordpress.com/2008/04/01/sysrq-the-magic-key/</link>
		<comments>http://rodrigogrow.wordpress.com/2008/04/01/sysrq-the-magic-key/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 13:36:27 +0000</pubDate>
		<dc:creator>Rodrigo Braga</dc:creator>
				<category><![CDATA[Linux kernel]]></category>

		<guid isPermaLink="false">http://rodrigogrow.wordpress.com/?p=14</guid>
		<description><![CDATA[This key is rather useful for linux kernel developers, it enable you to communicate with the kernel regardless of what else it is doing. This key can be enabled via the CONFIG_MAGIC_SYSRQ (Kernel hacking &#8211;&#62; Magic SysRq key), and you need to turn on this option with below command: echo 1 &#62; /proc/sys/kernel/sysrq Key Command [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=14&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This key is rather useful for linux kernel developers, it enable you to communicate with the kernel regardless of what else it is doing.</p>
<p>This key can be enabled via the CONFIG_MAGIC_SYSRQ (Kernel hacking &#8211;&gt; Magic SysRq key), and you need to turn on this option with below command:</p>
<p><font color="#ff0000">echo 1 &gt; /proc/sys/kernel/sysrq </font></p>
<p><b>Key Command       Description</b></p>
<p><font color="#ff0000">SysRq-b</font>                                                Reboot the machine.</p>
<p><font color="#ff0000">SysRq-e                            </font>  Send a SIGTERM to all processes except init.</p>
<p><font color="#ff0000">SysRq-h                             </font>                  Display SysRq help on the console.</p>
<p><font color="#ff0000">SysRq-i                 </font>               Send a SIGKILL to all processes except init.</p>
<p><font color="#ff0000">SysRq-k</font>                                                      Secure Access Key: Kill all programs on this console.</p>
<p><font color="#ff0000">SysRq-l </font>                                                        Send a SIGKILL to all processes including init.</p>
<p><font color="#ff0000">SysRq-m</font>                                Dump memory information to console.</p>
<p><font color="#ff0000">SysRq-o</font>                                  Shutdown the machine.</p>
<p><font color="#ff0000">SysRq-p                </font>                  Dump register to console.</p>
<p><font color="#ff0000">SysRq-r</font>                                    Turn off keyboard raw mode.</p>
<p><font color="#ff0000">SysRq-s</font>                                    Sync all mounted file systems to disk.</p>
<p><font color="#ff0000">SysRq-t</font>                                    Dump task information to console.</p>
<p><font color="#ff0000">SysRq-u</font>                                        Unmount all mounted file systems.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rodrigogrow.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rodrigogrow.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rodrigogrow.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rodrigogrow.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rodrigogrow.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rodrigogrow.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rodrigogrow.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rodrigogrow.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rodrigogrow.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rodrigogrow.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rodrigogrow.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rodrigogrow.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rodrigogrow.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rodrigogrow.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rodrigogrow.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rodrigogrow.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=14&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rodrigogrow.wordpress.com/2008/04/01/sysrq-the-magic-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b188ba7403b6130f6d3dc5ec2cf400e9?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Rodrigo Macapá</media:title>
		</media:content>
	</item>
		<item>
		<title>VFS: cannot open root device &#8220;hda&#8221; or unknown-block(0,0)</title>
		<link>http://rodrigogrow.wordpress.com/2008/03/31/vfs-cannot-open-root-device-hda-or-unknown-block00/</link>
		<comments>http://rodrigogrow.wordpress.com/2008/03/31/vfs-cannot-open-root-device-hda-or-unknown-block00/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 22:58:21 +0000</pubDate>
		<dc:creator>Rodrigo Braga</dc:creator>
				<category><![CDATA[Linux kernel]]></category>

		<guid isPermaLink="false">http://rodrigogrow.wordpress.com/?p=8</guid>
		<description><![CDATA[If you compiled the Linux kernel and when you boot your new image, appeared following problem: VFS: Cannot open root device &#8220;hda&#8221; or unknown-block(0,0) Please append a correct &#8220;root=&#8221; boot option; here are the available partitions Kernel panic This problem is caused by fault initrd.img file or any problem in it, because when kernel start [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=8&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you compiled the Linux kernel and when you boot your new image, appeared following problem:</p>
<p><font color="#ff0000">VFS: Cannot open root device &#8220;hda&#8221; or unknown-block(0,0)</font></p>
<p><font color="#ff0000">Please append a correct &#8220;root=&#8221; boot option; here are the available partitions</font></p>
<p><font color="#ff0000">Kernel panic </font></p>
<p>This problem is caused by fault initrd.img file or any problem in it, because when kernel start its boot, it need some drivers that are provided by initrd.img file, such as filesystem, block devices, IDE devices, so the Linux need this file to start correctly.</p>
<p>A way that I find to solve this problem was to set (File System, Devices Drivers &#8211;&gt; Block Devices, Devices Drivers &#8211;&gt; ATA/ATAPI/MFM/RLL support) like as default .config generated by make defconfig command. In this file, the essential drivers (showed up) are configured like as [y] (built-in) not [m]. Pictures with these configurations are showed below:</p>
<p>File System entry:<br />
<a href="void(0)" id="file-link-11" title="filesystem.png" class="file-link image">  			</a><a href="void(0)" id="file-link-11" title="filesystem.png" class="file-link image"> 			 </a><a href="http://rodrigogrow.files.wordpress.com/2008/03/filesystem.png" title="filesystem.png"><img src="http://rodrigogrow.files.wordpress.com/2008/03/filesystem.png?w=480" alt="filesystem.png" /></a></p>
<p>Devices Drivers &#8211;&gt; Block Devices<br />
<a href="http://rodrigogrow.files.wordpress.com/2008/03/block_devices.png" title="block_devices.png"><img src="http://rodrigogrow.files.wordpress.com/2008/03/block_devices.png?w=480" alt="block_devices.png" /></a></p>
<p>Devices Drivers &#8211;&gt; ATA/ATAPI/MFM/RLL support</p>
<p><a href="http://rodrigogrow.files.wordpress.com/2008/03/ata-devices.png" title="ata-devices.png"><img src="http://rodrigogrow.files.wordpress.com/2008/03/ata-devices.png?w=480" alt="ata-devices.png" /></a></p>
<p>When I was look for solution to this problem, I saw in some foruns that people had the same problem but it happened in grub bootloader, and they got a solution changing the configuration file of grub. So case you followed the steps above that I described, can be a grub configuration problem.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rodrigogrow.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rodrigogrow.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rodrigogrow.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rodrigogrow.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rodrigogrow.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rodrigogrow.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rodrigogrow.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rodrigogrow.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rodrigogrow.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rodrigogrow.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rodrigogrow.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rodrigogrow.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rodrigogrow.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rodrigogrow.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rodrigogrow.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rodrigogrow.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=8&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rodrigogrow.wordpress.com/2008/03/31/vfs-cannot-open-root-device-hda-or-unknown-block00/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b188ba7403b6130f6d3dc5ec2cf400e9?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Rodrigo Macapá</media:title>
		</media:content>

		<media:content url="http://rodrigogrow.files.wordpress.com/2008/03/filesystem.png" medium="image">
			<media:title type="html">filesystem.png</media:title>
		</media:content>

		<media:content url="http://rodrigogrow.files.wordpress.com/2008/03/block_devices.png" medium="image">
			<media:title type="html">block_devices.png</media:title>
		</media:content>

		<media:content url="http://rodrigogrow.files.wordpress.com/2008/03/ata-devices.png" medium="image">
			<media:title type="html">ata-devices.png</media:title>
		</media:content>
	</item>
		<item>
		<title>/dev/input/mice don&#8217;t appear</title>
		<link>http://rodrigogrow.wordpress.com/2008/03/28/devinputmice-dont-appear/</link>
		<comments>http://rodrigogrow.wordpress.com/2008/03/28/devinputmice-dont-appear/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 15:36:15 +0000</pubDate>
		<dc:creator>Rodrigo Braga</dc:creator>
				<category><![CDATA[Linux kernel]]></category>

		<guid isPermaLink="false">http://rodrigogrow.wordpress.com/?p=7</guid>
		<description><![CDATA[I have configured and emulated on qemu the Debian Etch without graphic interface, but after I needed to install xserver-xorg application to make some tests with mplayer. Thus after I had executed apt-get install xserver-xorg, I tested X server but it couldn&#8217;t find the mouse corepointer, finishing with error below: (EE) Cannot open device /dev/input/mice [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=7&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have configured and emulated on qemu the Debian Etch without graphic interface, but after I needed to install xserver-xorg application to make some tests with mplayer.</p>
<p>Thus after I had executed apt-get install xserver-xorg, I tested X server but it couldn&#8217;t find the mouse corepointer, finishing with error below:</p>
<p><font color="#ff0000">(EE) Cannot open device /dev/input/mice no such file or directory                                                           </font></p>
<p><font color="#ff0000">(EE) Configured mouse: Cannot open input device</font></p>
<p><font color="#ff0000">(EE) PreInit  failed for input device &#8220;Configured Mouse&#8221;</font></p>
<p><font color="#ff0000">Fatal server error:</font><font color="#ff0000">Failed to initialize core device</font></p>
<p>Really, when I checked mouse&#8217;s entry into /dev/input, there wasn&#8217;t a /dev/input entry.</p>
<p>I solved this problem with following steps:</p>
<p>First check if module to your mouse has been configured on kernel.</p>
<p>devices drivers -&gt; input devices -&gt; mouse</p>
<p><font color="#800000">cat /sys/class/input/mice/uevent</font>: Here you should look for major and minor number. Sometimes can be written the same as below:</p>
<p>13:63  where 13 is major number and 63 is minor number.</p>
<p>Now you may to create a new entry to mouse into /dev:</p>
<p><font color="#800000">mkdir /dev/input</font>: Creates a directory just to input devices, first verify that it there isn&#8217;t.</p>
<p><font color="#800000">mknod /dev/input/mice c 13 63</font>: Creates mouse&#8217;s entry into /dev/input/. The third parameter is &#8216;c, because mouse is a character device.<br />
The mknod&#8217;s parameters is <font color="#800000">mknod</font> &lt;<font color="#800000">entry&#8217;s name</font>&gt; &lt;<font color="#800000">device kind</font>&gt; &lt;<font color="#800000">major number</font>&gt; &lt;<font color="#800000">minor number</font>&gt;</p>
<p>If you want to test your mouse now execute following command:</p>
<p><font color="#800000">cat /dev/input/mice</font>: Shake your mouse and check if showed up some charactere garbage on your monitor. Case true, your mouse is working correctly.</p>
<p>Finally, execute again your X server.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rodrigogrow.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rodrigogrow.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rodrigogrow.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rodrigogrow.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rodrigogrow.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rodrigogrow.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rodrigogrow.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rodrigogrow.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rodrigogrow.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rodrigogrow.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rodrigogrow.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rodrigogrow.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rodrigogrow.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rodrigogrow.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rodrigogrow.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rodrigogrow.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=7&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rodrigogrow.wordpress.com/2008/03/28/devinputmice-dont-appear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b188ba7403b6130f6d3dc5ec2cf400e9?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Rodrigo Macapá</media:title>
		</media:content>
	</item>
		<item>
		<title>Make, how use it in kernel&#8217;s compiling.</title>
		<link>http://rodrigogrow.wordpress.com/2008/03/25/make-how-use-it-in-kernels-compiling/</link>
		<comments>http://rodrigogrow.wordpress.com/2008/03/25/make-how-use-it-in-kernels-compiling/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 21:22:27 +0000</pubDate>
		<dc:creator>Rodrigo Braga</dc:creator>
				<category><![CDATA[Linux kernel]]></category>

		<guid isPermaLink="false">http://rodrigogrow.wordpress.com/?p=6</guid>
		<description><![CDATA[When you need to compile the linux kernel, you certally must use make command. In this post I will describe some ways how use it to compile linux. First you need have a version of linux, you can find it in http://www.kernel.org. So choice a version and download. make clean: To remove all objects generated [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=6&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>    When you need to compile the linux kernel, you certally must use make command. In this post I will describe some ways how use it to compile linux.</p>
<p>First you need have a version of linux, you can find it in http://www.kernel.org. So choice a version and download.</p>
<p><font color="#800000">make clean</font>: To remove all objects generated in previous compiling.</p>
<p><font color="#800000">make mproper</font>: Besides to remove all objects (make clean), remove the .config file too.</p>
<p><font color="#800000">make dep</font>: Solves dependences, it should be used after you have configured your kenrel.</p>
<p><font color="#800000">make defconfig</font>: Generates a default .config</p>
<p><font color="#800000">make allyesconfig</font>: Set all fields in .config as [y]</p>
<p><font color="#800000">make allnoconfig</font>: Doesn&#8217;t set any field in .config</p>
<p><font color="#800000">make allmodconfig</font>: Sets all options like as [m] (module) in .config file.</p>
<p><font color="#800000">make randconfig</font>:  Generates a new kernel configuration with randow answers to all differents options.</p>
<p><font color="#800000">make menuconfig</font>: Opens a graphic interface to user to configure the .config file. Here you need install ncurses libraries.</p>
<p><font color="#800000">make bzImage</font>: Generates a linux image which you can make boot with any bootloader.</p>
<p><font color="#800000">make modules</font>: Compiles linux modules that you have configured in .config file.</p>
<p><font color="#800000">make module_install</font>: Uses this command to install the kernel modules into the directory path:</p>
<p><tt>/lib/modules/<tt><i>&lt;KERNELVERSION&gt;</i></tt>/kernel/drivers(Makefile)</tt></p>
<p>You can to define a new directory root which to install the modules following the command below:</p>
<p><font color="#800000">make module_install INSTALL_MOD_PATH=&lt;chosen directory&gt;</font></p>
<p>These commands described above must be executed into linux kernel directory. Because the make command need a target file (Makefile).</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rodrigogrow.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rodrigogrow.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rodrigogrow.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rodrigogrow.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rodrigogrow.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rodrigogrow.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rodrigogrow.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rodrigogrow.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rodrigogrow.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rodrigogrow.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rodrigogrow.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rodrigogrow.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rodrigogrow.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rodrigogrow.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rodrigogrow.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rodrigogrow.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=6&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rodrigogrow.wordpress.com/2008/03/25/make-how-use-it-in-kernels-compiling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b188ba7403b6130f6d3dc5ec2cf400e9?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Rodrigo Macapá</media:title>
		</media:content>
	</item>
		<item>
		<title>Recuperando o Xorg no Ubuntu</title>
		<link>http://rodrigogrow.wordpress.com/2007/12/10/recuperando-o-xorg-no-ubuntu/</link>
		<comments>http://rodrigogrow.wordpress.com/2007/12/10/recuperando-o-xorg-no-ubuntu/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 14:23:39 +0000</pubDate>
		<dc:creator>Rodrigo Braga</dc:creator>
				<category><![CDATA[ubuntu tutorials]]></category>

		<guid isPermaLink="false">http://rodrigogrow.wordpress.com/2007/12/10/recuperando-o-xorg-no-ubuntu/</guid>
		<description><![CDATA[Muitas vezes quando é feita a atualização de uma distribuição, ocorrem modificações que podem comprometer o bom funcionamento do servidor X (Xorg ou Xfree), como por exemplo a não inicialização do gerenciador de login (Gdm). Então aki vai uma forma bem simples de restaurar o seu servidor X. Neste caso explicarei como restaurar o servidor [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=4&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Muitas vezes quando é feita a atualização de uma distribuição, ocorrem modificações que podem comprometer o bom funcionamento do servidor X (Xorg ou Xfree),<br />
como por exemplo a não inicialização do gerenciador de login (Gdm). Então aki vai uma forma bem simples de restaurar o seu servidor X. Neste caso explicarei como<br />
restaurar o servidor Xorg.</p>
<p>Este tutorial pode ser utilizado para as distro ubuntu e debian, as outras eu não testei então não posso falar, mas creio q seja bem parecido <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>execute como root:</p>
<p># <font color="#ff0000">/etc/init.d/gdm stop</font>           // para fechar a nossa interface gráfica, que está mau configurada. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p># <font color="#ff0000">Xorg -configure</font>                // este comando irá gerar um arquivo xorg.conf.new genérico para o seu sistema.</p>
<p># <font color="#ff0000">X -config xorg.conf.new</font>        // para verificar se esse arquivo gerado está funcionando corretamente, ele tem que gerar uma tela cinza com um &#8220;X&#8221; como cursor do mouse.</p>
<p># <font color="#ff0000">cp xorg.conf.new /etc/X11/xorg.conf</font>  // configurar o novo arquivo gerado, para ser usado pelo nosso servidor X em questão o Xorg <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p># <font color="#ff0000">/etc/init.d/gdm start</font>          // iniciar o nosso gerenciador de login.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rodrigogrow.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rodrigogrow.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rodrigogrow.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rodrigogrow.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rodrigogrow.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rodrigogrow.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rodrigogrow.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rodrigogrow.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rodrigogrow.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rodrigogrow.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rodrigogrow.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rodrigogrow.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rodrigogrow.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rodrigogrow.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rodrigogrow.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rodrigogrow.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=4&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rodrigogrow.wordpress.com/2007/12/10/recuperando-o-xorg-no-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b188ba7403b6130f6d3dc5ec2cf400e9?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Rodrigo Macapá</media:title>
		</media:content>
	</item>
		<item>
		<title>Recuperando o grub com o live CD do Ubuntu</title>
		<link>http://rodrigogrow.wordpress.com/2007/12/04/recuperando-o-grub-com-o-live-cd-do-ubuntu/</link>
		<comments>http://rodrigogrow.wordpress.com/2007/12/04/recuperando-o-grub-com-o-live-cd-do-ubuntu/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 16:46:44 +0000</pubDate>
		<dc:creator>Rodrigo Braga</dc:creator>
				<category><![CDATA[ubuntu tutorials]]></category>

		<guid isPermaLink="false">http://rodrigogrow.wordpress.com/2007/12/04/recuperando-o-grub-com-o-live-cd-do-ubuntu/</guid>
		<description><![CDATA[Caso vc tenha instalado alguma das variantes do Windows (2000,XP,Vista,etc) em um PC que já tenha alguma distro Linux instalada, vc certamente perderá o grub, pois ao fazer a instalação, o Windows apaga oq estiver na MBR (primeiros 512Mb do disco, usados para instalar os bootloaders) para colocar seu bootloader. Consequenmente o bootloader(grub) do linux [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=3&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Caso vc tenha instalado alguma das variantes do Windows (2000,XP,Vista,etc) em um PC que já tenha alguma distro Linux instalada, vc certamente perderá o grub, pois ao fazer a instalação, o Windows  apaga oq estiver na MBR (primeiros 512Mb do disco, usados para instalar os bootloaders) para colocar seu bootloader.  Consequenmente o bootloader(grub) do linux desaparecerá na hora da inicialização.</p>
<p>Para resolver este problema no Ubuntu, dê boot com o live CD e com o shell aberto execute os seguintes comandos:</p>
<p>$ <font color="#ff0000">sudo grub install /dev/hda</font>       //comando vai abrir o prompt do grub com a partição passada como parametro.</p>
<p>-    o caminho do seu dispositivo de bloco pode mudar podendo ser /dev/hdb por exemplo (o formato geral é /dev/hdx onde x representa a posição do disco), para saber o certo de cfdisk ou fdisk -l e verifique o endereço correto, caso apareça sda, deixe hda mesmo.</p>
<p>&gt; <font color="#ff0000">find /boot/grub/stage1</font>           // irá dar uma resposta do género (hd0,1) , usem o valor que vos der<br />
&gt;<font color="#ff0000"> root (hd0,1)</font><br />
&gt; <font color="#ff0000">setup (hd0)</font>                               // instala o grub na MBR do disco setado.</p>
<p>&gt; <font color="#ff0000">quit</font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rodrigogrow.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rodrigogrow.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rodrigogrow.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rodrigogrow.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rodrigogrow.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rodrigogrow.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rodrigogrow.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rodrigogrow.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rodrigogrow.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rodrigogrow.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rodrigogrow.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rodrigogrow.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rodrigogrow.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rodrigogrow.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rodrigogrow.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rodrigogrow.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rodrigogrow.wordpress.com&amp;blog=2258395&amp;post=3&amp;subd=rodrigogrow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rodrigogrow.wordpress.com/2007/12/04/recuperando-o-grub-com-o-live-cd-do-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b188ba7403b6130f6d3dc5ec2cf400e9?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Rodrigo Macapá</media:title>
		</media:content>
	</item>
	</channel>
</rss>
