On Wed, 28 May 2014, Timothy Murphy wrote:

I'm planning on moving the Fedora-20 system on my laptop
to a new hard disk (500GB instead of 80GB).
I've partitioned the new disk.
When I copy partitions from the old disk to the new one
with "cp -a" (running under a Fedora Live CD)
I get a lot of messages of the form
 diff: a/bin/acroread: No such file or directory
 diff: b/bin/acroread: No such file or directory

All the messages concern symbolic links.
I see in "man cp" that  "cp -a" included
 "--no-dereference never follow symbolic links in SOURCE"

Does this mean cp is not an appropriate way to copy partitions?

From the man page,
I see no way to tell cp to copy a symbolic link as a symbolic link.

I thought of using dd, but the partitions are not the same size,
and I was not sure if this would cause problems.

Use dd and resize2fs.
resize2fs defaults to the size of the partition.

--
Michael   henne...@web.cs.ndsu.nodak.edu
"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then."   --   John Woods
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to