<div dir="ltr">You want a data clone but not a clone of the hard drive meta data - UUID in particular. Change the backup drive UUID (for each partition) and change the backup method to only capture files - rsync is a good choice. Lastly, check the backed-up fstab file and make sure the UUIDs there point to the backup drive. Be sure to exclude that file from being overwritten later<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 3, 2013 at 1:07 AM, Ron Frazier (ALE) <span dir="ltr"><<a href="mailto:atllinuxenthinfo@techstarship.com" target="_blank">atllinuxenthinfo@techstarship.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
see below<br>
<div><div class="h5"><br>
Phil Turmel <<a href="mailto:philip@turmel.org">philip@turmel.org</a>> wrote:<br>
<br>
>On 07/02/2013 11:15 PM, Ron Frazier (ALE) wrote:<br>
>> Hi all,<br>
>><br>
>> One of my machines is running Mint 13 (based on Ubuntu 12.04). The<br>
>> machine has two hard drives, a 320 GB hard drive on /dev/sda and a<br>
>500<br>
>> GB hard drive on /dev/sdb. The 500 GB drive is for backup purposes<br>
>> only. Tonight, I made an exact clone (as far as I know) of the 320<br>
>GB<br>
>> hdd over to the 500 GB hdd with clonezilla. The 500 GB hdd is still<br>
>> attached.<br>
><br>
>The problem is that you made an *exact* clone. Modern distros use the<br>
>UUID or LABEL embedded in a filesystem to find the necessary partitions<br>
>during boot (to avoid issues with hot-pluggable drives). If you clone<br>
>partitions, both will have that metadata, and your boot process becomes<br>
>random.<br>
><br>
>> My bios is set to boot from the 320 GB drive (/dev/sda). Once I<br>
>boot,<br>
>> the grub menu asks if I want to boot Mint on /dev/sda2, which is<br>
>> correct. I select that, but, when the system comes up, I find that<br>
>the<br>
>> 500 GB hdd (/dev/sdB2) is the one that's mounted, and that's not what<br>
>I<br>
>> want.<br>
>><br>
>> Can someone tell me why this is happening and how to prevent it<br>
>without<br>
>> physically unplugging the drive?<br>
><br>
>Change the label and uuid on the partition(s) on one of the drives,<br>
>then<br>
>change /etc/fstab within that one to point to its own label/uuid. The<br>
>utilities needed vary with filesystem type, but it would be "tune2fs"<br>
>for anything in the "ext" family.<br>
><br>
>Use a rescue CD or thumb drive so you have total control over temporary<br>
>mounts. Check your work with "blkid".<br>
><br>
>Phil<br>
><br>
<br>
</div></div>Hi Phil,<br>
<br>
Thanks for the info. I understand what you're saying. I have a few more questions.<br>
<br>
* Would I not want an exact clone if I had to put the backup drive into service?<br>
<br>
* Do you know if Windows is susceptible to this problem? I've had a clone drive connected to Windows in the past and haven't noticed a problem. To be honest, I don't know if I booted that way, but I was wondering if that's a problem in that environment.<br>
<br>
* I'd rather not have to tweak every backup that I make. Is there some way to automate the changes? Or, perhaps I should just put a switch on the sata power cable and switch the drive off when I don't want to be accessing the backup drive.<br>
<br>
Sincerely,<br>
<br>
Ron<br>
<br>
<br>
<br>
--<br>
<br>
Sent from my Android Acer A500 tablet with bluetooth keyboard and K-9 Mail.<br>
Please excuse my potential brevity if I'm typing on the touch screen.<br>
<div class="im HOEnZb"><br>
(PS - If you email me and don't get a quick response, you might want to<br>
call on the phone. I get about 300 emails per day from alternate energy<br>
mailing lists and such. I don't always see new email messages very quickly.)<br>
<br>
Ron Frazier<br>
<a href="tel:770-205-9422" value="+17702059422">770-205-9422</a> (O) Leave a message.<br>
linuxdude AT <a href="http://techstarship.com" target="_blank">techstarship.com</a><br>
Litecoin: LZzAJu9rZEWzALxDhAHnWLRvybVAVgwTh3<br>
Bitcoin: 15s3aLVsxm8EuQvT8gUDw3RWqvuY9hPGUU<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>
</div>