tag:blogger.com,1999:blog-8797526579651167122.comments2023-12-25T15:44:39.990+00:00Views of a CoderThomas Tempelmannhttp://www.blogger.com/profile/17366020023638328512noreply@blogger.comBlogger68125tag:blogger.com,1999:blog-8797526579651167122.post-63726868771561171912023-11-21T23:55:27.634+00:002023-11-21T23:55:27.634+00:00I honestly do not remember. I can't even tell ...I honestly do not remember. I can't even tell you if it still works the same way with recent macOS versions.Thomas Tempelmannnoreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-82876650640438052752023-11-17T15:28:18.839+00:002023-11-17T15:28:18.839+00:00For the last step, modifying the Preboot partition...For the last step, modifying the Preboot partition in /Volumes/Preboot how did you get finder to display the Preboot parition? Whenever I run /Volumes/Preboot on the cloned drive it just has a shortcut to /Volumes on the host drive. I cannot access the cloned drive's Preboot partition. <br /><br />Side-note: Are the last two steps even needed if the cloned drive is going to be used on anotherAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-27896289742433785572023-01-01T13:12:48.300+00:002023-01-01T13:12:48.300+00:00Yes, Blogger's comment system is a pain. One m...Yes, Blogger's comment system is a pain. One more reason why I want to move to another system that's better maintained.<br /><br />Regarding rsync - I don't understand what you are referring to.Thomas Tempelmannhttps://apps.tempel.orgnoreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-11032088804692810452023-01-01T06:52:13.008+00:002023-01-01T06:52:13.008+00:00You probably thought of this already but what were...You probably thought of this already but what were the problems with using rsync to do this? Also, if you have a personal server in the cloud, you could have it act as the main "info" folder.<br /><br />That said even git or github is a housekeeping pain when serious file conflicts surface. I’m having trouble with your blogger comment area todayEdward Ontkohttp://muneko.github.io/blognoreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-80905858378897850712023-01-01T06:49:12.184+00:002023-01-01T06:49:12.184+00:00You probably thought of this already but what were...You probably thought of this already but what were the problems with using rsync to do this? Also, if you have a personal server in the cloud, you could have it act as the main "info" folder.<br /><br />That said even git or github is a housekeeping pain when serious file conflicts surface.Edward Ontkohttp://muneko.github.io/blognoreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-15632121977100152972022-12-23T00:04:04.352+00:002022-12-23T00:04:04.352+00:00Under High Sierra connecting the phone with a USB ...Under High Sierra connecting the phone with a USB cable connects to the phones wi-fi/internet immediately. Which is not always what I want. Under El Capitan one must turn on wi-fi and jiggle with the phones personal hotspot. Toggling it off and than back on. This has always worked for me. Still using 2 MacBooks from 2011.Edward Ontkohttp://muneko.github.io/blognoreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-25490006983776831832021-11-11T20:16:16.897+00:002021-11-11T20:16:16.897+00:00The command expects you to specify a disk (e.g. &q...The command expects you to specify a disk (e.g. "disk2") but you specified a partition ("disk2s2"). Maybe that the reason why it didn't work for you.Thomas Tempelmannhttps://www.blogger.com/profile/17366020023638328512noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-24273465595572863672021-11-11T20:12:01.145+00:002021-11-11T20:12:01.145+00:00Thank you for that great tutorial.
I could (with ...Thank you for that great tutorial.<br /><br />I could (with Mojave) reassign new UUIDs to every APFS volume.<br />But the command <br />sudo /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -s /dev/disk2s2 had NO EFFECT on the UUID of the Physical Store disk which is still the same UUID than the internal disk it was copied from.<br />Disk Util is then fooled and shows the internalLaszlo Lebrunhttps://www.blogger.com/profile/06627823749662529474noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-73769792798149141862020-08-22T07:37:43.734+01:002020-08-22T07:37:43.734+01:00Not really helpful at all! I didn't actually d...Not really helpful at all! I didn't actually do it, because it occurred to me that the partition would have to be identified in the table as type APFS, so it could be known to be handled as an APFS container, and of course APM doesn't offer an APFS partition type.<br /><br />What I did do, just for laughs and science, was see what happens if an APFS container occupied a partition Ivan Xhttp://ivanx.comnoreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-10725644758596331382020-08-22T00:11:23.235+01:002020-08-22T00:11:23.235+01:00If you try that experiement, please share what you...If you try that experiement, please share what you find out. I'm curious, but not much as it's not really helpful, IMO :)Thomas Tempelmannhttps://www.blogger.com/profile/17366020023638328512noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-58579538712359978242020-08-21T23:48:34.330+01:002020-08-21T23:48:34.330+01:00I think it does! So, APFS sounds similar to HFS, t...I think it does! So, APFS sounds similar to HFS, then -- i.e. a GUID Partition Table could presumably define a partition of type either Apple_HFS or Apple_APFS, and under normal circumstances the data structures of either would agree with the GPT, but there's nothing that forces them to do so. (IIRC, if you use dd and not asr to block-copy an HFS partition to a different-sized partition on Ivan Xhttp://ivanx.comnoreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-82050685194623867862020-08-21T15:03:12.410+01:002020-08-21T15:03:12.410+01:00Yes, a container occupies a partition and is ident...Yes, a container occupies a partition and is identified by the type ID in the GUID partition entry. IIRC, a container maintains its own size and thus could theoretically be smaller than the partition it sits in. An APFS container uses a B*Tree, similarly to HFS, for maintaining all its contents across the multiple volumes it manages. Does that answer your question?Thomas Tempelmannhttps://www.blogger.com/profile/17366020023638328512noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-13728509139553397352020-08-21T08:47:19.409+01:002020-08-21T08:47:19.409+01:00Thanks for this post. Extremely clarifying, and ve...Thanks for this post. Extremely clarifying, and verified my understandings based on what I read elsewhere. It was good to hear that you made work what I had hypothesized -- that you could restore all volumes by using dd.<br /><br />Question for you: in your comment from 19-Feb-2020, 22:22, you referred to the container as "practically" the entire partition. Do you mean practically like Ivan Xhttp://ivanx.comnoreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-17129370215290087692020-02-20T10:20:34.948+00:002020-02-20T10:20:34.948+00:00Hi Thomas,
yes, you're right. I had the same t...Hi Thomas,<br />yes, you're right. I had the same thoughts, that it would not matter which type the target partition has, but after copying with dd the target partition was not recognized as an APFS container. Because I had no ideas how to change partition types in macOS I decided that it's best to format the target disk with an empty APFS container before copying the source container Thorstenhttps://www.blogger.com/profile/09529991405947918877noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-32265104618494017602020-02-19T22:22:54.412+00:002020-02-19T22:22:54.412+00:00Since we're copying an entire container, which...Since we're copying an entire container, which is practically the entire partition, it does not matter much how the target partition was pre-formatted, as it gets overwritten anyway. What may need updating is the partition type and UUID in the GUID partition map entry, afterwards. For that reaons, pre-formatting it already with an empty APFS container would be useful, as then the partition Thomas Tempelmannhttps://www.blogger.com/profile/17366020023638328512noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-20147955165522255272020-02-19T22:22:35.006+00:002020-02-19T22:22:35.006+00:00This comment has been removed by the author.Thomas Tempelmannhttps://www.blogger.com/profile/17366020023638328512noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-29001546385301385572020-02-18T22:36:11.005+00:002020-02-18T22:36:11.005+00:00How has the target disk be prepared before cloning...How has the target disk be prepared before cloning? Should it be partitioned first with an (empty target) APFS container? Or could it be a normal HPFS partition to which the following dd will copy the source APFS container?<br />(The commandline "sudo diskutil resizeVolume diskTsP " indicates for me that diskTsP is only a HPFS partition. Otherwise it should be "diskutil apfs Thorstenhttps://www.blogger.com/profile/09529991405947918877noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-79954010813571044222020-02-18T05:10:37.480+00:002020-02-18T05:10:37.480+00:00You can make dd copy much more quickly by doing th...You can make dd copy much more quickly by doing three things. Use a larger block size, for example 1m. Read from the physical partition, disk0s2 in your example, instead of the synthesized disk, disk1. And use the raw disk devices, prefix r. So the command becomes<br /><br />sudo dd bs=1m if=/dev/rdisk0s2 of=/dev/rdisk0s5<br /><br />The copying will then go at the speed of the media. In your Adriannoreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-30195663504239723722019-11-17T18:01:57.439+00:002019-11-17T18:01:57.439+00:00If you get "inverter failed" errors with...If you get "inverter failed" errors with asr you should be able to run the command with "--verbose --debug" flags to maybe get more specific info on the issue you are facing.<br /><br />btw. I my case (macOS Catalina 1.15.1) the issue was that my original APFS container had some APFS Volumes with APFS snapshots in them (created by TimeMachine). Deleting those snapshots alloweddarwinhttps://www.blogger.com/profile/09945532539829179069noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-51722095793165932762019-10-30T12:23:22.735+00:002019-10-30T12:23:22.735+00:00I'm not sure why but its cloned it as a HFS fi...I'm not sure why but its cloned it as a HFS file system and not APFS!Anonymoushttps://www.blogger.com/profile/10925099182766233323noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-80971301680622881502019-10-30T10:14:58.167+00:002019-10-30T10:14:58.167+00:00Yikes! Conncted via USB 2, I assume? How large was...Yikes! Conncted via USB 2, I assume? How large was the disk?<br /><br />In fact, one can ask dd to show its progress, as I just found out via the terminal cmd "man dd": Hit ctrl-T while dd is running and it'll output where it's at. I've updated the post accordingly.Thomas Tempelmannhttps://www.blogger.com/profile/17366020023638328512noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-38333534156875783622019-10-30T09:42:46.909+00:002019-10-30T09:42:46.909+00:00Thanks Thomas - actually took about ten days hah b...Thanks Thomas - actually took about ten days hah but worked - thanks so much!Anonymoushttps://www.blogger.com/profile/10925099182766233323noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-22482161777348363142019-10-18T10:20:13.935+01:002019-10-18T10:20:13.935+01:00Yes, dd makes no output by default. And yes, it pr...Yes, dd makes no output by default. And yes, it probably takes a while (up to hours), but should show a summary of how many blocks were copied once it's done.Thomas Tempelmannhttps://www.blogger.com/profile/17366020023638328512noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-44193109869714365022019-10-18T07:49:25.984+01:002019-10-18T07:49:25.984+01:00After performign the DD command I'm not gettin...After performign the DD command I'm not getting any kind of output. Is this normal? Does it just take a long time?Anonymoushttps://www.blogger.com/profile/10925099182766233323noreply@blogger.comtag:blogger.com,1999:blog-8797526579651167122.post-78769243278120353302019-08-05T13:54:17.897+01:002019-08-05T13:54:17.897+01:00Thanks from the bottom of my heart. My 2002 ( 17 y...Thanks from the bottom of my heart. My 2002 ( 17 years old ) Japanese Canon A3 format Laser "LBP-1610" is working perfectly in Mojave 10.14.6Anonymousnoreply@blogger.com