<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Is it really that simple?</title>
	<link>http://ask.metafilter.com/20772/Is-it-really-that-simple/</link>
	<description>Comments on Ask MetaFilter post Is it really that simple?</description>
	<pubDate>Tue, 05 Jul 2005 20:05:42 -0800</pubDate>
	<lastBuildDate>Tue, 05 Jul 2005 20:05:42 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Is it really that simple?</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple</link>	
		<description>Can I just copy a Linux system from one disk to another and expect it to work? &lt;br /&gt;&lt;br /&gt; My server&apos;s main disk died on me.  Ouch.  And then came back to life.  Yay.  So I copied the contents to a new disk (with similar, but not identical partitions - the disk itself is a completely different make) using &lt;code&gt;rsync --archive -H &lt;/code&gt; (by booting the machine from CD, running in memory, and mounting both disks).  After running &lt;code&gt;grub-install&lt;/code&gt;, editing &lt;code&gt;/etc/fstab&lt;/code&gt;, and swapping them physically (so that  &lt;code&gt;/dev/hda&lt;/code&gt; is now the copy) everything appears to work.  Should it?!  Or is there some evil gotcha that will bite me in several months time?  This is SuSE 9.3 (installed the day before the disk died...) and everything (&lt;code&gt;/boot /usr /var /etc /dev...&lt;/code&gt; was on the one partition.&lt;br&gt;
&lt;br&gt;
It took me three days to get the install working, fully configured, with all my old data on it, and just half a day to copy across.  I&apos;d rather leave it like that, but am worried it was too easy.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.20772</guid>
		<pubDate>Tue, 05 Jul 2005 19:58:16 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
		
			<category>suse</category>
		
			<category>linux</category>
		
			<category>disk</category>
		
			<category>recovery</category>
		
	</item> <item>
		<title>By: pyramid termite</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337745</link>	
		<description>back in the day when i ran linux, i did this, using another method ... it&apos;s a pain in the ass, but if you&apos;ve gotten this far, you should be ok</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337745</guid>
		<pubDate>Tue, 05 Jul 2005 20:05:42 -0800</pubDate>
		<dc:creator>pyramid termite</dc:creator>
	</item><item>
		<title>By: 5MeoCMP</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337748</link>	
		<description>Nope, you&apos;re fine from here on. The only way you would have had problems is if you hadn&apos;t created the boot sector (you did, with &lt;code&gt;grub-install&lt;/code&gt; or if you had added/removed other hard disks or CD-ROMs, making the boot device show up differently in the order of detection (e.g. if you&apos;d moved it from /dev/hda -&amp;gt; /dev/hdc)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337748</guid>
		<pubDate>Tue, 05 Jul 2005 20:06:05 -0800</pubDate>
		<dc:creator>5MeoCMP</dc:creator>
	</item><item>
		<title>By: mr_roboto</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337749</link>	
		<description>I haven&apos;t done this with rsync, but when I used dd to make a byte-for-byte copy (also to save a system from a dying disc), I had no problems.  Everything worked, as it should in principle, according to what I&apos;ve read....</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337749</guid>
		<pubDate>Tue, 05 Jul 2005 20:07:31 -0800</pubDate>
		<dc:creator>mr_roboto</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337750</link>	
		<description>waheeeeee.  thanks guys.  i can go to bed now :o)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337750</guid>
		<pubDate>Tue, 05 Jul 2005 20:10:34 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337755</link>	
		<description>for the record, in case it helps anyone googling info, i didn&apos;t use dd because i was worried the disks weren&apos;t identical (and i don&apos;t really understand file systems that well).  i ended up with rsync rather than cp because it had a clearer man page - turned out to be faster too (first time i used cp, but i ended up with everything owned by root...)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337755</guid>
		<pubDate>Tue, 05 Jul 2005 20:14:33 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: Galvatron</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337763</link>	
		<description>tar or cpio are the conventional tools for mirroring a disk while maintaining the proper permissions.  I would expect them to run a fair bit faster than rsync... but as long as you&apos;re up and running, who cares?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337763</guid>
		<pubDate>Tue, 05 Jul 2005 20:39:03 -0800</pubDate>
		<dc:creator>Galvatron</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337766</link>	
		<description>ah, thanks - cpio looks lit would have been the right tool from the start...  next time, maybe  :o)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337766</guid>
		<pubDate>Tue, 05 Jul 2005 20:49:41 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: zsazsa</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337776</link>	
		<description>I used to re-image Linux machines with a simple &lt;tt&gt;cp -a&lt;/tt&gt; and it worked great.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337776</guid>
		<pubDate>Tue, 05 Jul 2005 21:17:25 -0800</pubDate>
		<dc:creator>zsazsa</dc:creator>
	</item><item>
		<title>By: blm</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337789</link>	
		<description>This is one of the reasons I like Unixy systems, stuff like this works.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337789</guid>
		<pubDate>Tue, 05 Jul 2005 22:05:07 -0800</pubDate>
		<dc:creator>blm</dc:creator>
	</item><item>
		<title>By: QIbHom</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337793</link>	
		<description>ddrescue is a nice script for copying data off drives.  It puts everything in one big file, which you mount as a filesystem (ibm.com has a page on how to do this), then you can copy things where you want them..  Great way to deal with dying disks.  Or with one of those &quot;gee, I should have used more partitions when I set this server up&quot; days.&lt;br&gt;
&lt;br&gt;
Linux, unlike certain other nameless OSes, doesn&apos;t hide hidden stuff all over the bloody place.  It is all there where you can see it, if you are god (root, god, what is the difference?).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337793</guid>
		<pubDate>Tue, 05 Jul 2005 22:09:27 -0800</pubDate>
		<dc:creator>QIbHom</dc:creator>
	</item><item>
		<title>By: hattifattener</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337803</link>	
		<description>Yeah, the only exception to that is the bootloader --- it needs to know where on disk to find the rest of itself, and it isn&apos;t smart enough to read the actual filesystem, so it stores a little list of sector numbers somewhere. Copying the files over will probably have put them on different sectors than they were originally, so you might need to run some utility to update that, which is what 5MeoCMP is talking about.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337803</guid>
		<pubDate>Tue, 05 Jul 2005 22:31:42 -0800</pubDate>
		<dc:creator>hattifattener</dc:creator>
	</item><item>
		<title>By: QIbHom</title>
		<link>http://ask.metafilter.com/20772/Is-it-really-that-simple#337818</link>	
		<description>True, hattifattener.  I guess running grub-install becomes a habit.  But, you have to set up some kind of bootloader before copying data on to any drive you wish to be bootable, no matter which OS.&lt;br&gt;
&lt;br&gt;
I had a similar reaction to andrew cooke the first time I did something like this.  It was just too easy.  Then again, I&apos;m known for muttering things at work like, &quot;this would be easy with a proper unix system&quot; or &quot;you mean you have to pay for basic tools with this silly OS?&quot;&lt;br&gt;
&lt;br&gt;
You want to really freak out a Windows admin, ask where vi is.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.20772-337818</guid>
		<pubDate>Tue, 05 Jul 2005 23:13:05 -0800</pubDate>
		<dc:creator>QIbHom</dc:creator>
	</item>
	</channel>
</rss>
