failed to ..

Chris Murphy lists at colorremedies.com
Sat Dec 28 19:13:42 UTC 2013


On Dec 28, 2013, at 11:46 AM, Patrick Dupre <pdupre at gmx.com> wrote:

> Dear Chris,
>> 
>> On Dec 27, 2013, at 7:25 PM, Patrick Dupre <pdupre at gmx.com> wrote:
>>> 
>>> cp -a /mnt/linux1/* /mnt/linux2
>> 
>> This does not copy .hidden files. There are quite a few:
> You are right and wrong
> cp -a copies all the hidden files located inside the sub-directories recursively
> (I checked on that).

Aha, so as long as there are no hidden files in /mnt/linux1 then it's fine, I see. I tested this only with /boot/* and it did not copy the hidden .vmlinuz*.hmac files.

Anyway there are reasons why live desktop installs use rsync and not cp, it's more reliable. I'm not sure what isn't being copied, or is being copied wrongly, but if things are copied correctly this should work. I've done it with rsync, xfs dump restore, btrfs send receive, and LVM thinp snapshots and those are all way easier and reliable than cp.

> There is something else to fix. I cannot guess what is it!

Post a photo of the failure.


Chris Murphy


More information about the users mailing list