<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Fixing a degraded Linux software RAID-1 mirror</title>
	<atom:link href="http://krul.nu/2007/06/08/fixing-a-degraded-linux-software-raid-1-mirror/feed/" rel="self" type="application/rss+xml" />
	<link>http://krul.nu/2007/06/08/fixing-a-degraded-linux-software-raid-1-mirror/</link>
	<description></description>
	<lastBuildDate>Thu, 15 Oct 2009 15:08:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Preston</title>
		<link>http://krul.nu/2007/06/08/fixing-a-degraded-linux-software-raid-1-mirror/comment-page-1/#comment-10855</link>
		<dc:creator>Preston</dc:creator>
		<pubDate>Sun, 29 Mar 2009 06:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://krul.nu/2007/06/08/fixing-a-degraded-linux-software-raid-1-mirror/#comment-10855</guid>
		<description>Great article!

I wanted to upgrade my boot RAID on my home server from 160GB drives to 1TB drives, but kept on coming unstuck at boot after replacing the first disk. Turned out I needed to copy the MBR as per the start of your instructions - I&#039;d (maybe crazily?) assumed that doing a grub install would do that.

You saved me a lot of hassle, thanks.</description>
		<content:encoded><![CDATA[<p>Great article!</p>
<p>I wanted to upgrade my boot RAID on my home server from 160GB drives to 1TB drives, but kept on coming unstuck at boot after replacing the first disk. Turned out I needed to copy the MBR as per the start of your instructions &#8211; I&#8217;d (maybe crazily?) assumed that doing a grub install would do that.</p>
<p>You saved me a lot of hassle, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: reader</title>
		<link>http://krul.nu/2007/06/08/fixing-a-degraded-linux-software-raid-1-mirror/comment-page-1/#comment-8929</link>
		<dc:creator>reader</dc:creator>
		<pubDate>Fri, 06 Mar 2009 16:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://krul.nu/2007/06/08/fixing-a-degraded-linux-software-raid-1-mirror/#comment-8929</guid>
		<description>great article. worked like a charm for me. THANKS !</description>
		<content:encoded><![CDATA[<p>great article. worked like a charm for me. THANKS !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Krul</title>
		<link>http://krul.nu/2007/06/08/fixing-a-degraded-linux-software-raid-1-mirror/comment-page-1/#comment-32</link>
		<dc:creator>Dennis Krul</dc:creator>
		<pubDate>Sat, 09 Jun 2007 12:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://krul.nu/2007/06/08/fixing-a-degraded-linux-software-raid-1-mirror/#comment-32</guid>
		<description>I think that only works if your first drive is completely removed from the system, so the second drive becomes (hd0). If you don&#039;t remove the disk GRUB will search for the stagefiles and the menu.lst on the first disk, which is faulty, and thus you can&#039;t boot.
You could however do something like this (in grub&#039;s menu.lst):
&lt;code&gt;
# Default boot
title  Linux (hd0,0)
kernel (hd0,0)/bzImage root=/dev/md1&lt;/code&gt;

# Fallback if (hd0,0)/bzImage is unreadable
title  Linux (hd1,0)
kernel (hd1,0)/bzImage root=/dev/md1
With Lilo you don&#039;t have to specifically point to a physical device. You can just point to the MD device, which is (in my opinion) a cleaner solution.

Maybe I should have explained that in more detail in my post :) Thanks for the suggestion though.</description>
		<content:encoded><![CDATA[<p>I think that only works if your first drive is completely removed from the system, so the second drive becomes (hd0). If you don&#8217;t remove the disk GRUB will search for the stagefiles and the menu.lst on the first disk, which is faulty, and thus you can&#8217;t boot.<br />
You could however do something like this (in grub&#8217;s menu.lst):<br />
<code><br />
# Default boot<br />
title  Linux (hd0,0)<br />
kernel (hd0,0)/bzImage root=/dev/md1</code></p>
<p># Fallback if (hd0,0)/bzImage is unreadable<br />
title  Linux (hd1,0)<br />
kernel (hd1,0)/bzImage root=/dev/md1<br />
With Lilo you don&#8217;t have to specifically point to a physical device. You can just point to the MD device, which is (in my opinion) a cleaner solution.</p>
<p>Maybe I should have explained that in more detail in my post <img src='http://krul.nu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks for the suggestion though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruben</title>
		<link>http://krul.nu/2007/06/08/fixing-a-degraded-linux-software-raid-1-mirror/comment-page-1/#comment-31</link>
		<dc:creator>ruben</dc:creator>
		<pubDate>Fri, 08 Jun 2007 19:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://krul.nu/2007/06/08/fixing-a-degraded-linux-software-raid-1-mirror/#comment-31</guid>
		<description>What went wrong with Grub? You copied the MBR from sda to sdb, so grub should work, or am I missing something?

Grub&gt;device (hd0) /dev/sdb
Grub&gt;root (hd0,0)
Grub&gt;setup (hd0)

should do the trick as well.</description>
		<content:encoded><![CDATA[<p>What went wrong with Grub? You copied the MBR from sda to sdb, so grub should work, or am I missing something?</p>
<p>Grub&gt;device (hd0) /dev/sdb<br />
Grub&gt;root (hd0,0)<br />
Grub&gt;setup (hd0)</p>
<p>should do the trick as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

