Overview
What is ApplePi-Baker? (optional)
This chapter gives you a background on certain aspects of ApplePi-Baker, which may or may not be an interesting read.
You can skip this chapter if you’re not all that interested in these details and go straight to “Installing ApplePi-Baker“.
ApplePi-Baker is a small macOS utility that allows you to backup or restore disks.
At its core, it uses the same format as produced by “dd“, a raw byte-by-byte copy of the disk – typically with the “.IMG” file extension.
As I mentioned; IMG file format is a raw copy of every single byte of the source disk, and nothing fancy is being done with it.
This also means that if your disk is 32Gb, even though you may be using only 1 byte, your backup file will still be 32Gb!
Note : For backup and restore, ApplePi-Baker only supports non–system disks.
You cannot make a backup of your macOS system disk.
Note : ApplePi-Baker can optionally shrink (or expand) Linux Ext partitions.
The build in shrink/expand option only works for Linux Ext partitions on a Primary Partitions, and only when your disk uses MBR (Master Boot Record).
This means that GUID Partition tables and Extended Partitions (Partitions with partitions on it) are NOT supported for resizing.
Disk Space needed for Expanding or Shrinking
Expanding (restore) and Shrinking (backup) do require extra disk space as the partition that needs to change size needs to be extracted and resized, to then be merged again to a new IMG file for backup or restore. A very crude rule of thumb (worse case scenario) is that you’d need 2 to 3 times the disk space in relation to the size of your SD card. Make sure you have enough disk space!
Note : Some folks use the “.DD” extension instead of the “.IMG” extension.
The file format is the same though (not to be confused with the old “DiskDoubler” file format).
Wide File Dialog windows …
Due to a bug in the Lazarus Pascal LCL widget set for Cocoa, used in ApplePi-Baker, it can happen that file open dialogs are or become extremely wide.
This is a known bug in version 2.2.3 of ApplePi-Baker, or a potential version just before that one.
To resolve this (it may stick around even after upgrading to a newer version), execute this in Terminal:
defaults delete com.tweaking4all.ApplePiBaker
This should clear the width of the open or save dialogs.
Archiving and Compression with ApplePi-Baker
Typically, the IMG file format is very well compressible.
Commonly the “.zip” and “.tar.gz” (or “.tgz”) compression methods are being used on the resulting IMG file to reduce the needed storage space for the backup. I should mention that the format “.tar.xz” (or: “.txz”) is gaining popularity.
Maybe I should explain the difference between archiving and compressing (I had to learn this myself as well) …
An Archive is basically the bundling of a collection of files, which could be just one file as well – there is no compression involved.
Compression on the other hand, is the technique to store data in a smaller size than the original data, but does not involve building an archive – it just grabs one single file (chunk of data) and tries to store it in a smaller file.
Formats like 7Zip, Zip and Rar combine the creation of an Archive, and after that the Compression of that archive.
Formats like BZip2, GZip, LZip, and XZ, are good compression methods, but do not create an archive.
With these compression methods, one typically uses “Tar” to create an archive first before compressing said archive.
ApplePi-Baker support quite a range of file formats, in part due to libarchive that is being used.
Basically, anything libarchive can read or write, ApplePi-Baker can as well.
In ApplePi-Baker however, I have limited the formats used for creating a backup intentionally, to avoid odd-ball formats that are not supported by other tools or could be used in an incorrect way (like using GZip without TAR).
ApplePi-Baker supports the following formats (selected in the Save dialog when creating a backup). The extension is based on the commonly used extension for the selected format;
- 7Zip (extension: .7z)
- IMG (extension: .img)
- Tar BZip2 (extension: .tbz)
- Tar GZip (extension: .tgz)
- Tar LZip (extension: .tlz)
- Tar XZ (extension: .txz)
- Zip (extension: .zip)
There is quite a variation out there when it comes to file formats for backups. I’ve tried to capture them all, even ones that are not commonly used. Feel free to post a comment below if a format is missing, and I will see what I can do to add this odd format.
- 7Zip (extension: .7z, .7zip)
- BZip (extension: .bz,. bz2, .bzip) *1
- GZip (extension: .gz, .gzip) *1
- IMG (extension: .img, .dd, .raw, .dump)
- ISO (extension: .iso) *2
- Jar (extension: .jar)
- LZip (extension: .lzip) *1
- Rar (extension: .rar) *3
- Tar (extension: .tar)
- Tar BZip2 (extension: .tbz, .tbz2, .tar.bz, .tar.bzip, .tar.bz2, .tar.bzip2)
- Tar GZip (extension: .tgz, .tar.gz, .tar.gzip)
- Tar LZip (extension: .tlz, .tar.lzip, .tar.lz)
- Tar XZ (extension .txz, .tar.xz)
- XZ (extension: .xz) *1
- Zip (extension: .zip)
Notes :
*1 : These files were not created entirely correct, as they are compressed, but not archived (tar).
*2 : Be careful with ISO files, you may end up with unexpected results – see below.
*3 : Only Rar < v5 are supported (a libarchive limitation).
Always use TAR when using BZip2, GZip, Lzip or XZ.
(ApplePi-Baker uses TAR automatically)
One can use these compression techniques without using TAR, however, the size of the file will often not be stored in the compressed file as such. To determine what the uncompressed size will be, one often must fully decompress the file first, just to see “what came out”.
Since ApplePi-Baker (and the user) would like to know if the uncompressed data fits on their target disk, decompressing the file first would take extra time.
However; ApplePi-Baker does support files that were created without using TAR. Mostly because I made the same mistake in the past as well. But be prepared to wait a little longer when restoring a file to a disk.
Potential unexpected results with ISO files.
(Can only be used with Restore)
Flashing an ISO for a bootable USB stick …
I have tested flashing ISO files, to a USB stick, several times with several different Linux ditributions.
This has worked really well, but this does not mean that this will work for all ISO files and may not work with all computers (when booting from said USB stick). Your mileage may vary.
Warning:
After the write process has completed, macOS may inform you that “The disk you inserted was not readable by this computer“.
Do not select “Initialise”. Instead, select Eject and remove the USB device.
ISO files often do not use a filesystem as expected by your Mac, and will usually properly boot on a computer.
ApplePi-Baker basically handles almost (!) any file format you throw at it for a restore.
This implies that you can even use a so called ISO file to do a restore.
Be warned though, that ApplePi-Baker was not designed to write ISO files to (for example) a USB disk, but libarchive does support it.
By lack of testing material, I can only say: this may or may not work as expected. Please post findings in the comment section!
About Mount, Unmount and Eject
A few things you may need to know involve mounting, unmounting and ejecting disks.
Different States
Under macOS, your disk/partition can be in one of several different “states“;
- Mounted means that a disk or partition is “ready to use and visible to the end user”.
- Unmounted means that the system knows the disk or partition exists.
The end-user however, cannot see or use the partition from the Finder (but can see it in “Disk Utility”).
- Ejected a disk involves the process of physically removing a disk.
Back in the CD/DVD days, this actually meant opening the disk tray, so the user could grab the CD or DVD. Today, for example, this means that the user can unplug a USB drive. Once a disk is”ejected”, the user and the system can no longer access the disk.
Inserting a Disk
When the user inserts a drive, a CD/DVD/BluRay, plugs in an SD-Card, or a USB stick, the system will examine the disk and will try to automatically “mount” it so the user can access the disk right away.
Obviously, this mounting can fail, and a message may state that the disk needs to be initialized – common when you have an unsupported file system, like the Linux Extended File System (not uncommon for Raspberry Pi users), on that particular disk.
Disk Change notifications
macOS has a very nice, even though complicated at times, mechanism to report one of these events to your application.
Back in the day, you’d just check and see what changed every so many seconds -adding sometimes quite a workload to your computer.
But with Apple’s Disk Arbitration, this is no longer needed, and ApplePi-Baker fully uses these capabilities, minimizing the load on your computer’s resources. You’ll notice that ApplePi-Baker picks up on disk changes pretty fast.
Note : With “writing to disk” I actually mean the process of completely erasing and overwriting an entire disk as done during a restore.
The old way: Direct or as SUDO
Back in the day, your application could just write to a disk as it pleased. Obviously a tiny bit of a security problem – malicious applications or scripts would be able to destroy anything it felt like on your disk.
To minimize the chance that this would happen, so called “sudo access” (admin access) became needed to write in such a way to your disks. In the old (1.x) version of ApplePi-Baker this was still done. The command-line tools (like “dd”) were called with sudo access rights.
This came with a lot of issues and inconveniences.
Each time you started ApplePi-Baker, you would have to enter you sudo password.
Other tools still do this, either at the beginning or when executing the write task.
Apple improved its security by going a different route – the so called “Privileged Helper Tool“.
This Helper Tool is a small program, designed for one single and very specific task, and is started by launchd to execute this task when the “main” application asks it to execute for that specific task (writing to disk).
See my article on SMJobBless: Elevated Privileges in Lazarus Pascal for more technical details, if you’re interested.
However … to keep things secure, this small program will need to meet several criteria that must be met before it can even be used.
Before we can use a Helper Tool, the “main” application needs to have defined that this Helper Tool exists and what criteria need to be met (for example: the Helper tool needs to be signed by a particular developer – that would be me).
The Helper Tool needs to have defined what application(s) are allowed to call for it (with similar criteria).
After that, both applications need to be signed – theoretically, the user, or malicious software, can no longer changes this.
By the way; The signed result of the Helper tool is after that, no longer a simple executable file – only “launchd” can start the Helper tool!
Before the main application can use this Helper tool, the Helper tool needs to be installed (in /Library/PrivilegedHelperTools/
) and only “launchd” can do this. For this the user needs to explicitly give permission. So without the “OK” of the user, the Helper Tool will NOT be installed (and ApplePi-Baker will NOT work).
Once installed, the user will no longer need to provide a password to use the Helper Tool.
Note : ApplePi-Baker will install the Helper Tool at first run, or after you updated ApplePi-Baker to a version of ApplePi-Baker, that came with a newer version of the Helper Tool. So at first run only, you will see the message that ApplePi-Baker wants to install a Helper Tool, for which you will need to give permission.
Ad Blocking Detected Please consider disabling your ad blocker for our website.
We rely on these ads to be able to run our website.
You can of course support us in other ways (see Support Us on the left).
Shrinking and Expanding Linux Partitions
As of version 2.1.0, I’ve included a mechanism to shrink or expand IMG files.
Better said: shrink or expand Linux Ext2, Ext3 or Ext4 partitions on disks that use MBR (Master Boot record) – which is very common for Raspberry Pi images.
Disk Space needed for Expanding or Shrinking
Expanding (restore) and Shrinking (backup) do require extra disk space as the partition that needs to change size needs to be extracted and resized, to then be merged again to a new IMG file for backup or restore. A very crude rule of thumb (worse case scenario) is that you’d need 2 to 3 times the disk space in relation to the size of your SD card. Make sure you have enough disk space!
There are a few reasons why I implemented this.
The first reason is that SD-cards are notoriously inconsistent when it comes to capacity. Even from the same brand, and the same model, can differ in size – obviously a problem when trying to restore an IMG to an SD card that is a few bytes off compared to the original.
The second reason is being able to restore to smaller or bigger SD-cards or disks.
Making a backup of a 16Gb SD card is nice, but pretty useless if you cannot restore it to a 8Gb SD-card.
Obviously this would only work if the actually used data on the original SD-card does does not exceed the capacity of the target SD-card or disk.
So this is not a generic trick that will magically turn 16Gb into 8Gb.
However, it happens quite often that of the 16Gb only a part is used, and if that part doesn’t exceed the 8Gb, then we could restore it on a 8Gb card.
Third reason would be space to store or transport backups.
Note: Using this option WILL slow down backup or restore, since multiple steps have to be taken.
Note: During backup the original disk will NOT be affected by this.
Supported Partitions
It is important to know that this only works when these criteria are met;
– The SD-card or disk has been initialized with MBR
– The partition is a Linux partition ($83)
– The partition has a Ext2, Ext3 or Ext4 filesystem
Shrink IMG Process
During a backup, if you enabled this option, ApplePi-Baker will first make a full backup to an IMG file.
Once completed, it will extract the Linux partition, check it’s file system integrity, and resize that partition to its minimum.
After resizing, the partition tables (in the IMG file) will be updated to reflect the size change as well.
After that everything will be glued back together, resulting potentially in a much smaller IMG file.
If you enabled compressing, the result will be compressed after that.
Expand IMG process
This step is thought to use the maximum available space on a disk or SD-card.
As with the shrinking process, the Linux partition will be extracted from the IMG file.
In case the original was compressed, it will need to be decompressed first – ApplePi-Baker will handle that automatically for you.
After that the partition will be resized, so the entire IMG will use as much space as possible of the target disk or SD-card.
Naturally, the partition table will be updated as well, to match the change.
Installing ApplePi-Baker
Before we can get started, we obviously will need to download an install ApplePi-Baker.
After downloading the DMG file, simply double click the DMG file, and drag “ApplePi-Baker” to your “Applications” folder.
TIPs if ApplePi-Baker doesn’t behave …
I’ve seen quite a few oddities with the different versions of macOS and ApplePi-Baker (APB).
Here a few trick that may get things to work as we would like it to work:
- When upgrading or problems occur with a first run: Reboot your Mac.
I know, it sounds weird for Mac users, but it does seem to work for quite a few users.
- If the application misbehaves, remove these files:
~/Library/Preferences/com.tweaking4all.ApplePiBaker.plist
and/or
~/Library/Caches/com.tweaking4all.ApplePiBaker
- Especially seen with Apple Silicon users, but quite valid for Intel users as well:
Make sure ApplePi-Baker is listed and enabled under System Preferences Security & Privacy Full Disk Access.
(Ventura: System Preferences Privacy & Security Full Disk Access)
Catalina Versions …
For those running macOS Catalina: make sure your Mac is up to date and running at least 10.1.5.1.
The initial release of cataline (10.15) came with a bug preventing tools like ApplePi-Baker to work properly.
It is recommended to use at least ApplePi-Baker v.2.2.0 (older version can be problematic under Catalina)
MacOS Catalina users and Full Disk Access …
Catalina introduces yet some more hurdles. ApplePi-Baker will not write (restore) to disks due to Catalina throwing a sandbox error (System Policy: deny(1) file-write-data
).
To use ApplePi-Baker, you’ll need to add ApplePi-Baker to the security exceptions for full disk access:
Open “System Preferences” “Security & Privacy” “Privacy“.
From the list on the left select “Full Disk Access“.
Click the padlock, and unlock your settings.
Now click “+” button to add ApplePi-Baker to the exception list.
You will have to restart ApplePi-Baker or even reboot your Mac (to “refresh” the privileged Helpertool), but now writing should work under Cataline without the need for running it as sudo.
Catalina – Give ApplePi-Baker Full Disk Access
Download ApplePi-Baker
I have created a shortcut to the download for those wanting to use this in formulas (like brew etc) or link from their website.
– The direct download link to the latest version will always be https://www.tweaking4all.com/ApplePi-Baker2.dmg
– And a shorter link to this article: https://www.tweaking4all.com/ApplePi-Baker
Please like ApplePi-Baker at Alternative.to …
And if you’re interested in reading another person’s opinion, please check out Wolfgang’s article on his website: TheDigitalPictureframe.com
Download - ApplePi-Baker V2 (64 bits)
Rather use the old v1.x version? Here it is: 64bit, signed and notarized (works under Catalina).
For those who’d rather stick with the old version, I’ve created one last v1.x version of ApplePi-Baker (64bit,signed,notarized) which does work under Cataline.
Note: You will get a request for your permission for ApplePi-Baker to access your external drive – please confirm this request, otherwise it will not work.
Download - ApplePi Baker (64 bit)
Beta Version
The beta version listed here is a TEST version, and may even be older than the release version.
Use at your own risk.
Beta Download - ApplePi-Baker-v2.3.0-beta-macOS-64bit.dmg
Filename: |
ApplePi-Baker-v2.3.0-beta-macOS-64bit.dmg |
Platform: |
Apple macOS |
Beta version: |
2.3.0 |
File size: |
4.5 MB |
Date: |
2022-03-24 |
Description: |
Beta version ... for testing only, may be stable though. |
Download Beta
Send me a cup of Coffee
|
First Run of ApplePi-Baker
The first time you start ApplePi-Baker (recommended to run ApplePi-Baker from you “Applications” folder!), it will display a message, asking you to install the Helper Tool.
ApplePi-Baker – Install Helper Tool
The Helper tool will be installed, by launchd, in /Library/PrivilegedHelperTools/
.
The purposes of the Helper Tool is to read or write a disk directly (where in the past the so called “sudo” password was needed).
After installation, you will not need your admin password anymore, not even when in the future when you start ApplePi-Baker again. Your password by the way is not stored anywhere. This request is fully handled by macOS and ApplePi-Baker has nothing to do with it.
The only time a password will be asked is to install or update the Helper Tool.
Installation of the Helper Tool takes place when it is missing or when it needs to update an existing Helper Tool.
Theme Support
With the arrival of official “Dark Theme” support in macOS 10.1 (mojave), we can now use this for ApplePi-Baker as well.
Support for macOS older than Mojave may vary – if possible I do recommend upgrading to the latest macOS version anyway, but I do realize that not all Macs are supported with the latest and greatest macOS.
By default, ApplePi-Baker uses the Theme set by the system (Use System Theme).
You can however force ApplePi-Baker to use the classic Light Theme (Aqua) or the newer Dark Theme.
The setting for this can be found in the ApplePi-Baker menu.
ApplePi-Baker – Theme Settings
ApplePi-Baker – Light vs Dark Theme
Uninstall ApplePi-Baker
I’ll be the first one to say that I want to keep my Mac as clean as possible, and not every program is constantly needed or even the way you’d wanted the program to be. So here the details on Installing/Removing ApplePi-Baker;
- Drag ‘ApplePi-Baker” from “Applications” to the Trash, and empty the Trash after that.
- Delete the Preferences directory
/Users/<yourusername>/Library/Preferences/ApplePi-Baker
.
- And finally unload and delete the Helper Tool in Terminal (sudo access is needed):
1 2
| sudo launchctl unload /Library/LaunchDaemons/com.tweaking4all.ApplePiBakerHelper.plist
sudo rm /Library/PrivilegedHelperTools/com.tweaking4all.ApplePiBakerHelper |
Ad Blocking Detected Please consider disabling your ad blocker for our website.
We rely on these ads to be able to run our website.
You can of course support us in other ways (see Support Us on the left).
Basic Tasks
In this chapter, I’ll go through of the basic tasks one would go through creating a backup or doing a restore.
The next chapter will show some of the additional functions you can find in ApplePi-Baker.
One thing to keep in mind; the window has been divided in 3 vertical parts; Select Disk, Backup and Restore.
The general idea is:
- Select a Disk
- Choose an Action (backup or restore)
- Based on the chosen action; select a file
- Wait for completion of the task at hand
Step 1A – Select a Disk
Click in the leftmost column on the “Select a disk” text or the hard drive icon.
A popup menu will appear, listing the available supported disks.
If no disks are listed, then there are no suitable drives for backup or restore found.
Remember: the system disk(s) are NOT supported.
ApplePi-Baker -Select a Disk
After a disk has been selected, the selected disk will be listed under the icon, like show below in figure 5.
The red little “x” can be used to remove the selected disk.
Selected Disk listed
Step 1B – Selecting Multiple Disks (Restore Only!)
Since ApplePi-Baker now supports writing to multiple disk – for Restore Only – you can click on the disk icon again and add more disks.
When using multiple disks, disks will be written to in sequence, kind-a like so:
– Read a block from the source, write that block to disk 1, write that block to disk 2,
– Again, read a block from the source, write that block to disk 1, write that block to disk 2,
– And again, read another new block from the source, write that block to disk 1, write that block to disk 2,
– etc.
Note :
– You can add a disk only once of course,…
– The selected disks will be listed in alphabetical order, not matter in what order you added them.
Selected Multiple Disks
Step 2 – Backup or Restore
In this next step, you can select what you’d like to do: Make a Backup, or Do a Restore.
Again: click on the icon of the action you’re looking for.
Note :
– When selecting a “Read-Only” disk, then you can only make a Backup – the “Restore” option will remain grayed out.
– If you selected more than one disk, then you can only do a Restore – the “Backup” option will be grayed out.
– Naturally, if you did both (read-only and multiple disks), then neither Backup or Restore will be available.
Warning :
Not all SD-card readers seem to honor the “Read-Only” lock found on older SD cards.
In that case, your Mac will see it as a device it can write to – and actually WILL write to in case you selected a restore!
Based on your selection, a file dialog will open.
Backup: Here you determine where to store the file and in what format (selector at the bottom, center).
Restore: Here you can select the file you’d like to use for Restore. The format requirements will be detected automatically. Incase an archive has multiple files, you will be presented a dialog allowing you to select the file (in the Archive) that you wish to use.
Warning:
For TBZ, TGZ, TLZ and TXZ files, by default “Find First File in Archive” mode is enabled. This means that ApplePi-Baker will grab the first file it finds.
This makes using these files a lot faster, but can be problematic when an archive contains more than one file. See “Enable Full Archive Seek Mode” for more details.
Step 3 – Coffee and a cookie
In this step you’ll just have to wait for the task to complete.
ApplePi-Baker also shows a percentage indicator on it’s Dock icon, and when the process has been completed (and ApplePi-Baker does not have focus) the dock icon will bounce (as expected with regular macOS applications).
Dock Icon show Progress
Note: If you enabled Resizing the Linux Partitions, several other steps will follow (and shown).
In the ApplePi-Baker window, a few estimates will be displayed as well:
- Average speed, which of course can change over time, but compared to the older ApplePi-Baker I have seen matching or better speeds.
- Estimated completion time, which indicates at what time ApplePi-Baker expects to finish the job.
- Time Left, which tells you how many hours, minutes, and/or seconds the process still will take.
The big “ Abort” button, well … it’s there just for decoration. Haha, just kidding. Obviously it’s there to abort a job.
Easy to read Progress
Additional Functions and Options
Obviously, since this is a little bit of a hobby project, things went a little out of control, and while exploring things, I have added some functions I’d figured to be useful.
At the bottom of the window, you will see a few icons. “Functions” on the left and “Options” on the right.
ApplePi-Baker Functions and Options
Icon |
Purpose |
|
Advanced Disk Panel
Reveals more details about the disks connected to your Mac and offers additional disk functions, like mount, unmount, create NOOBs, etc. – more about this below. |
|
Go to Tweaking4All.com
This icon opens this particular page – in case you need help. |
|
About ApplePi-Baker
Here you’ll find version information and credits. |
|
Show Log-Window
Opens a small log window below ApplePi-Baker with messages. Personally I prefer this over notifications, and I can see what happened while i was not paying attention. |
|
Resize Linux Partitions
When enabled during backup, the Linux partition in the backup will be resized to its minimum size.
When enabled during restore, the Linux partition will be expanded to utilize all available disk space. |
|
Enable Full Archive Seek Mode
This is specific for Tar BZip, Tar GZip, Tar LZip and Tar XZ archives, and affects only these formats. See explanation below. |
|
Auto Eject
When enabled, your disk(s) will be ejected after Restore completion.
(where Eject = Unmount all partitions and Eject disk) |
|
Enable SSH
This tries to enable SSH on Raspberry Pi images, by saving a file “ssh” on the first mounted partition. This effectively enables SSH, ideal for a headless Raspberry Pi setup.
Note : your Raspberry Pi images has to support this for this to actually enable SSH. |
|
Notifications
When enable, notifications will be displayed in the macOS notifications. Quite annoying actually. |
Shrink or Expand IMG
During backup: This will shrink a Linux partition in an IMG file, if found, to its bare minimum, so a restore can be done at a later time to a target disk or SD-card of a different size (target disk or SD-card should be the same size or bigger than the resulting IMG file size).
During restore: The Linux partition will be resized on the target disk or SD-card, so that the IMG will use all available space.
Note that this option will take a bunch of extra steps and will slow down the backup or restore process.
Enable Full Archive Seek Mode
This is ONLY for Tar BZip, Tar GZip, Tar LZip and Tar XZ archives, and affects only these formats!
For TBZ, TGZ, TLZ and TXZ files, Apple-Pi Baker will have to seek through the entire archive to find all entries, which can be slow process.
Since the first entry is found instantly, and since these archives typically have only on file entry, ApplePi-Baker by default grabs the first file entry it finds.
Under normal circumstances this should not be a problem.
However, if the archive contains more than one file entry, this can become a problem.
Say the IMG author added a “readme.txt” file, the ApplePi-Baker could by mistake take that file, resulting in a failed restore.
If you have an archive in this format, holding more than one file entry, then you may want to enable the “Full Archive Seek” mode.
Apple-Pi-baker will then find all file entries and if more than one file was found, a list will be presented to select from.
Log Window
If you’re keen on checking what is going on when ApplePi-Baker is running, or we need more information when things aren’t going all that well, then the Log Window can become in handy.
You can toggle the visibility, by clicking the “Show Log-Window” button.
Right clicking the log, offers a few options:
- Copy Log to Clipboard (so you can easily post or email the log)
- Save Log to File
- Clear the log
Log Window
Advanced Disk Panel
The original intent of ApplePi-Baker was to keep things simple for the user.
However,… after all these years I have seen enough users doing exotic things with my applications (which is awesome by the way!), and have seen the need for more information when troubleshooting. All this made me add this Advanced Disk Panel, and the more information I found, the more I kept adding. Remember – this is a hobby for me and it’s just fun to find all this kind of information.
In the Advanced Disk Panel, we can see of all the disks (visible to you or not) attached to your Mac – including mounted ISO/DMG/IMG files.
The devices printed in orange are not supported for Backup/Restore with ApplePi-Baker, as those are system disks.
More precise; these are disks that cannot be ejected – I may refine that in the future.
Note : in the upper right corner, you’ll see a disk icon. When this icon is gray (you can click it), only supported disks will be shown.
Per disk, you’ll see how it is connected, what brand/model disk it is (if provided by the manufacturer), capacity, devicename (in /dev/) and what partitions it has.
Per partition you’ll see the device name (/dev/diskXsY), it’s label and what type of partition it is – size and file system included, if applicable.
Note : If a partition is printed in Italic, then this means that this partition is NOT mounted.
Tinkering with System Disks and System Partitions … at your own risk!
If you get the insane idea to Eject your system disk (I’ll admit it, I have actually tried it!), then the system will tell you that it cannot eject the disk and nothing bad (should) happen. The same goes for mounting or unmounting.
That at least has been my experience.
No matter what my experiences are:
Please try not to tinker around with the system disks (like mounting the EFI partition) unless you really know what you’re doing.
Advanced Disk Panel
CoreStorage Chaos
With Apples more recent way of dealing with disks (CoreStorage), you’ll potentially see some “funny” things.
In the example below:
It suggests I have two big disks (disk0 – 1 Tb, disk 1 – 744Gb)
However, My 1Tb SSD (disk0) actually holds a virtual image for disk1 and I really only have one SSD in this Mac (disk0).
Look at partition /dev/disk0s2 – an “Apple File System (AFPS) Physical Storage”.
Fusion disk users will see something similar, maybe even with an additional layer in between.
Now, if you look at /dev/disk1, then you’ll see “Synthesized Disk – Physical Store on partition /dev/disk0s2”.
So the fake (virtual) “/dev/disk1” actually lives on /dev/disk0s2.
These virtual disks come with a problem when analyzing these disks – the partitions on this disk are flexible in size and are sized as needed. These partitions do not have a fixed size (unlike normal-old-school-straight-forward-regular-plain partitions). Hence the phrase “(virtual)”, where as other partitions show an actual size.
Accessing Disk Functions
Right clicking (or CTRL + Left click) a disk or partition will reveal a popup menu with some practical functions you may appreciate.
Availability of functions does depend on what item you selected.
Extra Disk Functions
As you can see, quite a few options:
ApplePi-Baker Disk Functions
Function |
Purpose |
Select this Disk (/dev/diskX) |
Add the selected disk to your disk selection for backup or restore
(double click does the same) |
Eject Disk |
Ejects a disk (unmount all partitions and eject disk) |
Mount Volume |
This will try to Mounts a Volume (partition) |
Unmount Volume |
Tries to Unmount a Volume |
Reveal in Finder |
If a volume is mounted, then this will open it in Finder |
Prepare Disk for NOOBs use |
Erase a disk, and makes a single FAT partition for NOOBs use |
Expand All |
Expand all disks in the list, so you can see all details |
Collapse All |
Collapse all disks in the list, so you just see the disks and no details |
Copy Structure to Clipboard as Text |
This Copies the entire tree of disks and information to your clipboard |
Copy All Drive Details to Clipboard as Text |
Copy all internal details of all disks onto your clipboard |
Copy Partition Table Info from Selected Disk |
Copies partition info from the selected disk (for debugging) |
Copy Partition Table Info from IMG file |
Copies partition info from the selected IMG file (for debugging) |
Close Advanced Disk Panel |
Close the Advanced Disk Panel view |
Reporting Feedback and/or Issues
When running into issue, feel free to place a comment below …
Please keep in mind that this is a hobby for me, so do not confuse this with me being your 24/7 helpdesk.
Reporting issues …
ALWAYS mention what macOS and ApplePi-Baker version you’re using.
To make it easier, I’ve added a function in the “About” window.
Open “About” (click ), right click the version info in the upper left corner and select “Copy Version Information“.
Paste that with your issue/comment!
NEVER post huge lists!
To keep things readable, please please pretty please do not post huge lists or log dumps.
It makes things unreadable and hard to find for other users.
IF a log or list is needed, I’ll let you know,…
In case you really feel you really must post a list or a log, then please post them in the Raspberry Pi Forum or the MacOS X Software forum.
Comments
There are 892 comments. You can read them below.
You can post your own comments by using the form below, or reply to existing comments by using the "Reply" button.
Nice job! It’s like McDonalds – I’m loving it!
JohnSeed
Thanks John for taking the time to place a compliment – it’s very much appreciated!
hans
Hi there,
On the options panel, I can’t tell if everything is on or off. Other than the “show log window”, everything is blue. Does that mean all of the blue ones are on or off?
For example; the second button “enable linux partition resize”, it’s color blue. Is that setting on so when I use my card, it will resize? Thanks!
Manny
Hi Manny,
sorry to see some confusion here with the GUI.
Rule of thumb:
– if an icon (next to “Options”) is gray, then is is DISABLED.
– if the icon is colored (the Accent Color in System Preferences -> General) means the option is ENABLED.
Hans
Hi ! That’s a great new to know ApplePie Baker has been updated. Very good job, can’t know any other tool on macos as simple and efficient ! Work great for my monthy Raspberry Pi 1:1 backup :) Thanks a lot !
Gaetan
Thanks Gaetan!
So glad to hear you like the update!
Thanks for taking the time to post a Thank-You – it’s a good motivator to keep going.
And … I may have a really awesome surprise for the next release (v2.1 – already working on it).
hans
LOOKING FOR BETA TESTERS – SHRINK and EXPAND BACKUPS
I released ApplePi-Baker 2 a few weeks back, and while working with Jeff, one of the beta testers, I started testing shrinking images … which initially failed horribly, but in the latest iteration seems successful.
So … right now I’m looking for folks, willing to test this feature.
The idea is to shrink a Linux partition on backup, and expand it on restore, so backups from larger SD cards may fit on smaller SD cards.
Additionally, ApplePi-Baker will now avoid including unused disk space in the backup.
Since I have very little examples to play with (Raspbian, RetroPie and LibreElec have been working great this way), I’m looking for folks with real life situations, to see how well this may or may not work.
Reply here, or send me an email at webmaster at tweaking4all.com if you’re interested in testing.
hans
I did find a bug that impacted the speed.
If anyone is interested in testing the “fix” then please let me know.
hans
Open invite to test 2.1.0 beta (download here).
Version 2.1.0 comes with some major changes;
– significant speed impact (while testing, backup almost 3 times as fast as before),
– optimized backup (parts of the disk that are not partitioned will be skipped),
– option the shrink or expand Linux partitions on your Mac.
Since I have a limited number of Macs to test with, I’d love to hear feedback from other Mac users.
hans
First of all: Thank you for your marvellous work.
I‘m using the option shrinking successfully by SD cards. Now I guess using an SSD with 240GB. For this purpose the internal SSD (512GB) of my Macbook is too small obiously. The IMG file do not fit in ./tmp. What can I do?
I‘m desparatly waiting for your help.
Leander
Hi Leander,
thank you for the nice compliment!
With the latest beta, you should be able to do this running from an external drive.
Make sure to backup to an external drive or network share, and if I did everything right, the tmp files will be stored there.
In case you do not have any secondary storage, then I’m afraid you’re out of luck.
APB needs to store the data somewhere to take it apart and resize it
Hans
Does 2.0 work with Mojave? I get this error after clicking open on the security pop-up
Access Violation
Press OK to ignore and risk data corruption
Press Abort to kill the program
Installing ApplePi-Baker-v2.0.0
I’m running macOS 10.14.5
Also, wanted to say you have a great program.
Jimm
Hi Jimm!
Thanks for the compliment!
Yes it should work on Mojave (tested with 10.14.4 and 10.14.5).
Unfortunately the message is rather vague (and I really wish I could improve on that).
Did you mean that this happens when you start APB, and it asks for permission to install the Helper Tool?
If you’d like, you can try the 2.1.0 beta (download here), which has some changes.
Some of the changes are;
– Improved timing (between main application and Helper Tool),
– significant impact on speed,
– optimized backup (parts of the disk that are not partitioned will be skipped),
– option the shrink or expand Linux partitions on your Mac.
Since there have been a lot of changes, I’m not sure if it addresses the error you run into, but I’d love to find out what may be causing this.
hans
2.1.0 is doing the same thing.
After installing the app, I go to the application folder right click the app, click open
macOS asks if I want to run the app downloaded from the internet (gatekeeper), click open
that is when I get the error message, when ApplePi-Baker is trying to open. APB never has a chance to ask to run the helper.
If you need any logs or anything else I can do please let me know.
JImm
I’ve just uploaded a new version 2.1.0 – this time with a little less strict timing for the Helper Tool.
Please let me know if this resolves the issue
Background; at startup APB checks if the Helper Tool is responding and I only gave it 0.1 second to reply during initial start, which may or may not be too short for some systems.
hans
Forgot to ask: what kind of Mac do you have? (model/cpu/memory/disk)
hans
the new 2.1.0 is doing the same thing (I downloaded from the link provided from previous comment.)
here are my system specs:
MacBook Pro (Retina, 13-inch, Mid 2014)
Processor 2.8 GHz Intel Core i5
Memory 16GB 1600MHz DDR3
Hard Drive 512GB
Graphics Intel Iris 1536 MB
Jimm
Thanks Jim,
I tried to reach out by email, but email is bouncing (maybe a typo in your email)?
I have a beta version available for you – would you be willing to email me at webmaster at tweaking4all dot com?
hans
Hello, i have the same problem with beta 2.1
Access violation.
Press OK to ignore and risk data corruption.
Press Abort to kill the program.
xavier
Hi Xavier,
thanks for reporting.
Can you tell me what the build number is of the version you’re testing? (can be found in the about section)
Did you experience this with 2.0.0 as well?
hans
I’ve added an extra check to v2.1.0 build 90 (delete the previous one, the new one has the same filename, you can download it here).
hans
As its been a few months since these people have been posting I wonder was there ever a solution to this issue? I have experienced it as well on 10.14.5 (Mojave), and also when I download the latest 2.2.1. I also tried 2.1.0. If there is anything I can do to help, please let me know, as this product used to save me so much time, and would love to get it working again.
thanks
greg
Gregory Boland
Hi Greg,
thank you for your patience.
I’m a little at a loss here what may be causing issues.
I’ve tested v2.2.1 on Catalina (10.15.1) and Mojave, and on all my 3 Mac’s it runs fine (Mac Pro, MacBook Pro 0216 and a Macbook 12″).
Catalina 10.15 (the initial Catalina release) had some issues related to a bug in Catalina.
What ever i try, I cannot reproduce the issue a handful of folks seem to run into.
This makes it very difficult for me to debug.
I can try to compile a debug version for those who would like to give it a try.
It will generate quite a few messages in Console, which I then would have to review in the hope to find something that may cause this.
But it remains problematic.
Any info that could help mimic the situation here, would be very helpful.
(feel free to contact me by email: webmaster at tweaking4all dot com)
hans
Hi, the other day (May 28th) I backed up the Retropie SD, everything went well.
Today, after numerous changes between preferences and files, I decided to make another backup, but it didn’t start: I selected the card, the destination folder, but nothing starts.
This happened with version 2.0.0, then I downloaded 2.1.0 and got the same result: nothing.
My configuration is:
Mac mini (Late 2012) / 2,6 GHz Intel Core i7 / 16 GB / MacOS Mojave 10.14.5 (18F132)
Thanks.
Flatinus
Hi Flatinus,
Can you download the latest beta, test again, and copy the content of the log-window here and dito for the version info?
Log window: open the log window, right click the log window, choose “Copy Log to Clipboard”.
Version info: open the about, right click the version info, choose “Copy version information”.
hans
From what I read on this page, the last beta is version 2.1.0 and it’s exactly the one I used last night, correct me if I’m wrong.
Yesterday, I had thought of inserting the log, but I read that I didn’t post too long messages.
I’m going to do another test and then put the log.
Thanks.
Flatinus
Among other things, this v. 2.1.0 seems to be faster than v. 2.0.0…
Flatinus
Yes, it should be up to 3x faster than 2.0.0.
I did spend quite a bit of time trying to fine tune things. Glad you noticed!
hans
Awesome, thank you for paying attention to not posting long logs! It’s truly very much appreciated.
I’m just trying to avoid that folks post logs that cover multiple pages
The log window log’s should be pretty short, and if you prefer, you can also email me the log (webmaster at tweaking4all.com) or start a forum topic.
After close to 3,000 downloads, I’ve had hardly any beta testers, so all the input you can provide is welcome!
hans
Ok, someone out there call an exorcist now it works, half an hour ago no!
If it can be useful, the last sentence of the log is saved in the browser history, which, in fact, gave an error:
applepi baker ERROR - Incorrect CLONE Command Parameters
I keep the situation under control, I’ll make a few backups a day and as soon as the problem arises I’ll immediately submit it.
Flatinus
Haha … well, I’ve noticed MacOS going a little bonkers when one interrupts the restore process (which does not apply to your situation), where a USB stick or SD card needs to be removed and reinserted for the Mac to know what to do with it.
Keep an eye on the “Incorrect CLONE Command Parameters” message, I’d need to see more of the log to know what is happening, but usually this should not happen.
hans
Last night I restarted the system, but still didn’t start. The only error that appeared in the log was that of the Helper Tool, then solved with the v. 2.1.0
The “Incorrect CLONE Command Parameters” appeared only this morning, but restarting the application a couple of times it disappeared and – at the same time – the backup started.
Tonight I’ll make another backup and do the same all weekend, if there are problems I’ll inform you immediately.
Feel free to contact me via email and consider me a beta tester, it’ll be a pleasure and it seems like the least I can do.
Flatinus
p.s. what is the advanced disk panel showing for this drive?
hans
At the moment I can’t view it because the backup has started, I’ll write it later.
Flatinus
Flatinus
Looks like a normal USB stick or SD card. Hmm. Let’s keep an eye on this!
hans
Samsung EVO Plus / 64 GB / U3 / 10 Class
The twin that I use on my YI4K+ Action Camera.
Flatinus
UPDATE: ApplePi-Baker v2.1.0 available
The new version can SHRINK IMG and EXPAND IMG.
meaning; it can shrink (during backup) or expand (during restore) Linux partitions.
Version 2.1.0 is also much faster – during tests up to 3x faster!
hans
UPDATE: ApplePi-Baker 2.1.1 available
Bug fix concerning directories that have [ and ] in the directory or filename.
Thanks Fabio for catching it!
hans
Flatinus
UPDATE: ApplePi-Baker 2.1.2 available
Fixes a cosmetic bug, where certain buttons were not properly visible.
This did affect Mac’s with without a discrete GPU (eg. Mac’s with only an integrated Intel chip for graphics).
hans
UPDATE: ApplePi-Baker 2.1.3 available
Fixed bug when restoring an IMG, that has no Linux partition, yet “expand” partition has been enabled.
Fixed minor cosmetic bug with buttons being enabled or not during backup or restore.
hans
Great job, Hans! I’ve been holding off on updating my macOS since I use your program so much; I wasn’t about to lose it to an update. ;)
OutsourcedGuru
Thanks OutsourcedGuru!
I hope it meets your expectations, and it’s awesome to hear you’re such a fan! Nice!
hans
Thanks, it looks like a great application!
Unfortunately, after I select the disk and click on Restore, nothing happens but for a log being written that reads: Restore Cancelled – No file selected. As I am neither prompted to select a file after clicking Restore nor see an option to select a file before clicking I’m not sure what to do…
I’m running OS X El Capitan 10.11.6 on an old MacBookPro (mid-2009) that doesn’t support anything newer.Is that the issuie?
Here is the complete log entry (after several reboots and retries):
Jo St
Hi Jo St,
unfortunately, I no longer have access to a machine (or virtual machine) running El Capitan.
So it’s impossible that this may be the reason.
I’ve just looked through the code, and it seems to skip the OpenDialog function completely (since you’re not offered to select a file).
I’ll have to touch base with the Lazarus team and see if this is a known issue for El Capitan, since it is something I cannot even test.
If I’d create a super simple program that just opens the file dialog, could you test it?
hans
Hi Hans,
Thanks for the quick answer!
I found the problem and it had nothing to do with your application itself but a problem of writing permissions turning off and on during the process.
In case somebody else encounters a similar problem:
The device to insert the micro sd card into the standard sd card reader has a common read only vs read/write mode switch. It was set to read/write, but it seems it was a little to long for the old mac book reader. After setting it half between read only and read/write it the computer consistently understood the setting instead of switching between having and not having writing permissions.
This seems to have happened quite a few people with other sd cards, too.
As expected, your application now works just fine.
Regards
Jo
Jo St
It is indeed a common problem – my old MacBook Pro would do the same thing. Insert Read/write, and the notch seems to hit the side and switches to read only or somewhere in the middle. That’s why I got an extra SD card reader. The funny thing with that one is that it totally ignores the switch and writes to the SD card even if it’s switched to read-only, and actually overwrites the SD card.
I would not have expected that error though … but I’m glad you did get it working
hans
Hey Hans!
Thanks for this useful tool -great work :)
but I’m a bit confused – I downloaded version 2.1.3 from the website but the app says I have version 2.1.0 installed – thanks for your help :)
brigitte
Hi Brigitte!
Thanks for reporting!
That would probably be because I forgot to update the info.plist …
No worries, if the application show 2.1.3 in the top part of its window, then it really is 2.1.3.
Maybe I’ll create a script to automate updating the version number – it has happened before that I forgot (so many steps to take before I can distribute the application, and this would be the one I forget every now and then).
hans
:D ah oke great – thanks for the information ;)
brigitte
You’re welcome! And again, thanks for reporting!
hans
I am having a similar problem to that I have seen in previous threads. I am trying to use 2.1.3 on a brand new MacBook Pro and get the Access violation error when trying to run the program.
Here is a short piece of the log
Process: ApplePiBaker [4951]
Path: /Applications/ApplePi-Baker.app/Contents/MacOS/ApplePiBaker
Identifier: com.tweaking4all.ApplePiBaker
Version: 2.1.0 (2.1.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: ApplePiBaker [4951]
User ID: 501
Date/Time: 2019-06-08 11:10:46.838 +0200
OS Version: Mac OS X 10.14.4 (18E2035)
Report Version: 12
Bridge OS Version: 3.4 (16P4756)
Anonymous UUID: DFB73457-8A11-1666-7123-A5C6B36921EB
Sleep/Wake UUID: 8F9C357F-148D-416E-A012-01976704263F
Time Awake Since Boot: 6200 seconds
Time Since Wake: 1200 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000013
Exception Note: EXC_CORPSE_NOTIFY
Steve
Hi Steve,
Thanks for reporting! Since I’m traveling, it will be a challenge to debug.
Does APB crash right away at start?
I’d be interested in seeing some version info (see: “About” and right click the version info to copy it).
Did the Helper tool get installed (if yes: remove it , so it gets reinstalled: delete /Library/PrivilegedHelperTools/com.tweaking4all.ApplePiBakerHelper)
hans
It doesn’t even start.
Opening the app immediately gives the error access violation
Click ok and wait for a few moments and the following error arrives
ApplePiBaker quit unexpectedly (and then the log I provided)
Just a thought, when I set up my new MBP, I chose to use the disk encryption, could this have any thing to do with it?
Steve
Sorry, and no, there are no files in that given location for the help
Steve
Ouch that’s not good.
I do not think encryption has anything to do with it – but in all honesty, I’ve never used encryption on my disk (nervous about losing everything and not being able to access the disk on a different machine – but maybe that should not be a valid reason anymore).
It sounds like it is trying to setup the Helper Tool and it somehow gets stuck there. I’ll try to compile a debug version today or tomorrow, so we can see some messages in Console. Especially since you’re not seeing the Helper in “/Library/PrivilegedHelperTools/”.
In the meanwhile, you could try downloading APB again and see if the download got corrupted somehow (which I doubt will be the case).
hans
I tried with a fresh download and had the same issues. I even tried with an earlier version I found linked on here but again, the same issue
I will happily hand over the logs when the debug version lands. And thanks for the support and this great tool
Steve
I wanted to say; thanks for having a problem hahaha … but that just sounds wrong
I’m on vacation right now, so I’ll have to find a moment to recompile 2.1.3 with debug info.
I’ve seen something like this before, and thought I had resolved it, but I guess I was wrong.
The time I did see this before, was because it was tested on an old and slow Mac – but that is not the case here.
hans
No rush Hans, enjoy your vacation
Steve
Thanks Steve
I’ll admit though, that now that more people use the new version, I’m excited to get that issue resolved. So don’t be surprised when you see a test version earlier than tomorrow
hans
Alrighty, I’ve created a debug version. You can download it here.
For debugging, open “Console” (in Applications/Utilities) before starting APB.
Now in Console you can set a filter (upper right corner). Enter “APPLEPIBAKER” (without the double quotes) and press ENTER.
It now should filter most of the messages and only show the ones related to APB.
Next; start the application and do your thing.
You’ll see all kinds of messages fly by.
Once done, you can select and copy the messages (⌘A, ⌘C) and then paste it into an email to webmaster at tweaking4ll dot com.
hans
Hi Hans,
Email is on the way to you
Thanks again
Steve
Thanks again Steve!
hans
Hi there
Long time user of Apple Pi Baker – so thank you!!
In getting ready for Catalina I discovered version 2.13 – but unfortunatley I am unable to restore a disk img to an sd card, that I can still do on the “old” 32 bit version.
I keep getting
12:57:06 — START RESTORE
12:57:06 Restore Started – Restoring File to Disk
12:57:06 Destination – /dev/disk4 (126 GB Generic MassStorageClass)
12:57:06 Disk Presence Check – Selected Disk Found
12:57:06 Source – File: /Volumes/homes/DS916/Vita/Transend 128gb.img
12:57:06 Source – Trying to determine source size
12:57:06 Source – Source is a Raw File
12:57:06 Source – Size = 126,437,294,079 bytes
12:57:06 Destination – Verifying Disk Capacity
12:57:06 Destination – Max disk capacity is 126,437,294,080 bytes
12:57:06 Disk Size Check – Capacity of Selected Disk PASSED
12:57:06 Unmounting – Attempting Unmount of all Partition(s) of selected Disk
12:57:06 Skipping unmount – No mounted partitions found on /dev/disk4
12:57:06 UnMount – Waiting for unmount co complete
12:57:06 UnMount – Waiting for unmount co complete – 1 Disk unmounted.
12:57:06 Unmounting – Completed
12:57:06 Starting Helper Tool
12:57:07 ERROR – Unable to open destination /dev/disk4
David
Hi David,
I’m sorry to hear you’re running into issues.
What do you see in the advanced view when looking at /dev/disk4 – it would be helpful for me to resolve the issue.
It looks like there are no partitions on the disk? As a temporary fix: apply NOOBS – also in the advanced view – and try a restore again.
hans
Preparing for noobs didnt work I’m afraid
In Advanced view shows partitions etc
David
Something is blocking exclusive access to /dev/disk4 for some reason.
This can happen when there is something wrong with the partition table, or when another application is blocking access.
You can try this:
Open ‘Disk Utility” and choose “Unmount” for disk4.
Once unmounted (not eject!) , try APB again.
Even though it’s strange that the partities appear to unmount just fine (message in the log file). But the conflicting message that there appear to be no partitions on /dev/disk4 is confusing. I must have goofed up somehow.
It is also a little weird that the old APB works just fine.
The new APB follows Apple “official” guidelines, so I’m not sure why it would fail opening the disk.
I’d love to resolve this issue. I’m sure you will not be the only one running into this.
In the about you should see something like this;
Do the version, build and helper tool version match?
hans
Yes, checked – the version numbers are exactly as above
David
Yes, version numbers match
David Dean
Hi David,
did you try unmounting through Disk Utility first as well? Did that work?
If you’re up for it, I’ve posted a debug version (a comment a little higher up, here), maybe the debug log can show us why the disk in inaccessible for APB.
hans
Hi there
Just tried unmounting in Disk Utility and that worked!
iconfessimageek
Alright, so MacOS isn’t giving access to the disk quick enough.
So I’ll try to give APB a little bit more time if needed.
Can you test other disks or SD-cards?
hans
Yes, just tried it on a 32gb Toshiba card – same result – could not find disk – then I unmounted it and it worked
iconfessimageek
Interesting and a little weird hahah.
OK I’ll try to create a test version that waits a little longer, even though MacOS seems to report the disks unmounted.
Are you by any chance using and tools to mount different file systems, like FUSE, Paragon ExtFS, etc?
Or some sorts of disk cleaner (removing hidden Mac files from Windows disks etc), or any AntiVirus software?
Something is delaying the unmount, would be interesting to find out what is doing that.
hans
I’m using 2.2.3 (build 1) (Helper Tool 1.8.2) on OS 10.14.1 and I have the same issue myself, also resolved by unmounting in Disc Utility.
Everitt
As a follow-up to my previous comment, I noticed that spotlight was indexing when I had the problem. I suspect this is related.
Everitt
Very interesting find …
You could try if disabling indexing for that drive by adding the drive to the privacy field in Spotlight:
“System preferences” – “Spotlight” – “Privacy” tab, drag the drive into the list there.
Now a few notes on that:
Hans
Hi Hans,
thank you sooo much for this handy tool. It really saves a lot of typing and time when performing a backup of an RASPI installation.
But: I’m facing the same issue under Mojave 10.14.5 on my MBP 2015 !
Unmounting the card solves the problem for me too. I hope you’ll be able to find a workaround for this behavior of OSX :-)
Cheers,
Ralf
Ralf
Thanks Ralf!
As soon as I get back home, I’ll look into it.
Still wish I could reproduce the issue, but I’ll see what I can find.
Any info you can provide is appreciated
hans
Hello Hans,
thank you very much for your great tool and also for this post, which made my day! The unmount solution works flawlessly and you saved me a lot of time because I would never have managed to clone my SD card without your help!
By the way: I also had the error message “ERROR – Unable to open destination /dev/disk(x) and I also just ran an indexing with Spotlight.
I would like to buy you 5 coffees, but I don’t feel like paying five times via PayPal … ;-)
Can you please email me your PayPal address?
Thanks again,
Ralf
Ralle
Hi Ralle!
Excellent!! Great to hear you’re enjoying APB
Oh wow, that is very generous of you … I’ll send you an email
Hans
I have problems:
14:24:33 Found Correct HelperTool version (1.5)
14:27:01 Drive added to list: /dev/disk3 (32 GB Apple Built In SDXC Reader)
14:27:02 — START BACKUP
14:27:28 Backup Started – Making Disk to File Backup
14:27:28 Source – Disk: /dev/disk3 (32 GB Apple Built In SDXC Reader) (31,914,983,424 bytes)
14:27:28 Destination – File: /Users/drapple/Desktop/backup.img
14:27:28 Shrink IMG Enabled – Temporary IMG file: “backup.tmp”
14:27:29 Backup started
14:28:12 Partition Mounted – /dev/disk1s1
14:28:19 Partition Unmounted – /dev/disk1s1
14:36:44 Completed – Cloning Completed
14:36:58 Finished – Completed in 9 minutes and 30 seconds, average speed 27.8 MB/sec
14:37:02 Resizing – Attempting IMG shrinking
14:37:03 RESIZE – Attempting to MINIMIZE a Linux partition in the IMG file “backup.tmp”
14:37:03 RESIZE – ERROR: Source IMG File does not exist
14:37:03 Resize Error – Source IMG File does not exist
14:37:33 — START BACKUP
14:37:40 Backup Started – Making Disk to File Backup
14:37:40 Source – Disk: /dev/disk3 (32 GB Apple Built In SDXC Reader) (31,914,983,424 bytes)
14:37:40 Destination – File: /Users/drapple/Desktop/backup.zip
14:37:40 Shrink IMG Enabled – Temporary IMG file: “backup.tmp”
14:37:42 Backup started
Why dosn’t work the RESIZE ? The Backufile is after the prozess delet :-(
Danny
Hi Danny!
Thank you for reporting the issue.
There seems to be a bug in the resize function where the tmp file somehow isn’t recognized.
I assume you have enough disk space to store roughly 2x32Gb.
Does it fail when you do not use compression?
hans
I have enough free space, but what’s funny: without the option in 7-zip fomart he does it right, 32gb sd card and 4.7gb image file
Danny
That’s good info!
So the issue is compression related.
Note: I found that the good old ZIP format appears faster than most other formats, and compression is similar to the other good compressing formats.
Well, now I at least know where to look
I’m trying to make a build, but am running into some Apple issues. Apps need to be signed these days, and a free individual account should do the trick, which it doesn’t. So I’ve just paid $99 for a full membership, but … I still cannot download the new certificates. I contacted Apple for support, but it’s a Sunday so I’ll have to wait for them to get back to me …
hans
i am getting the same error when i try to use the shrink feature when backing up, saving as IMG.
i didn’t try any of the compressed options yet
APB v2.1.3 build 98
OSX 10.11.6 el capitan
thank you!
burnt
Hi Burnt!
Thanks for reporting.
I’ll be working on it, when I get back from vacation (July 1st).
If you can, post the error message (if any).
Also check your available disk space (need about twice the space of the SD card to be free).
hans
actually i had the same thing as the person who commented on your v2.1.3 page
i turned my computer off last night before i went to bed.
turned it back on this morning and tried it again and it worked.
i had just installed the new version for the first time last night so maybe needed a reboot to clean something up?
i got the same error message as above the first time
“Source IMG file does not exist” after saving the backup and starting the attempt to resize.
anyway, the shrinking worked this morning and i was successfully able to restore the image to a different micro SD card using Etcher and then expanding my filesystem with raspi-config.
worked like a charm :)
burnt
oh also, would it be possible to make it so we could shrink pre-existing image files we have already made?
its so much faster restoring the shrunk file then the full image.
enjoy your vacay!
burnt
Hi Burnt,
once I get back from vacation, I’ll have to look and see why rebooting your Mac would have made a difference (I assume you rebooted).
As for shrinking previously made IMG’s; what you could do is simply mount the IMG file (double click in Finder).
APB should now see it as a drive, and you should be able to make a backup of that, with the shrinking option on.
I’ll add “shrink IMG file” to my “Ideas and ToDo list” though, seem like a good function to have.
hans
Just out of curiosity; why are you using Etcher to restore the IMG?
hans
yes i did reboot. or rather to be specific i completely shutdown, went to sleep, woke up and turned it back on.
i usually use APB to restore but i used etcher in this case b/c i had trouble resizing and restoring w/ APB.
maybe it was working and i just got impatient but i waited 5-10 minutes after the timer said the resizing would be finished, and by then the program was “not responding” and wouldn’t move on to the next step.
i could have waited longer or tried it again or tried restoring without resizing w/ APB but tbh i was a tired of wrestling w/ my situation for days and just wanted to move on to the next step of my project.
also the first time i installed v2 over my old version it would not let me open it.
i had to uninstall the program completely, then i rebooted, then i tried installing v2 again and everything was okay. first i thought it was maybe b/c v2 was not supported by el capitan but glad i tried again when my head was a bit clearer.
thanks tho for everything. APB has made my pi life so much easier :)
burnt
Glad that APB is making life easier …
I’ll try to make it even easier in the future. Some bugs seem to surface that did not appear with the beta testers. So hopefully I can fine tune things to a one-in-all solution
hans
oh that’s not nice of apple … if I should test a beta / can, even without certificate, just say :-)
Danny
Things like this are most certainly taking the fun out of developing applications …
In the meanwhile, I managed to get my certificates. I guess I wasn’t patient enough
I’ll post a debug version pretty soon. I’ll need to write a few instructions how to look for the proper debug messages.
Would you be able to send me the debug info by email? (I just want to avoid that too much info is being posted here)
hans
no problem, say me how to i send this and i make it for you ;-) Thanks for very good app !!
Danny
Alrighty, I’ve created a debug version. You can download it here.
For debugging, open “Console” (in Applications/Utilities) before starting APB.
Now in Console you can set a filter (upper right corner). Enter “APPLEPIBAKER” (without the double quotes) and press ENTER.
It now should filter most of the messages and only show the ones related to APB.
Next; start the application and do your thing.
You’ll see all kinds of messages fly by.
Once done, you can select and copy the messages (⌘A, ⌘C) and then paste it into an email to webmaster at tweaking4ll dot com.
hans
Ok thank you, the debug process is now in work ;-)
Danny
Thanks Danny!
Reviewing the logs right now … may need some extra coffee with that haha.
hans
What else would be a great feature: that you could also select a USB SSD ;-)
Danny
You should be able to that already.
If not; can you email me the Drive details?
Go to Advanced View, right click the overview, select “Copy All Drive Details to Clipboard as Text” from the popup menu, and paste it in an email.
Let me know which disk is the one you cannot select (so I know why it may or may not be selectable).
hans
p.s. you can email me at webmaster at tweaking4all dot com.
hans
I decided to try the new version for the first time today in order to backup/restore. The backup worked well, but the restore is failing, saying the unmount failed. I’ve verified that the disk is actually unmounted correctly, but APB is not seeing it as such. It doesn’t see it as unmounted even if I unmount it myself using Disk Utility. Log:
09:09:47 Disk Appeared – /dev/disk7
09:09:47 Details Updated – Partition /dev/disk7s1
09:09:52 Drive added to list: /dev/disk7 (32 GB Apple Built In SDXC Reader)
09:10:05 — START RESTORE
09:10:05 Restore Started – Restoring File to Disk
09:10:05 Destination – /dev/disk7 (32 GB Apple Built In SDXC Reader)
09:10:05 Disk Presence Check – Selected Disk Found
09:10:05 Source – File: /Volumes/MacStorage/HASSBackup/2019-06-10 93.1.img.zip
09:10:05 Source – Trying to determine source size
09:10:05 Source – Source is a Compressed File
09:10:05 Source – Determining size of entries stored in Archive
09:10:05 Opening Archive /Volumes/MacStorage/HASSBackup/2019-06-10 93.1.img.zip
09:10:05 Source – Size of disk.img is (32,010,928,128 bytes)
09:10:05 Destination – Verifying Disk Capacity
09:10:05 Destination – Max disk capacity is 32,010,928,128 bytes
09:10:05 Disk Size Check – Capacity of Selected Disk PASSED
09:10:05 Unmounting – Attempting Unmount of all Partition(s) of selected Disk
09:10:05 Trying to unmount /dev/disk7
09:10:05 UnMount – Waiting for unmount co complete
09:10:05 UnMount – Waiting for unmount co complete –
09:10:05 Details Updated – Partition /dev/disk7s1
…
09:10:15 UnMount – Waiting for unmount co complete –
09:10:15 Error – Unmounting of one or more partitions failed ()
Rick
Hi Rick,
thanks for reporting. There seems to be a few users experiencing this.
I’ll be looking into this shortly, but it will come with some challenges and testing since I cannot reproduce the issue.
Would you be interested in testing if I get possible fix for this?
hans
I’ll be happy to help however I can. Thank you for the quick response.
Rick Schrader
Awesome! Thanks Rick!
It may take a little time, since I’m on vacation, but I’ll try to find something in the next few days
hans
p.s. David (see one of the comments above) ran into the same issue.
A manual unmount (with Disk Utility) before doing a restore seems to be a temporary work-around (just in case you’re in a bind to do the restore).
hans
I did see the comment above and tried it, but it didn’t appear to make any difference in my case.
Rick Schrader
Cool that you did try that. Hmm … makes finding a fix a little bit more of a challenge hahah.
hans
[…] download a program called ApplePi-Baker. The program can be found at the developer’s website, Tweaking4All. Scroll down until you see the green section with the heading “Download ApplePi-Baker v2.” Once […]
Apparently none of the RasperryPi.org users or the DreamcastLive.net users know the answer to this question I find no instructions on how to “flash” DreamPi on a 4GB SDHC card usig ay program for the Macintosh like Etcher or Apple PiBaker, and have it so the Dreamcast Modem recognizes OR having the Raspberry Pi plugged into my TV have a Unix command screen. May I have specifici instruction on how to install DreamPi on an SDHC card so that the Mode works on my Dreamcast, and teUnix-like commands appear n thescreen if want to use “debug mode” I require “debug” mode to do Sega Swril Gmail compatibility.
I know you can’t speak for Etcher, but none of the DreamPi specific videos refer to a MAcintosh, and all the links are generic links dealing with Raspberrry Pi and are not specific to both the Macintosh AND DreamPi.
Brian Ciesicki
Hi Brian,
I’m unfortunately not familiar with DreamPi. However, it seems like a regular image/OS for a Raspberry Pi managing network traffic for Sega Dreamcast, so the Dreamcast can work over the Internet. I could be wrong about what it exactly does of course.
Either way; it seems to be a IMG file, specifically for a Raspberry Pi.
So the SD card will go into a Raspberry Pi and not the Dreamcast, or modem.
I can also see that it’s an IMF file, compressed with 7Zip.
ApplePiBaker is capable of decompressing on the fly, but you could of course manually decompress it as well, if you’d like.
From what I can see, the file (DreamPi-1.6.img.7z) may or may not fit on a 4Gb SD card (I don’t know how big the file will be when decompressed).
What I would try;
1) Decompress the DreamPi-1.6.img.7z file which should result in a file probably called DreamPi-1.6.img.
Check the file size and see if it does not exceed 4Gb.
Note: Considering what it is doing (as far as I understand), it would surprise me a if the file would be larger than 4Gb.
2) Insert your 4Gb SD card in your SD card reader (external, or internal if you Mac has an internal SD card reader).
3) Start ApplePi-Baker
4) Select the SD card in the “Select disk section”
5) OPTIONAL: (I’d skip this, if the decompressed IMG file is smaller than 4Gb)
You can check the “Expand” option – it will try to resize the IMG to fit the SD card, which means ApplePi-Baker will try to shrink or expand the IMG file to make it match the 4Gb size of your SD card.
Note: I’d only use this if:
– the IMG is smaller than 4Gb and you’d like to use the full SD-card, or
– if the IMG is larger than 4Gb and you’d like to try if it can be shrunk to fit.
However if the IMG is smaller than 4Gb and you don’t care about using the full disk space, then you can skip this option, and probably the best approach for a first try.
6) In the “Restore” section, click the disk icon and select the DreamPi-1.6.img file.
Restore should start automatically after you clicked “Open”.
4Gb shouldn’t take too much time.
Once completed, eject the SD card properly and insert the SD card into your Raspberry Pi.
Next connect the Raspberry Pi to your TV or monitor and set the TV or monitor to the right input (probably something like HDMI1, HMDI2, AUX, or whichever it’s called).
Since you mentioned a Linux shell and/or debug mode(s), connect a keyboard and optionally a mouse.
Next connect power to the Raspberry Pi, and see it boot up DreamPi.
Even without any of the other steps, you should see something happening on your TV/Monitor.
Now after that is working, from what I have seen, you will need to do a few hardware modifications as well (se the DreamPi webpage), which would be your next step to get DreamPi to work with your Dreamcast.
I hope this is helpful, feel free to ask question, especially in case I misunderstood your question.
hans
Wll, I followed your advice on Dreampi 1.7, but I heard it was buggy. The Unix screen did NOT come up when the Radspberry Pi was plugged into either the HDMI TV or the CRT TV using composite.,\\I gues
When I looked at he disc after finishing it, (Oh by the way, the .IMG file was 1.9 Gb,a nd when it was written, it wasn’t written in the form of an IMG file, but was broken down into a directory of at least 10 files whtdiffeet extensions.
Does anyhting sem irregular about this? Is yor Apple Pibaker doiung what it’s suppesod to? IOs the .IMG file suppesed to spearatre into many different files? And why is there no Unix command entry on eihter the HDMI TV or or the Composite to a CRT. The cable were sending signals for toher stuff, and justdidn’t work with DreamPi 1.7
Maybe I’ll try Dreampi 1.6, the last stabler veriosn, and se oif that works. If not, I don’t know what’s wrong.
Brian
Hi Brian,
That sounds about right. You have to remember: an IMG file is a literal 100% byte-by-byte copy of a disk.
This includes bootsector, partitions, the directories and files on each partition, empty space, etc.
So whatever partitions, directories, files etc were available on the original, when the copy was made of the disk (into an IMG file), is exactly what you’ll see after “restoring” an IMG file. So the IMG file is not what you will find on your disk, rather you’ll find every byte that was in the IMG file – forming a disk with partitions etc.
As for what DreamPi should be doing or look like; I have no idea. I’m not familiar with DreamPi.
If the screen is not showing anything, you could consider testing it with another SD card.
If I recall correctly, at startup the Raspberry Pi could show some color pattern briefly.
Also make sure to connect the Raspberry Pi to the TV before powering it up.
Note:
– ApplePi-Baker, Etcher, “dd”, and other tools do just one thing; write byte by byte from the IMG file to the destination disk. None of these applications will do anything with the partitions, file or directories on the SD card.
– Natively, your Mac may not see all partitions on the SD-card, since they may be using a filesystem (Ext2, Ext3, Ext4) that is not supported by MacOS. If you do see a partition, then this will most likely be a FAT partition (DOS/Windows) – but there will be most likely more (invisible) partitions.
These invisible partitions can be made visible on the Mac with tools like Paragon ExtFS – however this is NOT required for DreamPi to work. The Raspberry Pi (after boot) will be able to read and see those hidden partitions.
hans
Well I tried your advice of plugging the Pi into the TV, (I used a CRT TV and a Composite output) and when I put on the power, the screen flashed white for a little while, but after 5 minutes showed no Unix Command Line screen. Somnething is wrong with the Unix.
I tried it with both DreamPi 1.6 and DreamPI 1.7 and there is no unix commands, but the Pi DID turn on, as evidenced by the flash of light. I think there’s some unix problems in either the DreamOPi file itself, OR the Apple Pi Baker is not processing it right.
Also I noticed there are about 20 flles visible i the Boot disc, ad none of them are bigger than 5 MB, most measured in K. Also looking at Disc Utility, there is a D1S2 on the SD card. I assume all that information is not Mac readable, and it l;ooks like some things are missing on the DreamPi 1.7 Boot that were present in 1.6.
=I assume the Apple Pi Baker is not working because if it were to work, then there’d at least be a Unix Command screen. If there was a fault in DreamPi then a IUnix Screen would pop up and I have to copy and paste the Unix info to debug. But with no unix screen,, the Flashing is done wrong.
The People at DreamPi want me to send the whole DreamPi AND SD card to get it reflashed. I asked if there were specific direciotnds for flashing a DreamPi using a Mac, and neither Dreamcast-talk.com not YouTube: Dreamcastic had instructions specific to BOTH DreamPi AND macintosh. youTube: dreamcastic has a video for flashing on PC, but nothing the mac-specific links are not DreamPi specific enough.
Brian
Keep in mind that the “visible” partition (FAT) always has just a very few small files.
It is the boot partition, which on boot starts the system from the invisible partition.
Since you do see 2 partitions in Disk Utility (one visible, one invisible), this means that the card has been flashed correctly. Otherwise Disk Utility wouldn’t see them either. (not a guarantee though)
Note: by double clicking the IMG file, if I’m not mistaken, you Mac will try to mount it as a virtual disk. The same visible and invisible partitions should now be visible in Disk Utility as well, and the visible partition should look the same as on your SD card. This only works with the uncompressed IMG file, not the 7zip file.
Considering the amount of people using ApplePi-Baker without issues, I’d say that it’s not likely that ApplePi-Baker is failing.
One thing you could double check is making sure that the “Expand” function is disabled (grey) in ApplePi-Baker.
Just in case something went wrong there. If so: please let me know – the expand function has worked well for me, but by lack of testers, I still consider it “experimental” – and you would not need this function in your case anyway.
To me it sounds like there is either something wrong with the SD card, your Raspberry Pi, or a corrupted download of the DreamPi IMG (try downloading with another browser).
Some Tests you can do:
1) Test a standard Raspberry Pi image, for example Raspian (download here).
2) Boot with the Raspberry Pi connected to a HDMI capable monitor or TV (just to rule that out as an issue, see this topic).
3) Consider using another SD card (if you have one available – SD cards are not the most reliable storage medium).
4) Check if your power supply can keep up. If you have a more powerful power-supply, use that. I’ve had it in the past that my cheap Chinese power-supply could barely keep up, even though it claimed to be 2A, resulting in unexpected behavior of the Raspberry Pi.
If none of these work, then I’d say most likely something is wrong with the Raspberry Pi.
It would be interesting to see what the SD card does from the DreamPi developers – which by the way is very kind of them to do.
p.s. when booting a failing Linux setup, there is no guarantee that you’ll see a debug window, or anything for that matter.
hans
A different person suggested, flash the ROM, then insert the SD card, then the TV connector,and finally, the power, with nothing else insertedx, to see if the unix command screen comes it. If no Unix shows up, then the ROM didn’t flash right. The first problem is making sure the flashing process works right. Then we can continue.
Brian Ciesicki
I’ll have to try the DreamPi image myself once I get back from vacation.
Like I said; there is no reason why this would fail unless there is something else is wrong.
The flashing needs to be correct is indeed needed. The SD card could be a problem or the downloaded file may be corrupted.
That’s why I suggested testing another IMG file. If that one fails as well, then something is wrong with the SD card or the Raspberry Pi or the IMG file.
hans
Very cool !!!
Meditant
Thanks for taking the time to post a compliment – it’s much appreciated!
hans
down loaded the newest version 2.1.3, and the program no longer boots. access violation?
flower
Hi Flower,
I still have to investigate this issue (only 2 or 3 users have reported this).
I’m on vacation right now, so I’ll look at it when I get back.
As a temporary fix; it seems with some that rebooting the Mac fixes the issue.
hans
Thanks for the quick reply, I upgraded to the Catalina beta right after I posted this and that fixed it? The new UI is gorgeous thank man this program is the best.
Flower
Thanks Flower! The compliment is much appreciated!
Oh wow, you tested it on the Beta of Catalina, nice! I didn’t dare to go there just yet.
hans
ApplePi looks great on the pages here and me thinks it’s exactly what I need to load Raspbian Buster onto a microsd card. My predicament is as follows, HP laptop bricked from endless boot loops so I went back to my late 2005 Apple iBook G4 1.42Ghz running OSX 10.4.11 Tiger and downloaded the new release 2019-06-20-Raspbian-Buster-Full zip that opened to DMG then to Boot folder. All good and because Balena-Etcher requires OSX 10.9 Mavericks or later was hopeful ApplePi might run on my 15 years old laptop, latest version 2 downloaded fine but won’t open in Tiger. Any chance the developer might be tinkering some backward compatibility or something that might allow even limited use, a work around or?
Thanks,
Robert
FlyingBoat
Hi Robert!
Well, OSX 10.4 Tiger is indeed pretty old and will most likely not support some of the API calls using in the current version of ApplePi-Baker.
On top of that, I’m not sure how well it would support 64 bit applications, as it may still have a 32bit processor (Core2Duo maybe?).
So making ApplePi-Baker work for such an old MacOS version may not be an option (and I wouldn’t be able to test it).
Maybe you’d want to use the older ApplePi-Baker v1.5.1 version (you’ll find it in this article or directly download it here).
I know it’s not the same as the new version, but it should work on Tiger. You could even try the v1.9.x version, which may work as well.
Hope this helps!
hans
Hello ,
i tried your app and it gives always the error on 10.6.8
the sudo password you entered is either incorrect or you do not have sudo rights.
the same happens with pibaker 1.5 or 1.9
thanks
richard
Hi Richard,
Support for very old macOS version is quite a challenge. Even 10.6 (we’re at 10.15 now) Snow Leopard is already 10 years old, and Apple most certainly moves forward without considering that folks use older Mac’s. If I recall correctly, since I do not have a “target” minimum macOS version in my development tools, the minimum is 10.8, but even that I cannot confirm with certainty, so no guarantees there either.
I’ll admit that with the v1.x versions (since it doesn’t really use anything “special”), I would have thought APB would work on old MacOS X versions, but then again; I do not have the means to test MacOS X version that are that old.
After some reading on the topic;
I’ve seen others running into the issue that setting the target MacOS version has to be done manually and is not always reliable or working.
However, I did try a recompile with the suggested command line options.
Since I cannot test this, please feel free to test this version.
No guarantees … but worth a try.
hans
tks! good job… in the process of switching over to the latest systems on our RPis, so this is a lifesaver: 2min, 46secs to write RPi Buster to a Samsung 32GB SDHC on a Macbook Air running Mojave… will then replicate to our music server, surveillance cams, and for setup of an LCD pandapter for IF output on the Xiegu X5105!
willie
Thanks Willie!
I very much appreciate the feed back.
I may still need to do some fine tuning, but hearing great results on your end is great to hear .
hans
update:
17 minutes to write a 32GB Raspbian Buster install to an .IMG file (didn’t use compression as i figured USB3.0 write to the Samsung SDHC would be faster – dunno)
31 minutes to restore the 32GB .IMG to another Samsung SDHC…
thanks!
willie
on the Gulf of Mexico
willie
Hi Willie!
Awesome! Glad to hear it works great on your Mac!
Pretty cool to get a message from the Gulf of Mexico as well!
hans
p.s. backup from or restore to an uncompressed IMG file is indeed faster (if you do not use the shrink/expand option).
hans
Crashes using catalina beta 2 (10.15) on 2018 macbook pro 13″ 2.1.3 (build 98). It crashes when click restore or clicking about. Unable to do any function without crashing.
Crashlog attached
https://pastebin.com/5k2VwGhk
Randall
Same here – also on Catalina Public Beta 1
iconfessimageek
Hi Randall and Iconfessimageek,
I’ve learned my lesson with Mojave the hard way, to not jump on beta’s right away.
With other applications I’ve wasted a lot of time working around issues found in a beta release of MacOS, to in the end find out that Apple resolved these issues with its final release.
I will however do a little test run, by trying to boot Catalina from an USB stick. Too bad Apple doesn’t make a downloadable file available so I do not have to sign up for the beta (which triggers unwanted beta updates until I unsubscribe). Some to think of it; I’ll send Apple a feedback on that topic
hans
Version 2.1.3 (Build 98)
02:22:57 Found Correct HelperTool version (1.5)
02:23:05 Drive added to list: /dev/disk2 (32 GB USB 2.0 SD/MMC Reader)
02:23:19 — START BACKUP
02:23:36 Backup Started – Making Disk to File Backup
02:23:36 Source – Disk: /dev/disk2 (32 GB USB 2.0 SD/MMC Reader) (31,914,983,424 bytes)
02:23:36 Destination – File: /Users/error404/Documents/raspberry4_06072019.img
02:23:36 Shrink IMG Enabled – Temporary IMG file: “raspberry4_06072019.tmp”
02:23:41 Backup started
03:42:51 Completed – Cloning Completed
03:42:53 Finished – Completed in 1 hour, 19 minutes and 17 seconds, average speed 6.7 MB/sec
03:42:53 Resizing – Attempting IMG shrinking
03:42:53 RESIZE – Attempting to MINIMIZE a Linux partition in the IMG file “raspberry4_06072019.tmp”
03:42:53 RESIZE – ERROR: Source IMG File does not exist
03:42:53 Resize Error – Source IMG File does not exist
error404
Hi Error404,
I’ll try to work on this in the upcoming week – I just returned from a long trip.
Thanks for reporting!
hans
I got this too. But I repeated the process and it worked fine the second time. I’d suggest trying again.
OutsourcedGuru
Hi there,
I run into a problem, i can’t backup my pi sd card anymore.
On the SD Card itself everything is working fine. (8GB)
Backup with Pi Baker finishes after 7 seconds… wow i thought and the filesize is only 4mb.
But then i realized that it doesn’t work anymore.
With a windows computer running win32diskimager , backup size is like the sd card itself 8GB.
On MacOS itself it shows me also a 8GB disk.
From my perspective it will only backup the fat32 boot partition and not the whole disk.
Any idea? Thx in advance
Cryo
Hi Cryo,
apologies for the late response (vacation came in between).
Sounds indeed like something is going wrong. A few things to check;
1) Try with the “expand” option disabled.
2) Check your ~/tmp directory.
Do you have a log (from the log window)?
hans
Hi!
Very nice update of the tool!
However, release 2.1.3 crashes when baking the SD card.
Luckily, release 1.9.5 works fine!
Configuration is
Avenue33
Hi Avenue33,
apologies for the late response, I was on vacation.
Unfortunately, the log info you’re showing isn’t telling me enough to determine why it crashed.
To make sure you have the latest version; consider downloading again. Also consider rebooting your Mac – this seems to help for some users.
If the problem persists; please let me know, so I can dig into it and see what the issue may be.
hans
I tested with another SD card, to no avail.
Performing a fresh install didn’t solve the issue.
So I removed all the files related to ApplePiBaker and proceeded with a clean install: everything goes fine now.
Avenue33
Hi Avenue33!
Glad to hear you have the issue resolved – too bad we don’t know what happened.
However, your “fix” is something I’ll keep in mind when others run into the same issue.
When you installed again and started APB, did it mention that it was updating the Helper tool?
Just wondering if there is something going on there.
hans
Hello Hans,
Thank you for the follow-up.
Yes, indeed, even when performing the fresh install, a message said it was updating the Helper tool.
I used AppCleaner to clean the old installation of ApplePiBaker. Maybe it would be worth mentioning this procedure.
Have a nice week!
Avenue33
Thanks Avenue33!
We will have to keep an eye open to see if others run into this as well.
Since .app and helper were replaced, the only file left would be the config file (/Users/<username>/Library/Preferences/ApplePi-Baker/ApplePiBaker2.ini), however this file doesn’t contain anything critical.
Thanks for the tip though! I use App Clearner Pro every now and then (they also have the free “App Cleaner”).
I tried finding the log file, hoping I would find something there, but I have no clue where the log files are and clicking the “Show Logs” button just opened Finder not showing anything.
hans
The new shrink/expand toggle is much appreciated. I bought several of the UNIREX 8GB microSD cards, in theory to avoid problems. And yet across the same manufacturer/model of microSD some are 7,969,177,600 but then some of them are showing up as 7,751,073,792!
So now I guess I’ll have to auto-shrink all backups I make because it’s like playing Russian Roulette on some future date (whether I’ll be able to easily restore from a particular backup if I don’t use this feature).
OutsourcedGuru
Hi OutsourcedGuru,
I know the problem you’re encountering … I’ve had the same with my SD cards in the past.
I would recommend testing the shrink option before relying on it 100%. After all, it is experimental, and I didn’t have enough beta testers.
So far it has been working great on my own setup though (both shrinking and expanding have worked well, and I’ve tested with Raspbian, LibreElec and RetroPie).
hans
Hi,
Being a Delphi developer myself, I am very impressed with this little jewel !!!
Well done my friend, many thx.
Ollivier Civiol
Hi Ollivier!
Thank you very much – it means a lot to hear that from a fellow programmer (I do work with Delphi as well at work).
Thanks again!
hans
Thanks so much, Hans, for keeping the development of this great tool alive!
Wolfgang
Thanks Wolfgang!
Seeing a thank-you note always makes my day – and I’m happy to hear that you like APB
hans
The new functionality which compresses images and allows to copy to cards with different sizes is a much-needed feature that I haven’t seen anywhere else. I tried it with 3 cards already and it works really well. Thanks!
Wolfgang
Awesome! Thank you for sharing your experience!
As said elsewhere in this article; I consider it experimental at the moment, although I’ve had great experiences myself using this feature.
Unfortunately I had very limited beta-testers, so a confirmation from actual users is really great!
Thanks again!!
hans
I confirm, it works like a charm !
ollivier civiol
Thanks for sharing Ollivier!
It’s great to get confirmation!
hans
ApplePi-Baker is definitely the easiest way I’ve seen of cloning and shrinking my SD cards in one easy step on MacOS. I can play around way more with Raspberry Pi stuff when I don’t have to worrying about losing it all. :) Thanks so much for your work!
gold64
Thanks Gold64!
Great to see positive feedback – it is very much appreciated!
hans
Hi there
Cant get it to work properly in Catalina – I keep getting “unable to open source”
Works well in Mojave!
Any ideas?
14:52:04 Found Correct HelperTool version (1.5)
14:52:10 Drive added to list: /dev/disk6 (128 GB Generic MassStorageClass)
14:52:21 — START RESTORE
14:52:21 Restore Started – Restoring File to Disk
14:52:21 Destination – /dev/disk6 (128 GB Generic MassStorageClass)
14:52:21 Disk Presence Check – Selected Disk Found
14:52:21 Source – File: /Volumes/homes/DS916/Vita/Transend 128gb.img
14:52:21 Source – Trying to determine source size
14:52:21 Source – Source is a Raw File
14:52:21 Source – Size = 126,437,294,079 bytes
14:52:21 Destination – Verifying Disk Capacity
14:52:21 Destination – Max disk capacity is 127,865,454,592 bytes
14:52:21 Disk Size Check – Capacity of Selected Disk PASSED
14:52:21 Unmounting – Attempting Unmount of all Partition(s) of selected Disk
14:52:21 Trying to unmount /dev/disk6
14:52:21 UnMount – Waiting for unmount co complete
14:52:21 UnMount – Waiting for unmount co complete –
14:52:22 Partition Unmounted – /dev/disk6s1
14:52:22 UnMount – Waiting for unmount co complete – 1 Disk unmounted.
14:52:22 Unmounting – Completed
14:52:22 Starting Helper Tool
14:52:23 ERROR – Unable to open source /Volumes/homes/DS916/Vita/Transend 128gb.img
iconfessimageek
Hi Iconfessimageek,
I haven’t done much testing with Catalina (on purpose – to avoid that I go insane trying to fix things, and then at final release have to undo all the work I had done to work around bugs in the Catalina beta – I had made that mistake with the Mojave beta).
Seems you’re pulling the IMG from a Synology NAS share. Considering the file (suspected) file size; copying to your local disk may not be that convenient.
Maybe Catalina has a bug there with access rights, or it is an intentional change in Catalina?
hans
Just looking: it seems to be a change in how Catalina handles SMB configuration.
For example NETBIOS no longer by default being enabled (see: Stackexchange).
Some experience no longer accessing shares, other experience problems with accessing file (see: FireCore).
I suspect (and hope) that Apple will change this in the final release.
Either way, it seems MacOS related.
hans
Ok, copied across the file to the same drive – get the same message
iconfessimageek
Sounds like a Catalina problem then. According to the beta release notes:
NetBIOS is disabled in macOS 10.15 to speed up mounting, browsing, and connecting to SMB shares. Some older printers and file servers may require NetBIOS to connect.
To enable NetBIOS, you can create or edit the /etc/nsmb.conf file. If your system doesn’t already have an /etc/nsmb.conf file, use the following Terminal commands while logged in as an Administrator:
To disable NetBIOS, you can safely delete the /etc/nsmb.conf file.
You could try this to see if it make a difference – I hope Apple won’t leave it this way on release, tons of folks would run into similar issues.
hans
Oh wait … did you get the same message while copying? (Catalina problem)
Or did you get the message after trying it with the copied file? (Access Rights issue, or APB issue)
(sorry just realized your text could be interpreted two ways haha)
hans
This is a completely indispensable tool for the macOS community! I thought it was a lost project so discovering the amazing work done on version 2 is like a late christmas present. Thanks for all the hard work. :-)
schack
Thanks Schack for the compliment and Thank-You note – Oh and Merry Christmas of course
hans
[…] ApplePI Baker ist die Software zum Beschreiben der SD-Karten […]
Love the polished new look of version 2, especially the dark theme and circular progress bars. The switch to a helper tool is also great. Nice work!
What do you think of PiBakery’s ability to configure things? One option I think would be really useful is to configure WiFi (possibly a toggle that just applies the current network). That could pair well with the existing SSH option to prep a card for booting a headless server.
Nathan
Hi Nathan!
Thank you very much for the very nice compliments – it’s very much appreciated!
I’ve never really used PiBakery, and do not know all the ins and outs of configuring IMG’s like this.
From this post at StackExchange I can see there is an option (for Raspbian) to setup WiFi (see below).
Having said that; I’ll have to think how far I want to wander off from the app’s main purpose (backup/restore).
Especially when other options become available (eg. Audio settings, run specific scripts, etc).
If you have an overview of options, I could think about what we could do with this.
Quote from StackExchange post:
hans
Hi Hans! It could become a never-ending task once one option is available (like SSH), people may want more (like WiFi). Since it’s possible to edit a file on the FAT partition to set up WiFi, it’s not essential and more of a nice-to-have. Once configured manually on the command line, I can make a backup to form a new template for subsequent cards, so that works pretty well as is. That, or I can make a small script to copy a file or two over to /Volumes/boot.
Once I was in the unfortunate situation of trying to set up a headless Pi at a hackathon with no Ethernet or external keyboard. I couldn’t SSH into the Pi to configure WiFi because it wasn’t on the network. After that event I got a USB to TTL serial cable to plug into the GPIO for such tasks, and of course we now can configure WiFi (and much more) on the FAT partition from a different computer.
Once again, thanks for updating ApplePi-Baker. It looks and feels amazing!
Nathan
Hi Nathan
Having the option to do a few settings and putting that in a template is something that could be very useful. I do like the idea.
Since I do not work with my RPI very often (so much other stuff to do), I obviously am not very experienced with all the options that can be set these days.
I wasn’t even aware of the WiFi option.
Having said that, I can imagine other distributions may have “other” options or different definitions of these options.
Defining templates in a flexible way would be quite useful.
Feel free to email me at webmaster at tweaking4all dot com to discuss this in more detail (or here!).
A list of potential settings would be helpful.
I can imagine there are plenty different files, file types, parameters, etc. that I’m not aware of (yet).
hans
Hi Hans. A template, or the ability to copy over some files as part of the process might be useful. Unfortunately I’m not familiar with all the options either. I’m also not sure which options can be done on the FAT /boot partition, vs. which things may need to be done in the Linux. The reason I called out WiFi specifically is to be able to set up a Pi that people can boot up and SSH into for further config, even if the user doesn’t have a wired network.
Nathan
I’ve been thinking about a “generic” solution.
The reason behind that being that others would like their options to included as well, and building an interface for each option may become a pain.
One thought would be that the user can point to a path, in which the user puts any kind of structure and/or files, that he/she wants to have copied to the FAT partition. Downside would be that it’s quickly too complex/cumbersome for the average user.
Granted; WiFi would be the most common option of course. So maybe I’ll build something for that specifically.
Let me see if I can find all the specs for WiFi. (if you have them handy; please let me know)
hans
Hi Hans. The other day I did something silly. I had the expand linux partition option on while writing the Raspian image to a 256 GB SSD. Since my internal drive doesn’t have that much space, it failed in the end with a somewhat cryptic error message. So I tried again, failed again, and then I realized why it happened by looking at the log more closely (thanks for the log!).
This is with ApplePi-Baker v2.1.6. This issue is that it didn’t clean up after the error. My internal drive is nearly full. So I went hunting for the file and found in /Users/nathany/tmp a 130.1 GB file called applepibaker_temporary.img. Perhaps that should be deleted automatically if the process fails?
Nathan
Aw crap … I knew I had forgotten something.
I’ll add this to the ToDo list.
I actually wanted to extend the storage check before even beginning the backup/restore, just having trouble doing a good size requirement estimate up front. So the cryptic error would make more sense since you’d have seen a warning “low disk space”.
hans
When I want to make a backup or a restore obviously the only name I can use is ‘backup’!? Everything else leads to an error message.
Is this correct?
Funske
Hi Funske,
ehm, no you should be able to enter any name you prefer.
What kind of error are you getting? Does this happen with a particular filename you have in mind, or does this happen all the time?
Also; if you go to the about/info (the “i” icon), right click the displayed version info and select “Copy Version Information” and paste it here, so I can see the details of your OS and APB version.
hans
I found what was wrong; I had used the letter ‘ó’ instead of the ‘o’. Sorry my mistake!!
But I have another little problem. I often get this message: “ERROR – Unable to open source /dev/disk3 and then I eject the disk and try it again in another USB-port and sometimes it works, but sometimes I get the error again.
I use
ApplePi-Baker version: 2.1.6 (Build 130)
(Helper Tool version 1.5e)
Operating System version:
macOS
Version 10.14.6 (Build 18G87)
x86-64 (64 bit application)
Fons
Oh cool that you found the issue. I’m a little surprised that such a character causes problems though.
I just did a quick test and the file dialog didn’t even like that character, and indeed crashes.
This should not happen, so I’ll see what I can find to “fix” that.
As for disks being unable to open;
– It can be that another application is using the disk, exclusive opening then would not work
– It can be that the SD card or SD card reader are not very reliable (if you’re using one of those)
What you can try is first unmounting the disk(s) in for example “Disk Utility”.
Do not eject, just unmount the partition(s). The disk will still show in APB (since you didn’t eject and the disk is still connected).
If that works, then something is accessing or locking the disk and prevents exclusive access.
Exclusive access is needed, so that during a backup, no new data is written or data is modified by other programs while doing the backup.
as you can imagine, if this would happen, your backup would most likely be corrupted, and you may not even realize this until it’s too late.
hans
I’ve tried your tip.
First I got the same error but after formatting the disk with SD Card Formatter, removed it as you described and clicked on ‘restore’ it looks like it’s working.
Thank you for your help!
Funske
Glad that worked, and you’re welcome!
hans
Sorry Hans,
But I keep getting errors again even when I try it your way……
I don’t understand what I’m doing wrong!!
Funske
Hi Funske,
It’s hard to troubleshoot without having the same issue myself.
Feel free to email me at webmaster at tweaking4all dot com, maybe that allows for an easier troubleshooting.
hans
Hi,
1.9.5 – It’s work fine.
2.1.6 – Constantly freezes :-(
MacOS – 10.14.6
Aleksei
Hi Alexei,
I’d love to help you out, but could you be more specific when it freezes?
For example; At startup? during Backup, or Restore? When inserting a new disk? During decompression?
If the IMG was compressed; what format was being used?
If during backup and restore: by any chance are the IMG’s files stored on a network share?
hans
It loads normally.
Further anywhere may freeze.
For example, simply by clicking on the “Open Advanced disk panel” icon or when restoring an image.
Aleksei
Thanks Aleksei!
The video does help indeed.
I am wondering though why …? (obviously you don’t have the answer either)
I cannot reproduce this on my Mac’s.
I assume you’ve tried a full uninstall and reinstall as well.
To do a full uninstall:
1. Drag ‘ApplePi-Baker” from “Applications” to the Trash, and empty the Trash after that.
2. Delete the Preferences directory /Users/<yourusername>/Library/Preferences/ApplePi-Baker.
3. And finally delete the Helper Tool in Finder (or Terminal): /Library/PrivilegedHelperTools/com.tweaking4all.ApplePiBakerHelper
I have seen one message from a User who had issues, who used App Cleaner to remove ApplePi-Baker and after a fresh re-install things worked.
Obviously, not the best fix, since I still don’t know what the issue may be.
Additionally, you could look in Console (Applications->Utilities->Console), set the filter to “applepibaker” (without the quotes), and see what is listed. Please do not post the log of Console. If the log has anything useful in it, then please email it to me. There may be personal info in the log, and the log may or may not be huge.
Email me at webmaster at tweaking4all dot com, or simply reply to the notification email.
hans
Thank you very much. This helped, but only on the first start. I chose the restoration of the image, and again hung. After rebooting, it again hangs immediately when you click on the icon.
Aleksei
https://drive.google.com/file/d/1AuiW_OA3hiwR42zXI03Cd2geJlAmVar6/view?usp=sharing
Aleksei
Thanks again,
From what I can see in your log screenshot;
for some odd reason, APB is taking a lot of CPU resources for more than 90 seconds – which is definitely not normal!
I assume this is what you see when you start APB, and then click “Advanced View” (guessing from what I see in your YouTube video).
Can you tell me more about your setup?
For example; what kind of Mac, CPU, memory, what kind of disks are connected when you click “Advanced View”, did you try without any disks connected, or with just one disk? What kind of disk did you try?
When “Advanced View” is clicked, two things happen (which is one of the parts that is way more complex than with the old versions):
1) Update the drive list if needed
2) Create a Treeview out of that list
I’m almost thinking that one of your disks is frequently connecting/disconnecting? Could this be?
With each connect/disconnect, the drivelist is refreshed in the background.
This kind of behavior is what I have seen with bad disks or bad card readers.
hans
Hi,
I have a hackintosh.
https://drive.google.com/file/d/1Kx3a2hoSy_8w1lFACfhz5tHdGEdPR5bl/view?usp=sharing
I have only 2 drives …. 1 is completely disabled.
https://drive.google.com/file/d/1d9T2gfHJmcF78edI8a4Po92M8K0XGraV/view?usp=sharing
A freeze occurs, regardless of whether the SD disk is connected or not.
Aleksei
Hi Aleksei,
first of all; running a Hackintosh – cool!
Having said that; could it be that the Kext/ect you may have installed for your Hackintosh to recognize USB devices (I assume your drive is a USB disk or SD card reader) needs an update? Seems that during the “read” of the drives is taking way too much on resources (hence the warning in Console).
You could try if an application like IORegistryExplorer freezes as well.
Type in the “Search” box “Storage” (without the quotes) when you have your SD card inserted.
hans
Unfortunately, the IORegistryExplorer does not freeze. I repeat, freezes occur even when there are no connected SD cards or other disks at all.
aleksei
OK, well, I’ll have to figure out where it gets stuck in enumerating devices.
Something is “missing” (either in the IORegistry or in the APB code), where it keeps looping (this is what I suspect).
I’ll try to look into this in the upcoming week.
hans
Thank you very much. I will wait for a decision. If you need remote access, I can try to provide it.
aleksei
Hi Aleksei,
Apologies for the late response, life has a tendency to run away from me hahah.
I didn’t forget about your issue and hope to get back to you real soon!
hans
Hi, just got a touch screen raspberry pi (a “rasptouch”).
Trying to build an OS for it to boot.
Used your tool to do a “restore” of the max2play image build for the touch system from this site: https://www.max2play.com/en/max2play-image/#close
pibaker-v2 seemed to work fine. No errors, sd card has what looks like an OS in it.
But putting the SD card into the rasptouch and powering it on, nothing happens. as if it’s not seeing anything bootable, etc.
Did I miss a step / forget to do something?
Thanks!
Peter Galvin
Hi Peter,
From what I could see on the Max2Play website; the file should indeed be an IMG file that you should be able to restore to a SD card.
You could try unzipping it before flashing the SD card – but with APB2 the libraries used for decompression are far superior to the tools I’ve used in previous APB version.
Another thing you could try is another SD card, or another operating system (for example Raspbian).
If the other OS works, then maybe Max2Play IMG may have issues, and those issues could even be specific for your setup.
I don’t know if your touch screen is connected to the HDMI port or not (you could try booting with a regular monitor).
hans
It worked fine for ropieee so likely it was a bad image I started from.
Thanks much for this tool -very useful!
Peter Galvin
Awesome! Glad it worked! Thanks for posting
hans
Hello.
I have a problem with the latest Pi Baker and the latest OSX. When I try to open the app there only comes a popup message “Apple Pi-Baker Access violation”. Any ideas how to fix that problem?
Thanks!
nicolas-eric
nicolas-eric
Hi Nicolas-Eric,
First question of course; what is the exact version of MacOS you’re using? Mojave (latest) or Catalina (latest beta)?
As for fixing this; we may have to take a look at the Console and see what error may be shown there.
hans
Btw I just used it to write Ropieee to a microsd card on Macos 10.14.6 and it worked fine.
Peter Galvin
Cool! Glad to hear that! Thanks Peter!
hans
Hi. Peter. First, you created a great tool! Thanks!
In the last Catalina beta the Baker will only work when I start the app with sudo privileges. Otherwise the write process will not start. This issues has also Etcher in the last Catalina beta.
manolo
manolo
Hi Manolo,
I’m not sure who Peter is … but you’re welcome and thanks for reporting the Catalina issue
With Catalina, Applications must be notarized. I will give that an attempt today and see if I can upload a signed/64bit/notarized version.
I’ll do some testing with Catalina to make sure it works. I actually created an extra application to do all these extra steps – but I’m still testing it.
hans
Apple has yet again done a very good attempt to take motivation away with developers …
Catalina appears to apply sandbox rules without anyone even asking for this.
Sandbox rules are in principle a good thing and required when distributing an application through the Apple Store.
Due to the nature of APB, sandboxing is not used, and I have not been able to find any proper documentation on how to add disk/file write privileges. This was the whole point of creating a helper tool …
Running as sudo does the trick for now, but it is of course not a permanent fix.
Output from Console:
I’ll keep searching for a possible answer, but to be honest I’m quite disappointed about yet another hurdle Apple created.
Quite a few applications seem to be hit by this issue (Etcher, WinClone, Paragon, etc etc).
hans
I did find a proper fix:
You’ll need to add ApplePi-Baker to the security exceptions for full disk access:
Open “System Preferences” -> “Security & Privacy” -> “Privacy“.
From the list on the left select “Full Disk Access“.
Click the padlock, and unlock your settings.
Now click “+” to add ApplePi-Baker to the exception list.
You will have to restart ApplePi-Baker but now writing works under Cataline without the need for running it as sudo.
You may need to reboot your Mac (to refresh the Helper tool privileges).
hans
I’ve added a description under the “Installing” section.
hans
Does not help. Also freezes.
aleksei
Yeah, I’m afraid it won’t help for the issue you’re running into.
This “fix” is for those running Catalina Beta.
In your case the device enumeration (my best guess, since I cannot replicate the issue) is what is going haywire (burning CPU cycles). I’m still looking into this.
hans
[…] Auf Micro SD Karte bringen. Z.B: Mit Apple PI Bakery. https://www.tweaking4all.com/hardware/raspberry-pi/applepi-baker-v2/ […]
[…] If you have privacy concerns regarding Etcher (now known as balenaEtcher) […] A program called ApplePi-Baker v2 is a great alternative. […]
Awesome work and many thanks for putting the effort and time in making such a wonderful app which I totally prefer using over other apps ;)
Paris
Thanks Paris for the compliments!
It’s much appreciated!
hans
I just downloaded the 2.1.7 version of ApplePiBaker and get the immediate Access Violation dialog other have mentioned. I see no resolution in the comments above so I’m asking for help.
I have a 2019 iMac running Mojave. I’ve been using the 1.9 version of ApplePi-Baker for some time quite successfully. It’s a very nice app. I wanted to install Catalina but cannot because I need APB more than I need Catalina. I believe if I could get past the access violation it would work well.
I’ve made sure ApplePiBaker has full disk access. If it matters, I still have v1.9.5 installed.
Gene
Hi Gene,
I’m surprised to hear APB 2.x crashes with an access violation, and am unable to reproduce this.
Any changes you could mail me some of the console output (set filter to “applepi” without the quotes, and remove any private info if there is any) – you can reply to this notification email or use webmaster at tweaking4all dot com.
For what it’s worth Catalina has it’s problems with programs like APB (Etcher is fighting the same issue).
hans
2.1.7 version, Catalina on MacBook Pro – installed helper successfully, gave permissions as above, restarted several times… and no way to write image. Even creation of img was after several times of hanging and forced to close app. But image once created (only 5 times tried and hurray!) burned without any issue with latest Etcher. Wish to be able make img with Etcher. Looks no way to use Catalina. Sorry.
Mirek
Hi Mirek,
Etcher is facing the same issue (see this open Etcher issue at Github) … and the only work around, for those where this doesn’t work, is to use the sudo approach.
Obviously this is not the way any of us would like to work with an application on a permanent basis.
I’m suspecting this is a Catalina bug, since I have yet to see anything (for other tools as well) that resolves this.
Still actively looking into this issue though.
hans
I updated my MacOS to Catalina and had to switch over to ApplePi-Baker 2.1.7. Backing up a SD card (~50% full 64GB) took about 3x longer than it did with the 1.x versions. Used 7zip compression like I always have. Is there something disabled by default in this version which was implicitly enabled by the older versions?
Justin
Hi Justin,
considering how many people have issues with Cataline; I’m surprised you did get it to work (unless you used the above mentioned sudo trick).
On Mojave version 2.1.7 should be faster than any 1.x version. Using the sudo trick on my own Mac results in faster speeds as well.
As for the compression methods: the entire mechanism I used in v1.x is no longer being used as the used tools (7za) proved problematic with certain formats, and the macOS build-in zip was not reliable either.
I’d recommend selecting IMG (fastest), TGZip or Zip.
I just did a quick test (in this order) by making a backup of a 8Gb USB 3 stick (minutes:second):
ZIP => 5:45
TGZ => 5:30
IMG => 1:20
7ZIP => 43:21
As you can see: 7Zip is very slow (I’m depending on a compression library, so I have no influence in making the library faster).
As for compression result: TGZ, ZIP en 7Zip are very close in file size.
hans
Backup just worked for me on Catalina using the provided helper service. I was able to restore the 7zip image I created using 2.1.7 to a new SD card and that seems to have worked well.
I tried to restore a 7Zip image I created with 1.x using 2.1.7 and had no luck with that. It fails right away with the message, “Nothing to do – No Archive Entry selected from Archive.” I also attempted it on another 7Zip backup image, and I got the same result, so I’m confident the archive isn’t corrupted.
I see you just posted a new 64bit v1.9. I’m going to see if that works any better for me.
Justin
Thanks for the feedback Justin, it’s much appreciated!
Catalina is a little weird when it comes to disk access – I’m beginning to think this is a bug in the OS, but I haven’t found an Apple developer yet that can show me a work-around.
As for your previously made backup; you could try unzipping the backup, and double click the IMG file. Your Mac will try to mount it (as if it was a DMG). Of course only the supported filesystems will work (so on a standard Mac, ext-filesystems will not mount unless you have a tool like Paragon ExtFS).
You can then see if the backup was done correctly.
v1.9.9 was a surprise to me when I tested it on my Mac, but I did only a handful of tests.
hans
UPDATE:
If any is interested in using the old version (v1.9.9) – I just modified an old version for 64bit, signed etc.
On my Mac it worked under Catalina, but I did get the request for permission so ApplePi-Baker can access external drives (confirm and it works it seems).
Download link is right under the download linking for version 2.x (above).
hans
I’m also getting the Access Violation error (running latest Mojave) and the program fails to load immediately after that with an error:
Mike
Hi Mike,
excellent reporting – this is very helpful!
Even though I cannot reproduce the issue (running Mojave myself on my dev Mac).
This most likely is related to the dark theme support, where APB tries to redraw the GUI too quick.
Which version of APB are you using? (click the (i) button, right click the version info and click “Copy Version Information”)
If you’re using Dark Theme; can you try starting APB with the normal theme enabled?
Like I said: I’m unable to reproduce the problem, so I may need so help figuring this one out
hans
Hey,
I tried it just before installing Catalina and now it’s no longer happening and the app works as expected. Unfortunately that means I won’t be able to provide much more info.
However, I can tell you that I did not have Dark mode enabled – it was latest Mojave with latest APB v2 with Light mode theme enabled.
Thanks for the tool btw, I have been using it for making my RPi backups for couple years now.
Mike
Thanks Mike for the feedback – let me know if this happens again.
Glad to hear you’re using one of my tools, awesome!
hans
Hi there. First of all thanks for your great work on ApplePi-Baker v2.
I do my Raspberry Backups for months now without any issue.
The IMG File from the backup is around 31 GB.
Now I did a clean install of macOS Catalina 10.15 and of course also installed ApplePi-Baker v2 (2.1.7).
Unfortunately now when I start a Backup it only takes 9 seconds and is finishing the IMG with only 78 MB. Its the same SD I used before and just a regular monthly backup.
There seem to be no error in the log.
Am I doing something wrong now because I can’t remember I had to setup any special in advance, or is this some issue with Catalina?
Also I get a notification at the end of 9 sec Backup which I didn’t had before mention the eject of the SD.
https://i.imgur.com/oQvkGkA.png
Full Disc Access is given to ApplePi-Baker.
I hope you can help. Thanks in advance.
DJay
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *31.0 GB disk3
1: Windows_FAT_16 RECOVERY 66.1 MB disk3s1
2: Linux 33.6 MB disk3s5
3: Windows_FAT_32 boot 72.4 MB disk3s6
4: Linux 30.9 GB disk3s7
DJay
Hi DJay!
Sorry to see you’re running into issues. Considering you’re getting only 78Mb of a 32Gb backup.
Looks like you did everything right; no shrink/expand option, and no compression – which is good when trying to eliminate issues.
Now, coming back to Catalina: yeah, she is a beast when it comes to this. Others (like Etcher) run into the same issues.
I’d recommend giving ApplePi-Baker v1.9.9 (download above) a try and see if that works more reliable for the time being.
hans
Hi Hans. Thanks for your fast reply and friendly comment.
So I don’t have to worry that the IMG Backup is now 78 MB instead of 31 GB. I did the Backup with ApplePi-Baker on Mojave and it was always the size of the SD. I checked my stored Backups while we are writing.
Feels strange with the same SD and system on it, that the Backup is now only 78 MB.
I also followed your advise and tried ApplePi-Baker v1.9.9. It works but also now gives only the 78 MB. Sorry I’m so confused. :)
DJay
You’re absolutely right! 78 Mb doesn’t sound right to me either.
Considering how “dd” works, and how the new APB v2 code works; without resizing and without compression you should get a 32Gb backup for sure.
Both copy byte by byte, everything from the SD, even if space is not assigned or used.
So I would NOT rely on this being a good backup.
Since both versions produce the same result; I suspecting Catalina is interfering here in some way – a reason why my main Mac still runs Mojave.
On my test-Mac I’m running Catalina, and am seeing too many problems with a lot of applications.
In part because 32bit support was dropped, but also in part because Apple screwed around with Security and Privacy .
I’m actually surprised to hear that v2 seemed to work … I’ve had a few users here where it simply won’t open the external drive.
Is your SD in an internal card-reader maybe? (won’t fix the issue if you would have done it differently)
Interesting test is to do a test from the command line using “dd”;
Note: rdisk3 is the device you’ve selected before (disk3) with an “r” in front of it (r=raw).
Catalina may ask for permission to access the disk (which seem “normal” when accessing an external disk).
I’m curious how big the result will be (since APB 1.9.9 uses this as well).
hans
I put the microSD in a USB adapter and into the iMac USB port.
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *31.0 GB disk4
1: Windows_FAT_16 RECOVERY 66.1 MB disk4s1
2: Linux 33.6 MB disk4s5
3: Windows_FAT_32 boot 72.4 MB disk4s6
4: Linux 30.9 GB disk4s7
I tried
But got
Without the bs=4M
dd: /dev/rdisk4: Input/output error
155851+0 records in
155851+0 records out
79795712 bytes transferred in 113.388242 secs (703739 bytes/sec)
And a backup.dmg with again 79.8 MB in the folder.
So I think you are right. Catalina is really a beast at the moment. :/
Hopefully there will be a solution soon. Feeling worried without having a backup up-to.date.
Thanks a lot trying to help and the friendly contact.
DJay
Excellent testing DJay!
You’re most welcome!
Just for shits and giggles: have you tried to restore the backup on another SD card to see what happens?
I HIGHLY doubt it will work.
Good to know though that even “dd” doesn’t seem to work properly under Catalina. Sad though.
With Catalina it seems a mixed bag. I’ve seen APB 2.x and 1.9.9 work properly under Catalina.
I’ve also seen APB 2.x fail. And now I know “dd” and APB 1.9.9 can fail under Catalina as well.
I have reported the issue with Apple, but obviously with zero response
As a regular user you can report issue/feedback here as well.
hans
To give you an idea what the issue may be related to:
The “Security & Privacy” setting doesn’t seem to correctly handle the “Full Disk Access” option.
Even privileged helper tools cannot access external volumes (incorrect or incomplete developer documentation!).
When trying this from Terminal, permission will be asked to access “External Volumes” – an option not found in the security settings and “Full Disk Access” doesn’t seem to cover this. However commands line “dd” have become very unreliable for external drives (does not copy an entire disk).
Apple Developers forum doesn’t have an answer either, and others there run into the same issue.
hans
Thanks for this. Interesting background. And of course sad something like this happens in the latest and greatest macOS.
I will try to backup another SD next week when I’m at home again. But as you mentioned, this would probably also end with the same result.
I’ll have an eye on this Thread here. Maybe something changes with the next 10.15.x update.
Thanks again. Appreciate the friendly contact.
DJay
Thank you as well Djay!
If you run into something interesting; please let me know, I’ve been searching for weeks now to find a solution.
Oh and did you try:
(it’s hard to keep up with all the conversations here haha)
hans
Same issue.
Another Idea that could be something wrong with the SD? How can I check this?
I mean I have no problem with the SD and the system with Homebridge running is working great.
But could there be a problem with the SD card? And most important how to get around and get at least a recent backup then at all?!
DJay
You could try a random USB stick – I usually test with those, since they are typically much faster (USB 3).
In the end; reading from an SD is exactly the same as reading from USB, even an internal SD reader is connected through USB and behaves like a USB stick.
Let me know what your findings are!
Thanks again for the video – it quits WAY to quick (wish I could make APB that fast ).
hans
Like to show you the whole procedure. Maybe you see something.
YouTube
DJay
Yeah that’s not looking good
hans
The incorrect Eject of the device – that is definitely not normal.
And you do not have auto-eject enabled (from what I can see in the video).
So there should not be an eject at all …
hans
Hi there. I want to give a recent feedback.
I found an old Backup of the SD restored it to a new (other) SD. That worked well.
Then I updated everything on my Pi and Homebridge setup, because it was outdated.
After this, I removed the (new) SD from Pi and startet a regular Backup with ApplePi-Baker v2, like I would do pre Catalina era.
And everything is working like expected. After about 30 Min. I have my 31 GB Backup.
Strange thing, because I had no problems with the old SD before or during using it.
Anyway, it seems to be a personal problem and not APBv2 in general.
DJay
Sounds like you found the culprit – glad to hear that.
Wouldn’t call it a “personal problem” though haha, that made me laugh, I think SD cards are unreliable by nature, so we all share the same potential problem hahah.
hans
Just a quick YFI – the permalink to download the latest version is broken.
Tim Kidd
Thanks Tim for the heads up! Nice catch!
I had to replace the download manager (WPFilebase) with my home made download manager plugin and I goofed up with this link.
Thanks to your tip I did find 2 other problematic links and fixed those as well.
Thanks again – the link is fixed!
hans
Love the tool.
Tim Kidd
Thanks Tim! Very much appreciate hearing that – well worth the work I’ve put into it!
hans
[…] Descargar […]
Loved to use Pi-Baker earlier and was really excited to try out the new version 2, but the problem is that it freezes after about 15-20% doing any backup of my sd-cards. The process is using 100% and stops responding, first I let it be for about 40 minutes but it was still not responding, after a few tries I reinstalled the updated version 1 for Catalina and everything works perfectly, not sure why the freezes occurred only with version 2.
FuzzyRoll
Hi FuzzyRoll!
Thanks for reporting the issue – and I’m sorry to hear you’re running into it. Glad to hear 1.9.9 keeps you operation though.
If you’re running Catalina, it will be a mixed bag of what does and what does not work.
The “competition” is having the same issue to deal with and so far I have not seen a fix for it.
I’ll test Catalina beta 10.15.1 hopefully today or tomorrow and see if Apple has payed attention to our complaints
hans
Hi Hans!
Sounds great, version 2 is so sleek and looks amazing, so it is a real bummer that these problems occur, ill keep my fingers crossed that apple has payed some attention to this so this awesome app can work as intended! :D
And a big thanks for making and developing the app!
FuzzyRoll
And by the way „thanks“, @Hans is there another way to support than bitcoin? Classic PayPal or „Buy me a coffee“?
DJay
Hi DJay!
Thank you for willing to donate!
Yes you can donate through PayPal as well (hans at luijten dot net) – unfortunately, PayPal doesn’t seem to like it when place a donate button on my website.
I’m looking into alternatives, but the services I have tried out so far, proved rip-offs (still waiting to get the money folks donated).
Another alternative is doing your shopping at Amazon (US, DE) through my link – I’ll receive a small commission – so if you have a lot of holiday shoppings to do: please use the link .
And finally; when you’re in the neighborhood: getting me a coffee of a beer would be awesome
hans
Thanks FuzzyRoll!
Yeah, it has been quite a big project. The fundamental changes were quite dramatic, and took a lot of work, and strictly byt the book (from Apple).
Imagine how “happy” I was with the changes in Catalina.
Oh well, I’ll keep looking for a fix
hans
@Hans For now, it’s PayPal then. ;) Maybe also an option could be https://www.buymeacoffee.com/
Best wishes to you and thanks again.
DJay
Thanks again DJay!
That will be spend on a great cup of Joe – it’s very much appreciated!
hans
apple pi baker
MAC OS 10.15
PI BAKER v2.1.7
Select disk USB or SD => OK
Select image 2019-07-10-raspbian-buster-full-img => OK
After it stays o 0% with a 3 colors circles turning forever
Trying to unmount /dev/disk2
beir
Old app 1.9.9 works fine same configuration.
Anyone can help ?
Pierre
Hi Beir/Pierre,
At the moment there is some unpredictable behavior under Catalina with ApplePi-Baker and similar tools (like Etcher and such).
Some users have no issues at all and others run into issues left and right.
The most issues we see with v2, which follows Apple’s security protocol and API, to do things the right way (making it that I believe that Apple goofed up in Catalina).
The version v1.9.9 that I made available on the other hand, uses Terminal commands to make backups and do restores. That version “should” cause more problems in Catalina, but somehow the Terminal commands are handled correctly.
I’m trying to find a solution, but like other similar products, a solution has not yet been found.
I hope to test Catalina beta 10.1.5.1 – see if Apple changed something or not.
(transition to Mojave was painful as well, in the first release darkt theme support was buggy, but with Catalina it seems that security/privacy is buggy – but I could be wrong)
hans
Hi Hans,
I tried sudo /Applications/ApplePiBaker.app/Contents/MacOS/ApplePiBaker => same trouble
TAnchorSide.CheckSidePosition invalid anchor control, lblRestorefileToDisk:TLabel akLeft
TAnchorSide.CheckSidePosition invalid anchor control, lblRestorefileToDisk:TLabel akRight
TAnchorSide.CheckSidePosition invalid anchor control, lblRestoreIcon:TLabel akRight
TAnchorSide.CheckSidePosition invalid anchor control, lblRestorefileToDisk:TLabel akLeft
TAnchorSide.CheckSidePosition invalid anchor control, lblRestorefileToDisk:TLabel akRight
TAnchorSide.CheckSidePosition invalid anchor control, lblRestoreIcon:TLabel akRight
Same with dark mode off => same result.
With balenaetcher sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher
Cela fonctionne.
I hope you will find because your app is better than all others.
pierre
Thanks Pierre!
Adn … thanks for the compliment!
The anchor messages can be ignored – these are just messages related to the GUI cosmetics and have no effect on the functionality.
For the next release I’ve already fixed those so they will no longer appear.
It is interesting to see how random applications seem to respond under Catalina.
For some users there are zero issues, others can use the (temporary) sudo approach, and other (like yourself) are completely stuck.
I’ll report back when I have a fix, but I suspect it is a problem in Catalina itself.
Something you could try (since I cannot reproduce your specific issue); unmount (not eject!) the SD card in “Disk Utility” before using ApplePi-Baker (may still need the sudo trick). But no guarantees there. Like I said: your particular issue I cannot reproduce. Can you see the disk unmount?
hans
Hi Hans,
unmount and cmd line same result same error messages
unmount with gui same result same error messages
1.9.9 still ok
pierre
Bummer!! Thanks for testing Pierre!
hans
CATALINA UPDATE:
Preliminary testing with Catalina 10.15.1 beta shows that Apple seems to have addressed the bug with access to external volumes and Full Disk Access permissions.
I’ve ran several tests with the latest ApplePi-Baker on a MacBook, doing several backups and restores, with and without compression and/or resizing of partitions. All tests worked as they are supposed to (like in Mojave).
This is good news, if Apple doesn’t screw this up in the 10.15.1 public release
If anyone is running the 10.15.1 beta; your findings would be appreciated!
hans
One unexpected observation:
When your Mac blanks the screen (power saving), the read/write process is being paused when “Put hard disk to sleep when possible” is checked in your “Energy saving preferences”. I reported this as a bug, since pausing should NOT be possible at this time (I’m sure some folks will disagree).
hans
Catalina 10.15.1 has been officially released a few days ago.
Tests I have done show that the latest ApplePi-Baker is running as it should.
Please update you macOS to 10.15.1 and let me know what your findings are
hans
UPDATE: ApplePi-Baker v2.2.1
Minor update; Full Disk Access check has now been added to “Create NOOBS” and “Copy Partition Info from Selected Disk“.
hans
I really want to use version 2, but I still have problems even with 2.2.1. For me it stops responding immediately after unmount of the disk and partition is done.
I have tried with different sd cards and different disk images also. But no luck :/
FuzzyRoll
Hi FuzzyRoll!
(if you’re running Paragon ExtFS or BlueHarvest – then don’t worry, I run those as well without any issues).
If none of these steps help, please let me know.
hans
Hi Hans!
1. Yes I have the latest update installed :)
2. No worries, I have worked in it support for more than 5 years earlier, and yes I tried to restart :)
3. Have done an SMC but sadly no difference for me.
4. I checked but I can’t see any program that would access the sd card over ApplePi-Baker.
In the log when I try to restore the img I get this:
Not sure if that helps or if the diag will get you better information. :)
//FuzzyRoll
FuzzyRoll
Hi FuzzyRoll!
maybe it is easier if we continue this conversation by email (allowing screenshots etc – if needed) – webmaster at tweaking4all dot com, or reply to this notification.
Does /dev/disk2 have only one [mounted] partition when you start APB?
hans
The new version 2.2.1 (build 177) with helper tool 1.8 does not work on my MacOS 10.15.1 (build 19B88)
The log window shows that the correct tool is found. Then I choose my scard, choose the image file to restore and then the application is blocked at “Unmounting – Waiting for unmount to complete” although the volumes are actually unmounted (waiting forever with beach ball cursor).
By the way, the application could freeze (with beach ball cursor) as well when I ask use “About ApplePi-Baker” menu in the Apple menu.
OMogenot
Hi OMogenot,
sorry to hear you’re running into trouble.
Something I absolutely hate to say, but did you try rebooting your Mac and/or resetting the SMC on your Mac?
I’ll take a look in the code if there is any reason why it would freeze while waiting for an unmount, but as far as I recall, it waits an x number of seconds for the unmount to complete. If not completed in that timeframe will say something like “failed to unmount”. Since I use the official Apple API, certain applications can block the unmount call though …
hans
Same issue is happening with me and I waited 30mins. Rebooting did not fix the issue.
I have a MacBook Pro 2016, a USB C dongle with micro usb and a 64gb Samsung EVO Plus micro sd card.
Previously have written to the card with no problem using Pi Baker when running MacOS 10.14 but it seems to no longer work in 10.15.1
Looking at the logs it says:
Trying to unmount /dev/disk2
UnMount – Waiting for unmount complete
UnMount – Waiting for unmount to complete –
Partition Unmounted – /dev/disk2s1
Then it just hangs and beachballs…. I have to force quit the app.
MarkD
Also tried resetting SMC and that didn’t work either
MarkD
I’m really sorry you’re running into this issue – unfortunately, I cannot reproduce the problem, so fixing it is a challenge.
One thing that comes to mind (since you’re running the latest Catalina and APB) is removing the helper tool and re-installing APB.
Maybe a sketchy left-over is causing this issue.
In Terminal:
This will unload the cached helpertool, and remove the helpertool itself from your disk.
Now restart APB and the helpertool will be installed “fresh”, which will also set the proper access rights (as far as I can see, since Catalina is a little sketchy when it comes to that).
hans
Unfortunately that didn’t work… Is there anyway to increase the verbosity of the log? or alternatively being a developer myself look at the source?
MarkD
Also worth noting that Etcher works
MarkD
Hi Mark,
There is no way to increase the verbosity of the log. I could make a build that has extensive logging in Console.
Opening the code is something I’m not thrilled about – I’m a little code shy.
If you reply to this notification, maybe we can continue by email?
hans
Hello, thank you for providing this free software. I managed to Backup a disk and it created a Zip file on my desktop.
I have the Helper Tool installed too. I try to restore and after chosing my zip file it states Attempting to Unmount. Then it goes into a Beachball and freezes.
I am using APB Ver 2.2.1 (Build 177) and Helper Tool Ver 1.8 (this is greyed out). On your about feature.
I have allowed Full Disk Access in Security and Privacy Settings.
I am using MacOS Catalina Ver 10.15.1 Build19B88 x86-64
I am not computer savvy.
Look forward to hearing from you. Thank you.
Emanuel Polichronis
Hi Emanuel!
Sorry to hear you’re running into issue.
I assume you already followed the steps I mentioned in a few comments above this one?
Remove helper tool (in Terminal):
Reboot Mac, and reinstall APB.
This may or may not fix the issue. If not: the zip file you’re using – is this an existing backup or did you download it somewhere (so I can test it)?
I cannot reproduce the problem on my 3 Mac’s, so I’m eager to find an example file
hans
Hi Hans,
I did read forums above mine and tried the remover help tool in Terminal and then restarted APB. I didn’t reboot Mac and reinstall APB, I just restarted APB after Terminal step as mentioned in the previous thread. After restarting APB I was prompted for a password for the Helper file installation, so I gather that worked.
I am trying to back up an existing SD card and wrote the file successfully as a zip. Want me to email or Dropbox it to you?
Emanuel Polichronis
Hi Emanuel,
Oh sure, DropBox or We-Transfer would work!
I’ll give it a try and hope to run into the same issue
hans
Thank you Hans, I just Dropboxed it to you to the this address webmaster at tweaking4all dot com
Emanuel Polichronis
Thanks Emanuel – I’ve send you an email!
hans
I would really like to see an “upgrade” feature added to APB in the future if at all possible. Thanks for a very useful application!
Jon
Jon Irish
Hi Jon,
I’ve added this to my to-do list, assuming you meant notification in APB that there is a new version available.
Unfortunately, with everything on my plate right now, it may take a bit before I can implement this.
My website, the free apps I offer, and Apple’s recent changes, etc – it all is slowly turning into a fulltime job.
And as you can imagine, it is not even remotely close to paying the bills
But yes: I will do my best to get this implemented in the near future.
hans
Thanks for the feedback Hans. I really appreciate all the time and effort that you put into this!
Jon
Jon
You’re welcome Jon!
hans
UPDATE:
I’ve released v2.2.3 today.
I hopefully addresses the issue some users seem to run into when APB crashes at startup (thanks Greg for the initial testing).
Unfortunately, I’m not able to reproduce this issue on any of my Mac’s, so any feedback is appreciated.
Known “issues”:
Apple’s “Disk Utility” and “diskutil” show the same issue. I have reported the bug with Apple. Hopefully future macOS version will no longer have this bug. This means that you may see mounted disk images in the advanced view, even though they no longer are mounted.
The main reason for this is that when you’d like to flash the same IMG again, one wouldn’t need to go through the resizing process again and could use the resized.img instead. At this point I’m curious how often this would be the case, and if I should have APB remove the resized IMG automatically or not. Feedback is appreciated.
hans
Hello, I’d like to report an issue and ask for a solution. I installed Ver 2.2.3(Build1) on macOS 10.15.1, and was trying to back up my 64GB RPi sd card. At almost the end of process (+90% done), I received an error message that the back up can not be completed and I found out that I almost ran out of disk space on my mac. Now the problem is that apparently the backed up data (+60GB) has been kept somewhere on my hard drive, and it hasn’t been released after the error occurred. I closed and reopened the ApplePi-Baker several times and tried to restart my mac but wasn’t helpful. I tried to search for any large file that has been generated on my mac but couldn’t find anything related. Would you please help me figuring out how I can free up the stolen space on my mac?
Cheers,
Soheil
Soheil
Hi Soheil,
thank you for reporting the issue and apologies for the inconvenience.
Seems I need to look at the “clean up” after an error.
Common locations for the temporary file:
and a file “xyz_Resized.img” in the same directory as the original file.
hans
Hi Hans,
Thank you for your reply. I checked my “tmp” folder and couldn’t find any large file related to ApplePi. I also searched the web for Temp directory on Mac and found another location that I accessed using “open $TMPDIR” in terminal, but that was also unsuccessful. Is there a chance that the file is stored in another directory?
Soheil
Hi Soheil,
The only place where APB saves files, that I’m aware of, are potentially:
~/tmp/applepibaker_temporary.img
and where the original IMG is located, for example /path/to/my.img -> /path/to/my_Resized.img
or with a backup /path/to/my.img -> /path/to/my.tmp
What you could try is using the Finder search function:
– Open Finder
– Press COMMAND+F
– Set the criteria to “This Mac“, “File Size“, “is greater than“, “1“, and “GB“.
This should list pretty quick all files greater than 1 Gb. Of course, I just picked 1 Gb guessing we’re looking at a large file.
On my Mac this resulted in 26 files – and I have a lot of large files on my system.
hans
Thanks again Hans for all your help. This way of searching for large files was actually the first thing that came to my mind and I tried it before and strangely enough, I couldn’t find any file larger than a Gigabyte related to ApplePiBaker (I just had around 10 large files on my mac). And then I thought that the software may back-up using several smaller files, which was the time I came here and asked for your help.
So for now, I can’t think of any other way for claiming back that ~60GB on my drive other than doing a fresh install of macOS on my MacBook (which by the way I’ve been thinking of doing it for a while!).
Soheil
UPDATE:
I just found the file blamed for all my issues, when I started to make backups for a fresh OS!! And for some reason, it doesn’t appear in the large-file search (my Pi backup name was “Pi4BackUp-Dec2019”):
Both in Documents folder (/Users/MyName/Documents/):
Pi4BackUp-Dec2019.tmp (56GB)
Pi4BackUp-Dec2019.LinuxPartition (3MB)
hope this would help with your debugging/updates :)
Soheil
Oh wow! That’s weird that at least the 56Gb file didn’t popup in the search …
Well, then again, the Finder Search functionality has been kind-a poorly for me (it doesn’t search network shares properly), so I haven’t used it in quite some time.
I will add a check in the clean up procedure to see if there is a LinuxPartition file (this is created after a backup, and is just the Linux Partition, so it can be resized).
Thanks for posting and good to hear you’ve got your 60Gb back!
hans
p.s. if you find a file that may come from APB, or that you’re unsure of where it came from, please let me know so I can see if it needs to be added to the clean up function in APB.
hans
Hello Hans, thank you for your software, much appreciated.
May i ask a question – is it possible to backup only the contents of one single partition , and later restore this to a larger partition on another SD card? It seems i can only select a full disk, but not specific partitions.
Eduardo
Hi Eduardo,
Thanks for the thank-you note
APB will only make backups or restore entire disks – the application was originally designed with Raspberry Pi, for which it is common to use the entire disk.
Right now, optionally and if the MBR partition scheme is being used, the first Linux partition can automatically be resized to smallest (backup) and largest (restore).
This should save you some storage when making a backup, and helps optimally use your disk on restore.
The issue I run into, when just copying a single partition, would also come with some challenges when it comes to partition schemes and partition tables.
So for now, I do not plan to implement something like that as it will cause tons of issues. Sorry.
hans
Bonjour, je vous contact car je viens de tenter de faire une sauvegarde en activant l’option de redimensionnement de la partition EXT4 est dans mes 2 tentatives la sauvegarde fait la même taille 240GB ! du coup il m’est impossible de faire une restauration sur un plus petit disque 120GB j’ai un message m’avertissant qu’une partie sera perdu ou corrompu. Alors qu’il peut largement etre diminuer car j’ai que 9GB de données sur la partition EXT4
creaimmo
Hi Creaimmo,
my French is horrible so I had to use Google Translate to translate your message.
Friendly request to write in English here if possible so other users can chime in as well.
Hello, I am contacting you because I have just tried to make a backup by activating the resize option of the EXT4 partition. In my 2 attempts, the backup is the same size 240GB! suddenly it is impossible for me to restore on a smaller 120GB disk I have a message warning me that a part will be lost or corrupted. While it can be greatly reduced because I only have 9GB of data on the EXT4 partition
First thing I’d check is to see if the largest Linux/Ext partition is indeed the first Linux partition. Also make sure the disk uses the MBR partition scheme (in Advanced View you can right click the drive and select “Copy Partition Table Info …” (there are 2 options; from a drive or from an IMG file).
It should produce something like this (you can also see the text in the log window):
If this is the case, resize will work.
When it comes to warnings during restore: APB doesn’t know yet what the minimum size will be on restore (I’ll improve that in a next version), so doing a restore may work just fine even though you did get a warning.
hans
Here are the partitions of my disk before creating the image.
/ dev / disk2: ASMT 2115 Media (240 GB)Read / WriteExternal Drive (USB)ASMT 2115 (rev. 0)Sheet music:▹ / dev / disk2s1 “RECOVERY” 66 MB Windows FAT16▹ / dev / disk2s5 “SETTINGS” 34 MB Linux (Ext2 / Ext3 / Ext4)▹ / dev / disk2s6 “root” 240 GB Linux (Ext2 / Ext3 / Ext4)
Here is the result obtained from the img
Size: 2,684,354,560 Bytes (5,242,880 Sectors)
Partitioning Layout: Master Boot Record (MBR)
Partition 1: FAT16 Score – Start Sector = 8,192 – Size = 129,024 Sectors (66,060,288 bytes)
Partition 2: DOS 3.3+ Extended Partition – Start Sector = 137,216 – Size = 468,740,096 Sectors (239,994,929,152 bytes)
Partition 3: Empty Partition
Score 4: Empty Score
Hex dump partition table: > 00820300 0E8A0208 00200000 00F80100 > 008A0308 05FEFFFF 00180200 0068F01B > 00000000 00000000 00000000 00000000 > 00000000 00000000 00000000 00000000
The root partition in EXT4 has become DOS 3.3, why?
creaimmo
Hi Creaimmo,
The 2 drives you’re showing seem to be quite different?
“disk2” is missing a few partitions (disk2s2, disk2s3 and disk2s4), and the IMG does not seem to have any Linux (Ext) partitions, unless those partitions are hiding in the Extended Partition.
Feel free to email me the full details (webmaster at tweaking4all dot com).
And use the right-click “Copy Partition Table Info from Selected Disk” and “Copy Partition Table Info from IMG file” menu options, which makes it easier to compare.
As far as I can see, the partition layout is not the average layout which is quite often something like this:
Partition 1 = FAT, Partition 2 = Linux, Partition 3 and 4 = empty.
hans
Hi Hans,
First, thanks a lot for this excellent application, it is really convenient having a single place to handle backup and recovery with such great options and interface!
I have a similar problem as Creaimmo: during backup of a 16GB SD, with resize option enabled, I end up with 16GB image file, no size reduction.
After looking at the logs, no Linux partition found…I copy the partition table info from my SD here:
Partition Table Info of /dev/disk2
Size: 15,931,539,456 Bytes (31,116,288 Sectors)
Partitioning Layout: Master Boot Record (MBR)
Partition 1: FAT16 Partition
– Start Sector = 8,192 (4,194,304 Bytes)
– Partition Size = 2,487,902 (1,273,805,824 Bytes)
Partition 2: DOS 3.3+ Extended Partition
– Start Sector = 2,496,094 (1,278,000,128 Bytes)
– Partition Size = 28,620,194 (14,653,539,328 Bytes)
Partition 3: Empty Partition
Partition 4: Empty Partition
So, similar to Creaimmo situation. But, using a partition manager tool running on MS Windows, I can see a different layout, see below:
Partitioning Layout: Master Boot Record (MBR)
Partition 1: FAT32 = 1.19GB (Primary) (“Recovery”)
Partition 2: Ext4 = 32MB (logical) (no name)
Partition 3: FAT32 = 69MB (logical) (“boot”)
Partition 4: Ext4 = 13.54GB (logical) (no name)
So, it seems I actually have Linux (ext4) partitions on the SD, but they are not recognized as is by ApplePi Baker, nor by MacOS…
Any Idea how I make ApplePi Baker resize identifying Partition 4 as the one to resize?
Alos, where do you get the “partition average layout” from (Partition 1 = FAT, Partition 2 = Linux, Partition 3 and 4 = empty): NOOBS? RaspBian image?…
Thanks
Remi
seraphinmi
Hi Seraphinmi,
The partition layout you’re showing is using extended partitions, and I haven’t found a quick fix for that one yet.
Using the default layout wa already a lot of work (since I didn’t know anything about the intricacies of partitions on that level).
Extended partitions, GUID etc – it makes things a lot more complicated for me.
So in short: APB won’t be able to do anything with your partition.
I did see a post from someone who resolved this by changing their partition layout.
The notion that the MBR is the most commonly used is based on my own experience in the past 8 years.
Not just for RPi, but also for Android, Camera’s, etc.
The layout is basically relying on standard primary partitions.
Not GUI, not Extended partitions.
It seems only recently (past year or so?) that Extended partitions seem to popup with for example NOOBs (after deploying NOOBs).
I’d love to support the GUID and extended partitions, but it will take me a lot of reading up on it, or someone who can actually help out with that. Someone with a lot more experience in this topic.
Hans
Thanks for the quick reply Hans. I’ll check the post, it is very recent (Feb-2020!)
seraphinmi
You’re most welcome.
Apologies that it probably isn’t the easiest thing to do …
Hans
[…] Raspbian Buster from 2019-09-26 and Apple Pi Baker 2 to prepare the micro […]
Hi Hans,
Thank you for the great effort you are putting in this update. Im having a problem with Catalina. Every time I launch the app and choose or load any SD card the app freeze. I tried to run it through the terminal as mentioned above, but that’s not resolving the issue. I tried to uninstall and remove the helper as mentioned before the reinstall the app again and still having the same problem.
Hamza
Hi Hamza,
Did you update your Catalina to 10.15.2?
What version of ApplePi-Baker are you using?
Oh and … Happy New Year
hans
Hi Hans,Thanks for you reply and Happy New Year :D Please see a screenshot of my system detailsIm using Catalina 10.15.2ApplePi-Baker 2.2.3
Hamza
Screenshot
Hamza
I’m having similar issue… I install applePi-Baker and every time I try to open a sd card I get the pop-up to give permissions which I did.
ApplePi-Baker version: 2.2.3 (Build 1)
(Helper Tool version 1.8.2)
Operating System version:
macOS
Version 10.15.2 (Build 19C57)
x86-64 (64 bit application)
Philip Graham
Hmm, that’s not good
It is difficult, if not impossible, to debug if I cannot reproduce the issue.
I do see in Hamza’s screenshot that Full Disk access fails (3 times), which means APB cannot read (backup) or write (restore) to disks, which is a big problem of course.
Did you add ApplePi-Baker in “System Preferences” – “Security & Privacy” – “Privacy“ – “Full Disk Access“?
Apple made a little bit of a mess with their new security rules, and when APB is not added, the Full Disk Access will fail.
Can you verify?
hans
Hi Hans, Sorry for the late reply. Yes, I added ApplePi-Baker in “System Preferences” – “Security & Privacy” – “Privacy“ – “Full Disk Access“
Hamza
Apple seems pretty inconsistent when it comes to the “Full Disk Access”.
On my Mac I have just added “ApplePiBaker” to “Full Disk Access” and it is checked.
Looking at what has “Full Disk Access” at a later time, now shows me “com.tweaking4all.ApplePiBakerHelper” listed as well (even though it is not checked).
Can you see if it is listed on yours? (not sure if it matters – again, Apple is a little sketchy when it comes to this)
Also, as stupid as it may sound: did you reboot your Mac lately?
Not sure if this helps either, but worth a try: did you try resetting the SMC?
Hans
Hi Hans,
I don’t have (com.tweaking4all.ApplePiBakerHelper) listed, however I added it and checked, but it still the same.
Also restarted the device and reseted the SMC. Nothing changed. Please the screenshot below,
Looks like its get frozen after (Partition Mounted – /dev/disk1s3)
Hamza
Well it seems you have done everything we can come up with.
Can you try (if you haven’t already) starting without any external disk connected (so no USB drives or SD cards)?
To me it is a little weird that we see “Partition Mounted – /dev/disk1s3”, since disk1 is usually a synthesized disk on disk0 (your boot drive).
Normally one would not see this message at APB startup. Of course, it could be that your main disk is still using the old way (versus Apple’s “new” way).
On top of that: already mounted/connected disks should not show a message at startup (which could also be where the issue takes places).
Hans
Hi Hans,
I always start the app with SD card plugged in. When i try to open the app without any external disks, the app works fine without any problem. once i connect any external device the app froze immediately.
Hamza
Hans,
Ive realised something. When the SD card is connected the app works, but when i connect the external hard drive the app freeze. I think because I’m using NTFS hard drive. I use tuxera disk manager to make it compatible with the Mac. Im not sure if this is relevant or not.
Hamza
Good catch – this could be very relevant!
Of course, I can’t say much about Tuxera Disk Manager since I do not use it (I use Paragon “NTFS for Mac” and “extFS for Mac” to access NTFS or Ext disks – neither of them causing any issues and working butter smooth).
I’m pretty sure Tuxera will “listen” or “look at” connected disks, and maybe they are not doing it the right way (or APB isn’t doing it the right way of course, but since the Paragon tools do not conflict, providing a similar service, I’d like to think this is a Tuxera specific problem).
It may be that Tuxera blocks or interferes with the API calls APB is using to detect the available disks.
Besides getting the mounted devices, additionally APB scans the “IORegistry” to find the device details (brand, model, connection type, size, etc).
On that note, Seagate has made Paragon NTFS for Mac available for free.
This is a full version and not a trial!
I’ve tested this version on a few Macs and it works even if you do not have a Seagate disk, so this may be worth a try as an alternative to Tuxera.
Note : if you are considering testing Paragon NTFS for Mac, then please make sure to completely uninstall Tuxera first.
The Tuxera website/FAQ is very clear how using both will become a problem.
Hans
Hi Hans,
I have done everything as you mentioned above, but unfortunately I’m still having the same issue.
Please see below the screenshot
Screenshot
Hamza
Do I understand this correctly:
So even with Tuxera completely (!) removed (and rebooting the Mac after that), connecting the external disk still causes APB to freeze?
Hans
Hi Hans,
Unfortunately yes. when i connect the hard drive APB freezes immediately, then I closed it and reopened it again whilst the external drive connected. It was okay until i started restoring one image from the hard drive to one sd card and it froze again.
Hamza
I’d really like to help resolving the issue.
It seems something is interfering, but from a distance, and not being able to reproduce the issue, makes it very difficult to resolve the issue.
Here I’m a little lost (also because I get tons of question each day): so APB works fine when the disk is NOT connected, right?
Hans
Hi Hans,
I really appreciate your time trying to solve my issue. Yes, It woks fine without connecting the external hard drive. I you need to access my computer with TeamViewer I’m more than happy to do that.
Thanks again
Hamza
Hi Hamza,
I’d love to resolve the issue, and thank you for offering remote access.
Unfortunately, without my dev tools, I wouldn’t be able to do much, and I wouldn’t want to install all that on your computer.
My best guess is that some software is interfering because of that extra disk.
I assume you managed to completely uninstall Tuxera (which can be hadr, since it will not be a simple “drag to the Trash”).
This would be my first suspect.
Hans
hi; happy New Year All
I need some help.
Running on MacBook Pro (15-inch, 2017). version 10.14.3
2,9 GHz Intel Core i7./ 16 Go 2133 MHz LPDDR3
I run ApplePI bakerV1.9.5
My problem, I tried different external hard drive, with different format Fat 32. MS-DOS (FAT32), EX FAT…. none of them have been recognized by the app..so do not know what to do …Any help?
Thank you if you can help.
cedric
cedric
Happy New Year to you too!
Unfortunately, support for ApplePi-Baker 1.9.x has been dropped. It’s just too hard to maintain several versions at the same time.
The last version (1.9.9) was a quick compile to support 64bit and Catalina users when Apple’s macOS 10.1.5 release had a serious “bug”.
Maybe that one works.
I’d recommend using version 2.x though (it’s been a while that I have tested this under 10.14 though).
Neither versions (1.x and 2.x) will look at the format for the disk. Both will just do a raw byte-by-byte copy of a disk, no matter what is on it, even when the disk is formatted in an exotic format (with the exception in v2 when using Shrink or Expand partitions).
With version 1.x I’d carefully assume that the command line tools are not providing the right details, or not in the right wording.
V1.x relied on the output of commands like diskutil and dd. Unfortunately Apple made it a habit of it, to change the output of some of these command frequently. This is one of the reasons why v2.x no longer uses these tools.
hans
[…] No Mac você pode usar o Etcher ou o Apple Pi Baker […]
Hi, I installed the latest version of ApplePiBaker (2.2.3) to backup my Raspbian (stretch) SSD and restore it on a new SSD which is slightly smaller (32,1GB vs 32,2). I selected the Shrink option but despite that in the advanced disk panel the 30GB partition is shown as “Linux Ext3/Ext4”, ApplePiBaker says it cannot find appropriate Linux partition and skips the Shrink option when doing Backup… any hint of what could be wrong?
Thanks!
Riccardo
Riccardo
Hi Riccardo,
ApplePi-Baker’s shrink/expand function comes with some limitations/requirements:
1) The disk needs to be using the MBR partition scheme
2) The Linux partition needs to be a regular partition, so not a extended partition or anything like that
3) APB will look at the first Linux partition it finds.
Not supported are GUID partitioned disks, and Extended Partitions (MBR).
Without the info of your disk, I can’t really say much about what may have gone wrong.
Note: in Advanced view: right click disk, and select “Copy Partition Table Info from Selected Drive” – the info can now be pasted in a comment or and email.
If you prefer to look at this by email: webmaster at tweaking4all dot com.
hans
Hi
thanks for the feedback, here you go
[Disk Details Removed]
And obviously disk2s7 is the partition I would hope to be able to shrink..
Thanks
R
Riccardo
Hi Riccardo,
I’m afraid you posted the wrong info …
In Advanced View, right click the disk and choose “Copy Partition Table Info from Selected Drive” (you used “All Drive details” instead).
The output should look something like this:
hans
Hi sorry you’re right here it is
————–
Partition Table Info of /dev/disk2
Size: 32,010,928,128 Bytes (62,521,344 Sectors)
Partitioning Layout: Master Boot Record (MBR)
Partition 1: FAT16 Partition
– Start Sector = 8,192 (4,194,304 Bytes)
– Partition Size = 3,267,199 (1,672,805,888 Bytes)
Partition 2: DOS 3.3+ Extended Partition
– Start Sector = 3,275,391 (1,677,000,192 Bytes)
– Partition Size = 59,639,169 (30,535,254,528 Bytes)
Partition 3: Empty Partition
Partition 4: Empty Partition
—————–
Now it’s also clear why it didn’t work. I thought that Raspbian had Linux partition but in my case it’s actually DOS 3.3+…
Thanks anyway!
R
Riccardo
Yep that is the info I was looking for.
The second partition is an Extended partition (eg. it is a partition that holds one or more other partitions – see this explanation).
You’re not the first person to run into this, and to be honest it is a total mystery to me why the Raspbian team would actually do this.
If more partitions would have been needed, they could have used the 2 empty partition slots for that (#3 and #4), and the use of an extended partition is not of these times anymore (but that is just my opinion). But then again; I do not know how they decision process was when they decided to use extended partitions.
Since Extended Partitions come with a whole bundle of new challenges, for me as the APB developer, and since they hardly ever were used with Raspberry Pi images, I chose to not implement this. Maybe I will in the future, but it would take quite a bit of time for me to become familiar with all the technical details and with my luck, but that time GUID partitioning may become mainstream.
Theoretically one could convert the (Logical-) partition(s) on the Extended Partition to Primary partition(s), but it would involve some work (backup all the files, remove the extended partition, create a primary partition, copy the files back, and possibly change some config files). I’ve heard Paragon Partition Manager (not free) is able to do this for you, maybe GPartEd has a function like that as well. As you can see: it will not be a quick and easy thing to do
Maybe a request with the Raspbian team to “ask” if extended partitions should be used during setup (this did not used to be that way).
I noticed in this explanation that there are an excessive (IMHO) amount of partitions created when using NOOBs, to accomodate (as far as I understand) multiple OS versions/variants.
I’ve added the option to resize partitions in an extended partition to my “to do” list, but considering the amount of work it would take, I doubt it will be any time soon. Sorry
hans
Thanks a lot for your explanation and for the good work! I just used APB to create a new system from scratch on the smaller SSD and noticed that the newer Raspberry image has a better structure (see below) so maybe not worth doing all the work in APB to support a structure that has gone away…
The only question is why the Partition 2 was expanded only to 14GB leaving 17GB of empty space on SSD… especially because the temporary image in my tmp directory was actually 32GB… maybe this partition will autoexpand once mounted in a RPi? I don’t have one here with me now to try…
Thanks!!
R
————–
Partition Table Info of /dev/disk2
Size: 32,010,928,128 Bytes (62,521,344 Sectors)
Partitioning Layout: Master Boot Record (MBR)
Partition 1: FAT32 Partition
– Start Sector = 8,192 (4,194,304 Bytes)
– Partition Size = 524,288 (268,435,456 Bytes)
Partition 2: Linux native Partition
– Start Sector = 532,480 (272,629,760 Bytes)
– Partition Size = 28,903,128 (14,798,401,536 Bytes)
Partition 3: Empty Partition
Partition 4: Empty Partition
Riccardo
Thanks Riccardo!
As far as I know, the Raspbian images (used to) have a fixed size and on first boot it will resize to full size. I think it can also be started manually by calling “raspi-config” (if I remember correctly). Did you use the expand function on APB?
hans
Hi,
Thank’s a lot for all the hard work ! I would suggest adding a *0 if you read nothing else* section before the section *1 Overview* with the fellowing content or something alike:
– After install and full disk access setup, please consider rebooting your Mac ;-)
– If APB’s log shows access to the target disk triggers errors, please use diskutil unmountDisk with the device path that is listed in the log (example : diskutil unmountDisk /dev/disk4)
Cheer’s,
Jean-Marc
Jean-Marc Verniajou
Hi Jean-Marc!
Thanks for the suggestion – I realize this is a lot of info, I just wanted every user to have access to an explanation how AP works. It indeed has been a LOT of work to get to this point (thanks Apple!).
I’ll consider adding a FAQ/Quick Start section at the beginning, as soon as I have time (working on another application at the moment).
(I’ve added it to my to-Do list)
hans
Hi. I am using ApplePiBaker 2.2.3 an MacOS 10.12.6. The Pi Baker crashes immediatly after loading the SD drive when i click “Backup” or “Restore”. The following information is shown:
….Application Specific Information:
*** Terminating app due to uncaught exception ‘NSGenericException’, reason: ‘-[NSApplication runModalForWindow:] may not be invoked inside of transaction commit (usually this means it was invoked inside of a view’s -drawRect: method.)’
terminating with uncaught exception of type NSException
abort() called….
Any ideas? I wondering, because it worked some times and suddenly no more???
Ledan
Hi Ledan,
To be honest: I’m surprised it even ran on macOS 10.12.6 … I’ve never tested it on 10.12, and it was developed against the macOS SDK of 10.14.
The error you’re seeing occurs when a window is changed or opened, while the application is updating said window.
I’ve noticed this in previous versions (but you have the latest version), and thought I had corrected this.
I will have to add this to my “to-do” list, since I’m in the middle of another large project.
Since I cannot reproduce the problem on any of my Mac’s, it will be hard to test.
Would it be OK if I contact you in the near future for testing?
Hans
Hi Hans
since yet I am very happy with OSx 10.12.6 and not going to upgrade my mac. If I can help you can contact me directly.
Ledan
Ledan
Email me at: webmaster at tweaking4all dot com
Hans
I have also experiencing crashing with the same error in the console. macOS 10.13.6 on a MacBook Pro, ApplePi-Baker 2.2.3 (build 1) and Helper Tool 1.8.2. The application launches, let me select a disk, but as soon as I click to choose the restore image, the app quits with console message as above:
Application Specific Information:
*** Terminating app due to uncaught exception ‘NSGenericException’, reason: ‘-[NSApplication runModalForWindow:] may not be invoked inside of transaction begin/commit pair, or inside of transaction commit (usually this means it was invoked inside of a view’s -drawRect: method.)’
terminating with uncaught exception of type NSException
abort() called
Alden
Hi Alden,
thanks for reporting, and sorry to hear you’re running into issues as well
I am having the hardest time to debug macOS 10.13.x, you could try the latest beta, but I doubt it will fix the issue.
This seems to be an issue related to dark theme support (bug in my code). I will try to what I can do to resolve the issue.
Hans
I have the exact same issue, with the same OS/Hardware setup. Applepibaker quits as soon as I try to select the option to create a backup.
System Version: macOS 10.13.6 (17G12034)
Model Name: MacBook Pro
Model Identifier: MacBookPro8,2
Processor Name: Intel Core i7
Processor Speed: 2,2 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 4 GB
Boot ROM Version: 87.0.0.0.0
SMC Version (system): 1.69f4
will fall back on version 1.9, pretty awesome too. thanks Hans!
spanno
Thanks Spanno for confirming.
I think this may be related to the old 10.13 macOS version. I’ll try and see if I can disable the dark theme support (or refresh) for macOS < 10.14.
Hans
OK, cool. Let me know if you need me to test.
thank you!
spanno
Will do! I’ll post it here as a beta.
Maybe a little later in the week though …
Hans
Bootable USB Stick from ISO
Since I never had really done much testing with ISO files, to create a bootable USB stick, and found it to be working great, I thought I’d post this here.
In the past few days I’ve flashed some ISO files of Linux distributions (Ubuntu, LinuxMint, ElementaryOS, to name a few) with ApplePi-Baker straight to a USB stick.
If the target computer supports booting from USB stick (I’ve tested this on an old Lenovo laptop) then you’ll find that this works great!
If anyone has experience with other ISO files (for example Window 10 anyone?), then please feel free to reply to this topic, listing the ISO you’ve used.
Hans
Hi,
I am a beginner with Raspberry Pi. I was looking for a way to backup my SD card when I came across this post. I’ve downloaded ApplePi-Baker v2.2.3, and I’ve read your documentation, but I had two questions:
1) When I inserted my SD card into my mac, I saw ‘boot’ and ‘RECOVERY’ show up under Devices. To backup the SD card, should I back up both ‘boot’ and ‘RECOVERY’ into separate img files? I just finished backing up ‘boot’ as an img and it took a little over a hour to do so I was wondering if I was doing this correctly.
2) My second question is, how would I go about restoring a SD card? Would I need to select the back up img(s) of the ‘boot’ and ‘RECOVERY’ (ie. selecting them both under Select Disks(s) then click Restore) or is the backup done only with the ‘boot’ img…?
I’m using a Raspberry Pi4 with Raspbian and a macOS High Sierra (version 10.13.6). Again, I’m completely new to Raspberry Pi, so any advice would be much appreciated!
Thanks,
Kit
Kit
Hi Kit,
welcome to the Raspberry Pi community
As for your question:
An IMG holds a copy of an entire disk (device), with literally every single byte found on the original disk, so this includes “empty” bytes and partitions with everything on it.
Note that the word “disk” is used mixed (so I do understand the confusion):
1) it can be used to indicate either a physical device – say your SD card (for example /dev/disk3) or
2) to indicate a partition which is a section on the physical device, which potentially will shows up as a disk on your Mac (for example /dev/disk3s1).
You mention “boot” and “recovery” – both will most likely be partitions.
ApplePi-Baker only makes backups of entire disks (physical device), even when you select “boot” or “recovery”.
There are several reasons for that, but simply put: you would not be able to use a backup of a single partition. At least not without adding things like a bootsector, partition table etc. which are needed for your computer or Raspberry Pi to locate the data on the physical disk.
So when you say you made a backup of “boot” then you’d most likely made a copy of the entire SD card.
The fact that it took this long is a reasonable indication that the entire disk was copied. This must have been a large SD card and/or your card reader is connected to a slow USB connection.
To “test” your IMG: double click the IMG file, and open ApplePi-Baker. Now in APB go to the “advanced view” (the icon directly next to the word “Functions”).
You IMG should show there as a disk. Click the “+” in front of the disk and you’ll see “Partitions” listed.
Hope this clarifies that
Hans
Hi Hans,
Thank you very much for the helpful explanation!
You were right; I think ApplePi-Baker did copy my entire SD card when I chose to backup ‘boot’. In the Advanced Disk Panel the ‘boot’ IMG file is displaying as /dev/disk2 and under its Partitions, I can see both “recovery” and “boot” listed.
I didn’t mention it before but I was using a 64GB SD card so, as you’ve said, maybe that’s one of the reasons why it was slow to back up.
Thanks again for your time. This is a great program!
Kit
Kit
Cool! Glad I could help!
Hans
Hey there,
just a little idea for small improvement. I tried to make backup today but I did not know I did not have enough space for the actual backup. The error message was rather cryptic “Read/Write mismatch”. It took me way too long to figure out what was wrong. Such a stupid mistake but I think the UX could be improved here a little.
Mike
Thanks for the suggestion Mike
I agree, this should have been there to begin with.
It is on my To-Do list, but I have a few other projects to finish first. Once I get to APB, I’ll most certainly add this. Something like a estimated needed space vs available space warning. And/or a check if a disk is full on read/write error.
Hans
It’s all good. Thanks for this great tool! I have been using it for DYI RPi projects for years now.
Mike
Thanks Mike! And thanks for using ApplePi-Baker
Note: did you know you can also flash an ISO file with APB to make a bootable USB stick? I just did this a couple weeks ago with some Linux ISO files. Works great.
Hans
[…] SD card, even it was only half full. All three of these scenarios can usually be tackled e.g. with ApplePi-Baker v2, but it fails if your starting point was NOOBS. … As I googled for a HowTo like this and […]
I was wondering if it might be possible to support resize for gpt images. I have a number of embedded linux based tool sets I boot from that are configured this way, and it would add flexibility to the process of managing the USB sticks I use.
Jared
Hi Jared,
thanks for using ApplePi-Baker.
Support for GPT is not impossible, but GPT is a far more complex mechanism than the standard MBR partition scheme.
Frankly, I’m wondering why GPT is even used for embedded Linux.
Anyhoo, I noticed this post on changing your partitioning from GPT back to MBR. Not a fun thing to have to do, I understand.
For now I unfortunately do not have the time or means to implement GPT support – building APB to adjust to Apple’s requirements already took a LOT of time (almost 2 years working on it) and I’m just one person
Hans
Great tool, works perfect!
But not with corrupted cards. If you need ideas for version 3: integration of ddrescue for damaged cards. :)
I first cloned my damaged card with ddrescue (to a card with the same size) and then I could use ApplePiBaker for backing up, resize and restore on a smaller card.
Bernhard
Hi Bernhard!
Excellent tip! I’ll add it to my To-Do list as an option to explore!
Hans
Hi Hans,
PiBaker is a great tool. Have been using it for nearly 4 years now (wow!) But the latest version leaves me kind of baffled as to which settings are in effect and which aren’t. The design is modern and cool, but alas, low contrast is really not working well with my old buggy eyes. Why is there no comprehensive settings screen, with simple checkboxes or lists? Just now I backed up a card and was certain I enabled partition resize…but the 32Gig card was saved into a 32Gig image. Please consider a nice old fashioned settings dialog for the less stylish users like me ;-)
Oliver
Hi Oliver!
Thank you for the valuable feedback!
Rearranging the interface to go with checkboxes and such will take quite a lot of work (not to mention: destroy the look I was going for). However … I could do some tests and see if I can create a high-contrast option, if you think that may help?
For example: all the grays become black and the light grays become gray?
Or have disabled buttons an even lighter gray, so the highlighted (enabled) buttons stand out more?
As I’m not experiencing this issue myself, any input would be most welcome, so I can consider implementing something like this.
Feel free to reply to the notification email or email me at webmaster at tweaking4all dot com.
If you’d like, include a screenshot with notes, so I get a better idea what I can do.
Hans
Hi Hans,
I thought you could just leave the UI as is, only implement a settings menu and open up a (modal) form with a more old school dialog where those settings could be implemented. BTW: am a Delphi developer, so I applaud your choice of Language.
Regards,
Oliver
Hi Oliver!
A fellow Delphi developer! Cool!
I’ve been developing with Delphi since its first release way back when.
The only reasons why I’m using Lazarus Pascal:
– Development for Linux (GUI)
– VCL (LCL) for all platforms (not a FireMonkey fan)
I could indeed implement a settings form, let me think about the easiest way to implement that.
I can imagine that quite a few people would rather not see this, so it will have to be optional somehow.
I’ve added it to my To-Do list
Hans
I used this tool a lot until version 2 came out. It freezes almost immediately after startup. I tried 2.1.7 and 2.2.3.
Macbook air with 10.15.3 (but also previous OSX versions)
1.9.9 does work
Janis
Hi Janis,
please give the beta a try, I just released 2.2.5 as a beta.
I cannot reproduce the issue on the 4 Macs that I can test on, so assistance of users is pretty much a must for me to fix this.
Any help is very much appreciated.
Hans
[…] do this, I use ApplePi-Baker software developed by the ingenious Dutchman Hans Luitjen for macOS (he just released a brand new version […]
Hi, I have a problem when I try to open the ApplePi-Baker V2 dmg file downloaded from the link on this page (ApplePi-Baker-v2.2.3.dmg), I get an error message saying that there is no filesystem to be mounted. Tried it several times, with no success at all. But I can download and run ApplePi-Baker-1.9.9.dmg without problem. Using an old 2008 iMac and macOS 10.11.6… Thanks for your help ! Jean
Jean
Hi Jean,
Sorry to hear things aren’t quite working …
I’m not sure what to tell you. macOS 10.11 is quite old, and I have not tested APB2 with this – and I do not have a copy laying around either.
I’ll try to create a VM in the next few days and will do some testing, but since the OS is this old, it wouldn’t surprise me if certain things simply will not work
Hans
I’ve done several attempts to find a copy of macOS 10.11.x, but Apple doesn’t provide them anymore.
And as far as I can see, you cannot upgrade to a newer OS either (seems El Capitan is the last version that would work on your 2008 iMac).
My recommendation for now: keep working with v1.9.9.
I do not yet have the means to test and/or modify the current version for 10.11 – I’m truly sorry
Hans
Hi,
I cannot give Full Disk Access to ApplePi-Baker’s privileged helper tool in 10.15.3. I tried both ApplePi-Baker version 2.2.3 and 2.2.5 beta.
When trying to add the privileged helper tool to FullDiskAccess, your helper tool is greyed out.
Hence, whenever I try to read an SD card, it fails the full disk access test.
(It worked before, but I guess it was still on 10.14 when I ran it last time.)
ApplePi-Baker version: 2.2.3 (Build 1)
(Helper Tool version 1.8.2)
ApplePi-Baker version: 2.2.5 (Build 21)
(Helper Tool version 1.8.2_debug)
Operating System version:
macOS
Version 10.15.3 (Build 19D76)
x86-64 (64 bit application)
Balthasar
Hi Balthasar!
Yeah Catalina sure has its issues
If you’re up for it:
With the debug version, you’d be able to see quite a lot of messages in Console.
Open Applications -> Utilities -> Console, on the left hand side, under Devices, select your Mac. Netx set the filter in Console to “APPLEPIBAKER” to filter out less relevant info and start APB (debug version).
NOTE: Please do not post the log in the comments here, but do feel free to start a forum topic or email me directly (webmaster at tweaking4all dot com).
Maybe I can see what is happening from the log.
Hans
Hi! Great tool. I last used version one and it worked great to backup and restore a RetroPie image. I have a 128g SD card I am trying to backup and restore using baker 2.0. I seem to be running into issues. I am running Catalina 10.15.3. It lets me back up and chooses .zip automatically. When I go to restore, it says it can’t unmount the disk. I will keep tinkering, but am I doing something wrong? Should I be choosing a different format like .img. Maybe erase/reformat the target 128g (same exact type of card by the way – Samsung EVO) before? Sorry if this is vague. I can get more info if needed.
Kevin
Hi Kevin!
Try using Disk Utility (Applications -> Disk Utility) to unmount the disk (do NOT eject the disk).
APB asks macOS to unmount, through the official Apple API, and I’ve even added the option “force”.
Yet in some rare cases, your Mac won’t unmount the drive.
This may have to do with another application, not allowing you to unmount the drive.
So to give it some more time, try unmounting with Disk Utility first before doing a restore.
Hope this helps
Hans
I think the back up worked great. It created a .cdr and I saved in the format of the DVD Master. I hope that was right? If so – what is next step with Baker? Should I change the extension to .iso as I have been reading in the online forums? I do see in baker forums that ISO may not be good? or could be fail? Should I do .img? Not sure where to go from here. Right now, on my hard drive, I have a nice, what I think would be expected, 126g .cdr file.
Thanks so much for your help sorry to be such a newb…
Kevin
Hi Kevin!
Well, originally APB was not designed to create CDR or ISO files, so I’m not sure what you’re trying to do.
On that note: I’ve restored bootable ISO files to USB sticks with APB (like Linux Live CD’s, and install CD’s) and they seem to work.
Not sure which baker forum you’re referring to?
The native format would be an IMG file.
Since quite a lot of compression could be done, using something like ZIP or TGZ (I’d recommend TGZ) can reduce the file size significantly.
On that note: an IMG file (or a after decompressing a compressed IMG file) can be written with most tools that support the IMG format – it is in essence a “raw” copy of every byte (used or not) of the disk. Tools like “dd” support this as well, as does Win32Diskimager, and a couple other tools out there.
So the best format for speed would be IMG, and the best format for size would be TGZ (or TXZ).
An other advantage of an IMG file (or ISO file) would be that most Operating Systems (macOS included) can mount them directly (if not compressed with ZIP, TGZ or TXZ), so if you ever need access to a file from your backup, you could simply mount the file and access the file you’re looking for. On that note: mounting only works if your operating system supports the filesystem used in the backup.
Most Raspberry Pi / Linux backups will have a “Ext” filesystem and your Mac doesn’t natively read that.
For that you could use a 3rd party tool like OSXFuse (free, but is not the fastest) or Paragon ExtFS (not free but performs very well).
Hans
First things first, THANK YOU, ApplePi-Baker is spectacular and solves in one utility all of my rpi-image-related problems. Couldn’t be more appreciative! Do you have a preferred method for donating cash? I don’t have any bitcoin.
Second things second, I noticed an odd behavior that uses a lot of CPU: I restored a (previously resized, if it matters) .img to an SD card, and walked away for dinner. When I came back, my MBP fan was on, and it looks like ApplePi-Baker’s “your image is flashed!” prompt spins and burns cycles rather than the thread sleeping on user response. The app was at 99% CPU, sustained since presumably flashing finished. Not a big deal, but also probably not intended.
And lastly, all the version info:
ApplePi-Baker version: 2.2.3 (Build 1)
(Helper Tool version 1.8.2)
Operating System version:
macOS
Version 10.14.6 (Build 18G3020)
x86-64 (64 bit application)
Hope the apocalypse is treating you well!
Alex
Hi Alex!
Thank you for the very nice compliment – it is very much appreciated.
You can donate (not required, but most certainly welcome) through PayPal (send it to hans at luijten dot net).
Oh wow, a 99% spike in CPU and a running fan. Something must be going bonkers (excellent that you posted the version details – most people forget that). I see that you’re using 2.2.1, maybe you’d like to try the current version (2.2.3) or the beta (2.2.5).
No guarantees that either of them is better – but overtime I did make a few changes.
Note: probably a good idea to save a copy of 2.2.1 first, since it mostly seems to work well for you (you can rename the app in your Applications directory – the helpertool will correct itself if you decide to switch back).
Let me know if either made a difference. Testing under 10.14.x is a little challenging for me (I have to run it in a VM, which comes with other issues not related to APB).
Hans
Hi, and thanks for building and sharing this Pi(++) tool. After downloading, dragging to Applications folder and dbl clicking to launch, up pops this Warning window:
The following disk images couldn’t be opened.
Image: ApplePi-Baker-v2.2.3.c Reason: no mountable file systems.
My MBP is running ElCap 10.11.6
How big is the ApplePi download file supposed to be on disk? My copy says 6,204,629,298 (6.2 GB).
Any suggestions welcome. Thanks in advance.
Franc
Sorry, file size previously stated is wrong. Correct size is 4,123,030 bytes (4.1 MB on disk).
Re-downloaded and re-launched, same warning, same problem.
Franc
Hi Franc,
a file-size of 4.1 Mb is correct for the release version.
I do see however that you’re using a very old macOS version – so the problem could be related to that.
Just to make sure, I have downloaded 2.2.3 again and the DMG opened just fine under Catalina.
I have no means to test APB under 10.11.x
You could try v1.9.9 – even though no longer maintained, and based on the old version, it may still work just fine for you.
If that DMG doesn’t work either, you can give the zipped 32 v1.9.5 a try.
Hans
Thanks Hans.
My file system is still HFS, could that be the issue?
I checked the downloaded .dmg file (hdiutil attach -noverify -nomount) and below is the info:
$ diskutil list
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +20.0 MB disk4
1: 7C3457EF-0000-11AA-AA11-00306543ECAC 20.0 MB disk4s1
$diskutil info /dev/disk4
Device Identifier: disk4
Device Node: /dev/disk4
Whole: Yes
Part of Whole: disk4
Device / Media Name: Disk Image
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Content (IOContent): GUID_partition_scheme
OS Can Be Installed: No
Media Type: Generic
Protocol: Disk Image
SMART Status: Not Supported
Total Size: 20.0 MB (19999232 Bytes) (exactly 39061 512-Byte-Units)
Volume Free Space: Not applicable (no file system)
Device Block Size: 512 Bytes
Read-Only Media: Yes
Read-Only Volume: Not applicable (no file system)
Device Location: External
Removable Media: Yes
Media Removal: Software-Activated
Virtual: Yes
OS 9 Drivers: No
Low Level Format: Not supported
Franc
I can only guess that macOS 10.11 doesn’t support the compressed DMG format I have used, and/or the fact that it is notarized and/or signed. I quickly made a zipped version of the beta – you can give it a try.
Hans
I’m running El Crapitan and can’t mount the DMG. The “zipped version” link no longer works. Do you have a fresh link by any chance? Thanks.
Stuart
Hi Stuart
I’ve uploaded a zipped version of the 2.3.0 beta … it’s 64 bit and signed, but not notarized.
I’m not sure if this will work, but I guess it’s worth a try
Hans
Thank you. It does run. I’ll have to play with it and see if it works correctly without being signed. Cheers!
Stuart
Awesome!
Hans
It successfully imaged a Raspberry Pi flash drive, but the resulting image file was 30GB in size!!
The drive itself only had about 3GB on it.
Given the name and stated purpose of the tool…..shouldn’t it understand ext filesystems and ignore empty space?
Stuart
Hi Stuart,
Well that’s odd … and you’re right: APB uses a tool that understands EXT and should ignore empty space after extracting an IMG of the partition.
Assuming you have the recommended disk layout:
– MBR
– FAT32 boot partition
– EXT standard partition
(not using extended partitions!)
Still, it should not result in a ridiculous 30Gb file size
What macOS are you running, Intel or M1 CPU, APB version, maybe a link to an example IMG?
Hans
Yes, standard partitions. I just downloaded Raspbian and wrote it to the CD. I’m running El Crapitan on an Intel CPU.
You realise that “an example IMG” would be huge, right? Where would I even upload a 30GB file?
(even with an 8GB SD card, that’s still way too big)
Stuart
Wrote it to the SD, I of course meant.
This forum is awful. No editing. No replying to specific posts. Etc.
Stuart
Hi Stuart,
Apologies for not thinking this through haha (I’m working on my second coffee this morning).
Woops … 30Gb is a little much indeed. Normally I’d suggest WeTransfer, but even that allows up to 2Gb (for the free version).
Yeah this is not meant to be a forum – just a place to comment on this article.
Replying to specific posts is only supported up to 5 levels.
The actual forum would be more what you may be looking for.
Still, posting a 30Gb file, even if it were 8Gb, is a lot.
No worries though, I just downloaded (32 bit version) Raspbian and will install it to a 32Gb SD card and see what happens.
It’s running a restore as I write this … restore is going to take a bit …
Partition table looks correct – just checking the 64 bit version as well.
(MBR standard partitions, Partition 1 FAT32, Partition 2 EXT, Partition 3 and 4: not used)
Hans
Hi Stuart,
The restore and backup tests finished (RaspiOS/Raspbian) … and I cannot reproduce the issue – which makes debugging/resolving the issue hard – note that I do not have the option to test under El Capitan …
I did test with RaspOS (Raspbian) “2022-01-28-raspios-bullseye-armhf.zip” which holds a 4,236,247,040 (4.2Gb) IMG file.
I restored it to a 32Gb USB stick, with the expand option enabled.
Next I tried making a backup which resulted in a 32,022,462,464 Bytes (32 Gb) file.
After that I tried making a backup again, this time with the shrink option enabled, which resulted in a 3,869,241,344 (3.8 Gb) file.
Looking good so far.
Next thing I tried restoring the same IMG file to an 8 Gb SD card (didn’t have a 32Gb available), with the intend to have the RPi doe the actual file system resizing. So I restored with ApplePi-Baker, without the expand function. Booting in RPi made it expand to use the full capacity (8Gb).
And finally I made a backup with APB with Shrink enabled, and this resulted in a 3.9 Gb file.
So … this worked under Monterey, with v2.3.0 build 2 (signed and notarized version – although I do not think that the zip version not being notarized will be an issue since you’re running El Capitan).
Hans
Hold on….so I have to enable the “partition resize” box in order to avoid the resulting file being 30GB? That’s a very strange way of doing things.
Will the partition actually be resized on the source drive? I would hope not.
Stuart
You have to enable the “Enable Linux Partition Resize” option (the 2nd icon to the right of the “Options” word).
By default, the icon is gray (= OFF/Disabled) – since most users may want to make themselves familiar with this feature first.
Obviously, when clicked, it enables (highlighted).
(disabled = gray)
This feature will NOT resize the original, only the copy of the original (the IMG file).
What this really does (at backup) is:
Hans
Well, I ran it again with shrinking enabled. It took about three hours(!) and left me with a 17.5GB 7z file. Again excessively large, I feel, for a drive with 7G of files on it.
Does it have anything to do with free space maybe not being pre-zeroed? Dunno, I’m just grasping at straws here. Correct handling of ext4 shouldn’t care about that.
The operating system is “2020-08-20-raspios-buster-arm64-lite”.
—
# df -h | grep /dev
/dev/root 6.7G 3.2G 3.3G 50% /
/dev/sda1 253M 55M 198M 22% /boot
—
# parted -l
Model: SanDisk Ultra Fit (scsi)
Disk /dev/sda: 30.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 4194kB 273MB 268MB primary fat32 lba
2 273MB 7613MB 7340MB primary ext4
Stuart
Oh my goodness, 3 hours and a 17.5Gb 7z file. That’s just horrible
Looks like your SD card has proper partitions (MBR, and only using primary partitions) as well.
Nope, empty space does not need to be zeroed out, and Ext4 is just fine.
I think I may have found the culprit (which I overlooked as well):
So this is a 32Gb SD card, which is not 100% used as you have a small 273MB FAT32 partition, and a 7613MB EXT4 partition – right?
I think that may be the problem.
As with most of these kind of tools (like dd and such): a backup is a literal backup.
Meaning byte by byte, every single byte on the media/device – even the unused ones.
So in you case, the backup would already be 32Gb (or so) without the shrink option.
How much is the IMG file when you unzip the 7z file? I’m guessing 32Gb or something like that?
On that note:
The reason why a FULL backup is made, is mostly because the used partitioning and file systems may or may not be a known format. So the last unused 23Gb on your disk could be unused (as it is right now), or it could be an exotic way of storing data. Meaning: as a backup tool, one should not randomly ignore this section – well, that is of course unless one is 100% sure it is unused.
Added to my ToDo list: Consider if I should add an optional setting to do a strict backup based on partition info, or not.
For now I would say:
Make sure the Linux partition on your SD card is resized to the max available size.
You can do this on your Raspberry Pi with raspi-config.
Once maximized, use APB to make a backup with expand/shrink enabled.
To save time: consider doing this without compressing the file. IMG files are faster to store (if you have the space).
Hans
Resizing the partition to fill the entire drive made no difference whatsoever. The resulting img was still 30GB in size, uncompressed; and 17GB compressed. The process took about an hour and a half to produce an uncompressed img (with shrink enabled).
There’s definitely something screwy going on.
Is there anything I can do to help you track this issue down? I’d really like to use the program, but right now it’s just….yeah….
Would it be better to discuss this via email? Or on the forum maybe? It’s a bit clunky keep posting on here.
Stuart
Hi Stuart,
yes continuing the discussion elsewhere would be a good idea.
I’d prefer using the forum (link), just so others can learn from what we discover as well.
Optionally, you can also email me of course – just reply to the notification.
FYI: Chris ran into the same problem and for him, resizing the Linux partition the full size (on the SD card) worked very well.
I’d love to figure out what is going on here as well
Hans
Thanks again Hans. I downloaded v1.9.9 and it launched just fine. Haven’t used it, but I’m assuming it will work fine.
Cheers
/f
Franc
I’m pretty confident 1.9.9 will work just fine … you’d miss out on some of the new features, but it will get the job done for sure.
Stay healthy!
Hans
Sorry, I mean without being notarized. Whatever that is.
Stuart
Yeah the notarization of applications is an automated system created by Apple that checks a macOS application for malicious content and code signing correctness. It’s, together with signing applications, yet another hurdle …
Good to hear it works now!
Note: for future versions, I do not have a workflow in place to keep releasing un-notarized and/or zipped versions. Apologies if I forget to update.
Hans
I seem to be having an odd problem with the shrink/expand function v2.2.3 running on MacOS High Sierra
I took my 8GB Sandisk MicroSD out of my Pi, made a backup with the shrink option on it. Finished, no issues reported
Then I took my 8GB noname MicroSD and restored the backup with the expand option on it. The reason is that it’s a couple of slightly smaller than the Sandisk and I wanted to have a second card to run experiments on without killing my main configuration.
Anyway, the card boots up fine but….
This is a headless Pi and I can’t ssh into it. It get connection refused. On the original I can ssh into it as much as I like. I even tried restoring the shrunk backup file onto the larger card (after making a non-shrunk backup!) and it suffers the same fate.
Restoring the non-shrunk backup gets me back to where I was.
?
Bill Jackson
Hi Bill!
Sorry to hear you’re running into issue.
As far as I recall, SSH on most RPI images is enabled with a simple little text file.
Resizing should not affect this though …
If this applies to your image, from what I’ve read you only need to place a file named “ssh” on to the boot partition.
Since I never really used this option, you may want to check if it is still there.
Having said that: the resize function only affects the Linux partition, and not the boot partition.
So I’m guessing something else is triggering this issue.
For example: if you’ve setup SSH to be done without a password then you may need to update the keys on your computer.
Hans
yea, something is really strange.
I had a chance today to put a “head” on the system and a keyboard and found that SSHD is not starting when the system boots.
a systemctl status –full ssh gives me this:
ssh service: main process exited , code = exited, status =127/n/a
unit ssh.service entered failed state
ssh.service holdout timer over, scheduling restart
stopping OpenBSD secure shell server…
Starting Open BSD secure shell server…
ssh.service start request repeated too quickly, refusing to start
Failed to start OpenBSD secure shell server
Unit ssh.service entered failed state
IF I try to run sshD directly I get:
# sudo sshd -T
Inconsistency deterred by ld.so: get-dynamic-info.h: 124: elf_get_dynamic_info: Assertion ‘info[19]->d_un_.d_val == sizeof (Elf32Rel’ failed!
I’ve repeatedly made backups without shrinking the partition sizes and restored them to the same card and it works just fine. But if I make a backup trying to shrink the partition sizes and restoring them to the original card or the slightly smaller card I get this.
BTW, it would be a cool option to have a way to take an already done backup and shrink it so that you can put it on a smaller card. I suspect that all of the “code” to do that is already “in there”
Bill Jackson
Hi Bill!
That is indeed a strange thing to happen. Shrink/Expand doesn’t do anything with ld.so …
It suggests it may be corrupted somehow, but I cannot reproduce the issue here.
(this is usually where testers come in, but there usually are very few users willing to do testing)
Could you test this with another SD card?
SD cards, and especially noname cards, tend to be unreliable [over time].
As for shrinking an already existing IMG file: there is a method for that!
See the method described in the comment below yours (here).
On your Mac, simply double click the IMG file, and your Mac will try to mount it (which may fail, if your Mac doesn’t have special tools installed to recognize EXT file systems). Even if it fail though, the IMG will appear as a disk in APB. Simply make a backup of that device with shrink enabled (should go very fast).
Hans
I’ve restored the shrunk image onto two cards, the original one as well as the “smaller” one.
Back up full-size on “larger” card and restore to larger card – OK
Backup shrink from larger card, restore to larger card – not ok
Backup shrink from larger card, restore to smaller card – not OK
If you want I can find a way to get the images to you and you can check them. The images are about 1.5GB in ZIP format.
Hmmmm…. Maybe I should try this in IMG format to see if that helps?
bill jackson
Well, I bought some more cards, unfortunately 8GB are pretty much no more available so I got two 16G cards. I can now
1: backup the 8GB with the shrink option turned on and restore it to the 16G card with the expand option turned on. The result is a resized (larger)partition on the card
2: back up the 16GB with the shrink option turned on and restore it to the 8G card and it is successful
What’s odd though is that backing up from the 8G to the smaller 8G still fails. Some more investigation has found that it is not entirely erasing the smaller 8G and starting over there is a 4G partition on there and it remains. AND it has an older version of Raspbian on it so this is an older configuration that is not getting erased even though Apple Pie baker is telling me that it succeeded.
More investigation coming, but apparently the issue is not with the shrink/expand process but something isn’t going right with my smaller 8G card and Apple Pie Baker doesn’t see it as a failure on the restore.
Bill Jackson
Interesting find.
Curious what else you will discover – it could be helpful.
Not sure why the 4Gb partition remains. Did you mean “remains in the IMG” or on the disk that you use to restore to? The latter would be very odd.
If it is in the IMG then the 4Gb partition may not be a EXT formatted standard partition.
What does APB show when it comes to the IMG (you can mount the IMG by double clicking it in Finder, APB will then show the partitioning)?
Hans
This is so weird … but I’d like to see what I can do to find what is causing this.
We could “share” the file with WeTransfer (use webmaster at tweaking4all dot com as the target email address), or through DropBox …
Trying the IMG format would not be a bad idea, although theoretically this should not make a difference. It would narrow down where the problem may be though. Ya never know
Hans
Hello,
first of all, WELL DONE! ApplePi-Baker is a really nice tool! Thanks for developing!
I would like to report one bug (access violation while restoring) and one feature wish :)
My specs
ApplePi-Baker
Version: 2.2.3 Build 1
Helper Tool Version: 1.8.2
OS-Info
macOS Version 10.15.4 / Catalina (Build 19E287)
64 Bit application MBP 2019
My goal
I automatically create monthly dd Backups of my Raspberry Pi 4 Model B (Raspbian) with RaspiBackup and store this Backup to a mounted USB Stick. Because of the dd backup (.img), the backups are as huge as the size of my SD Card. So I searched for a shrink / expand tool, to shrink the backup, store the backup in my cloud (manual) and if I need the backup, restore and expand it to a new SD Card.
Feature wish
To reach my goal, I have to RESTORE my backup to a disk and then I can BACKUP the backup^^ with the new shrink option. The resulting small .img file can be stored to my cloud system, until I need it. If I need it, I RESTORE the file to a new SD-Card and it should work for me.
My wish:
It would be really great, if I could miss the first RESTORE process… So you just have to enable the shrink option to a file (.img) not only in combination with the BACKUP process.
BUG
The mentioned second RESTORE of the shrinked .img file sometimes results in a “access violation” error, If I take the raw .img file. When I enabled zipping, the process works perfectly.
Best Regards!
Pascal
Hi Pacal!
Thanks for the compliments
I’m not quite sure I understand your request (apologies for that).
Are you saying that you have made a backup, and you want to shrink the backup afterwards?
If so:
On a Mac that should be possible by mounting the IMG file (just double click it in Finder).
It will appear as a device (possibly not visible in Finder though – but definitely listed in Disk Utility).
I just did a quick test with a LibreElec image (EXT filesystem). It appeared on my computer as /dev/disk5, and I was able to make a backup, with shrink enabled, from /dev/disk5 (which went very fast). Restoring the backup to an SD card worked and the RPI booted as usual.
Note: I have Paragon ExtFS installed, so my Mac won’t complain about EXT filesystems. Not sure if this plays a role.
I did disable it for a second tes, but the primary partition of LibreElec is FAT32 and it still worked just fine.
Does this answer your question?
Hans
Perfect! Mounting the .img file did the trick!
Thanks!
Best Regards!
Pascal
Awesome!
Hans
Hi,
I backup yesterday my RPI3B+ Sd card on my Mac, and saved it as a image. Today I needed to restore the backup, but apply gives me the following message:
The selected Archive has 0 erntries. Select the one you wish to use from the list below.
And then there is no option to choose from. yesterday I received the OK message that my card has back upped. Why is this happening. do you know?
Chris
Hi Chris,
Interesting problem, and sorry to hear you ran into this one.
Normally this would mean you have compressed the backup, but for some reason there is nothing to be found in the archive.
Can you decompress the file and see what is in there?
The extracted file, if you found one, should work – but it sounds like there may not be a file, or the filename is somehow wrong.
Hans
Hi guys,
Great tool here! I am having an issue trying to shrink an image however.
I have a 256GB image (252.54GB to be exact) and my SD card is 249.51GB. Log below:
Trying to use the re-size option but it appears to fail really close to the end with the error: 00:38:30 Initialization Info
00:38:30 – ApplePi-Baker 2.2.3 (Build 1)
00:38:30 – macOS Version 10.15.4 (Build 19E287) x86-64 (64 bit application)
00:38:30 – libarchive 3.3.3, by Tim Kientzle
00:38:30 – liblzma 5.2.4, by Mike Kezner et al.
00:38:30 – zlib 1.2.11, by Greg Roelofs && Mark Adler
00:38:30 – bz2lib 1.0.6, by Julian Seward
00:38:30 Found Correct HelperTool version (1.8.2)
00:38:36 Full Disk Access First Test: FAILED
00:38:37 Full Disk Access Second Test: SUCCESS
00:38:42 Drive added to list: /dev/disk2 (1 TB WD My Passport 0741)
00:38:42 Drive added to list: /dev/disk3 (250 GB APPLE SD Card Reader)
00:38:44 Drive removed from list (/dev/disk2 (1 TB WD My Passport 0741))
00:38:44 Drive removed from list (/dev/disk3 (250 GB APPLE SD Card Reader))
00:38:50 Drive added to list: /dev/disk3 (250 GB APPLE SD Card Reader)
00:39:05 Restore — START RESTORE
00:39:05 Restore Started – Restoring File to Disk
00:39:05 Destination – /dev/disk3 (250 GB APPLE SD Card Reader)
00:39:05 Disk Presence Check – Selected Disk Found
00:39:05 Source – File:
00:39:05 Source – Trying to determine source size
00:39:05 Source – Source is a Raw IMG File
00:39:05 Source – Size = 252,539,425,279 bytes
00:39:05 Destination – Verifying Disk Capacity
00:39:05 Destination – Max disk capacity is 249,510,756,352 bytes
00:39:05 Warning – Selected Disk Too Small
00:39:08 Ignoring Disk Too Small – /dev/disk3
00:39:08 Disk Size Check – Capacity of Selected Disk PASSED
00:39:08 Unmounting – Attempting Unmount of all Partition(s) of selected Disk
00:39:08 Trying to unmount /dev/disk3
00:39:08 UnMount – Waiting for unmount to complete
00:39:08 UnMount – Waiting for unmount to complete – No disk(s) unmounted yet.
00:39:08 Partition Unmounted – /dev/disk3s1
00:39:09 UnMount – Waiting for unmount to complete – 1 Disk unmounted.
00:39:10 Unmounting – Completed
00:39:10 Expanding – Disabled expanding partition, no Linux Partition found
00:39:10 Resize IMG – Resizing and Rebuilding IMG file
00:39:10 RESIZE – Attempting to RESIZE a Linux partition in the IMG file
00:39:10 RESIZE – Find Ext2/3/4 partition and determine size and location
00:39:10 RESIZE – STATS:
00:39:10 File Size : 252,539,425,280 Bytes (493,241,065 Sectors)
00:39:10 Linux Partition : 252,489,093,632 Bytes (493,142,761 Sectors)
00:39:10 Starts at : Byte 50,331,648 (Sector 98,304)
00:39:10 Linux Target Size : 249,459,376,128 Bytes
00:39:10 RESIZE – Extracting Ext2/3/4 Linux partition
00:54:31 Details Updated – Partition /dev/disk1s3
01:19:02 Details Updated – Partition /dev/disk1s3
03:06:30 RESIZE – Verifying and Fixing extracted Linux Partition
03:08:05 RESIZE – Expanding Linux Partition to 249,459,376,128 Bytes
03:08:06 RESIZE – Creating new IMG file and Updating Partition Table IMG file
03:40:49 Details Updated – Partition /dev/disk1s3
05:48:04 RESIZE – ERROR: Read/Write Error while copying Linux partition
05:48:06 Error – Read/Write Error while copying Linux partition
Can anyone help?
Xsy
Hi Xsy,
Just a quick initial thoughts:
– It may be that the IMG cannot be made that small (this would mean that the disk IMG would be very full, so this may be unlikely)
– The SD card lock slides to read-only (happens on my Unibody MacBook Pro all the time grrrr)
– Not likely, but not impossible: the IMG is corrupted
– Your SD card could be a fake, so it really doesn’t have this capacity (noname SD card, or SD card from eBay/China?)
The IMG is not compressed it seems, so that wouldn’t be an issue either.
Hans
Hi,
Thanks for your reply.
It’s not the Lock switch as by card doesn’t have one.
It’s not fake as I have verified the space and purchased from a reputable supplier.
The image is fine and have verified by hash.
I think it must be that the image is already pishrunk. But that is odd as I wouldn’t expect it to be that big.
Any other ideas?
Xsy
Hmm ,… OK … Do you have enough diskspace on your Mac left?
Resizing the disk would require at least an additional 250Gb free space on your Mac disk.
Hans
Hi Hans,
I could make a partition on my USB HDD. What format should It be? And do I just use Pi Baker to write the image to it?
Xsy77
You can use any external USB disk, no special formatting needed, as long as you Mac can read/write to it.
Maybe it helps if explain how the resizing works:
1) APB takes your IMG file and determines the Linux Partition.
2) The Linux partition from the IMG is copied to your Mac’s harddisk (so we do not change the original backup).
3) The extracted Linux partition (app. 249Gb in your case), will then be resized.
4) When done, the original backup will be copied to a new IMG file with the new resized partition inserted.
You can already guess that this can take up quite some disk space.
Unfortunately, under macOS I have not found a way to resize the partition on the fly (during a restore).
Hans
Hi Hans, thanks again for your reply.
The disk has about 500GB free and is currently formatted as HFS+.
It has some important stuff on it (including the image I am trying to resize) so would prefer to partition it off. Should I create a 256GB exFAT partition and then use Pibaker to flash this partition with the image?
Xsy
I hope that made sense
Anyhoo: all these actions take place on the disk of your Mac.
You should start by copying the original IMG to your USB disk (as you would normally do in Finder with drag and drop).
Then open de IMG from the USB disk in APB for a restore.
Hans
My Mac disk is only 128GB so is completely useless here I’m afraid.
I have at my disposal:
1x 128GB SD Card
1x 249GB SG Card
1x 250GB USB HDD
1x 1TB USB HDD
1x MacBook Air with 128GB SSD
The image file I am working with is currently 253GB.
xsy77
You don’t have to create a disk.
Step 1 – Copy the IMG file to the disk with plenty of free space (eg. the 1Tb disk?), just with Finder, nothing special needed.
Step 2 – Open APB and select the file we just copied (to the 1Tb disk if there is enough space left).
I’m not sure how much space you have left on the 1Tb disk, but I’m guessing you’d need at least 512Gb free, probably more. We need 256Gb for the IMG file that we copied to the 1Tb disk. We need additionally about 250Gb for the extracted Linux partition. And finally, we need the amount of space the resized Linux partition will become. So worse case I’d ball park it at about 750 Gb space needed.
So it looks pretty tight for what you have available.
Note: APB will create its temporary file (the extracted Linux partition) in the same directory as were the IMG file is located, which you selected for a restore.
Hans
I actually have the exact same problem with the read/write error (Read/Write Error while copying Linux partition)
I want to expand a image of a 32GB card to a 64GB card.
I have about 94GB free on my HDD but the HDD space will get full during the process. Even if I move the backup file to an external disk with 160GB free. The internal HDD will still get donw to about 400mb before the process cancels.
I have tried several brand new and old cards with different readers that are not locked.
Not sure if it is the case but maybe it tries to expand the image on my 96Gb of free HDD space?
I am 100% sure that I have selected the SD card for expanding restore.
ApB version 2.2.3 on Mac os 10.12.6
Any idea how I could solve the issue??
Thanks!
Newbie
Hi Newbie,
First of all; it may be worth trying the beta (currently v2.2.5, Build 28), which may or may not address any issues.
As for disk space, expanding a 32 Gb IMG for a 64Gb card will require (absolute worse-case scenario);
– 32 Gb for the original IMG (assuming it was compressed before)
– up to 32 Gb for the extracted Linux partition (most likely a little smaller of course)
– up to 64 Gb for the new Linux partition
– 64 Gb for the final expanded (temporary) IMG
Of course this would be the absolute worse-case scenario. Imagine if you’d be working with a 256Gb image.
So 94 Gb available will disappear real fast unfortunately. The reason for expanding all this is mostly related to resizing and the need to verify the expanded file system.
Maybe there is room for optimizing this, but I haven’t had much time in the past few months to work on this.
If you’re running low on disk space, consider using an external disk with enough space. I usually aim for 2-3 times the target disk size for free disk space.
Place the original IMG file on that external disk before doing a restore, and for the restore select the file on the external disk.
Theoretically the temporary files will then be created on the external disk as well – if this is not the case, then please report.
Hans
Hi Hans,
thank you very much for your fast reply.
I have removed the APB2 and installed the beta. Attached an USB Drive with 212GB free and did the backup to this drive. Then I started the restore. Again the internal HDD now with 123GB free filled up completely. For some reason it does not use the external HDD for the temp files for expanding the backup. This is actually the same in the release and backup version.
Newbie
Hi Newbie,
thanks for the feedback – looks like I have to go explore in the code and see why it would use the main disk instead of your external drive. I’ll have to get back to you on that one.
Hans
Hi Hans,
I moved some more data and connected the external HDD directly to the Mac. I started out with 144GB on the internal disk and it went down to about 25GB during restore. So it still used it but it was enough.
The next problem I ran into was the
ERROR – Unable to open destination /dev/disk4
Unmounting (as stated at another place in these comments) and rerun of APB worked.
Thanks for the great tool :)
Newbie
Hi Newbie,
glad to hear you were able to do a restore successfully.
I’ll look into the disk use issue as soon as I get a chance – it will take some work to get started with that again.
As for the disk not unmounting in APB: somehow, and only in some cases, macOS refuses to unmount, even when asking to force unmount. I have to figure out why or what is preventing the unmount
Thanks for the thanks, and thanks for using APB
Hans
As I’m always pleased to see others enjoying my applications:
If you’re interested in reading another person’s opinion, please check out Wolfgang’s article on his website: TheDigitalPictureframe.com
Hans
I had Backup and Restore success when I first installed in March but now having failures during Restore
MacBook Air (11-inch, Mid 2012)
Mac OS Catalina 10.15.4
ApplePi-Baker 2.2.3
Starting with 16 GB SD card from Raspberry Pi Raspbian
Backup was successful
Restore to a new 16 GB SD card
Last lines from the console
18:30:46 RESIZE – STATS:
18:30:46 File Size : 10,182,787,072 Bytes (19,888,256 Sectors)
18:30:46 Linux Partition : 9,905,963,008 Bytes (19,347,584 Sectors)
18:30:46 Starts at : Byte 276,824,064 (Sector 540,672)
18:30:46 Linux Target Size : 15,653,666,816 Bytes
18:30:46 RESIZE – Extracting Ext2/3/4 Linux partition
18:31:37 RESIZE – Verifying and Fixing extracted Linux Partition
18:31:38 RESIZE – Expanding Linux Partition to 15,653,666,816 Bytes
18:31:39 RESIZE – Creating new IMG file and Updating Partition Table IMG file
18:33:17 RESIZE – ERROR: Read/Write Error while copying Linux partition
18:33:21 Error – Read/Write Error while copying Linux partition
22 GB available on Mac at the failure time
Thanks for your help
Brian
Brian
Hi Brian,
The 16Gb card backup will probably need more than 22 Gb of disk-space to resize.
It creates a new IMG based on the original backup (which remains untouched) by first extracting the Linux partition (10Gb) and then combining it with the rest of the “new” IMG (16Gb). So you’d need at least 26 Gb (probably a little bit more).
Hans
Thanks for the response. There was an Xcode update and after reboot there was more free space on the Mac disk.
Restore worked fine!
Great software!
Brian
Awesome!
Yeah having 22Gb left on your disk is not much, especially when it is the main disk of your Mac.
Glad to hear it worked though!
Hans
Good morning everyone!
Trying to get this installed and I keep getting the following error after downloading:
“ApplePi-Baker-v2.2.3.dmg” is damaged and can’t be opened. You should move it to the Trash.
Chrome downloaded this file today at 7:05 AM from http://www.tweaking4all.com.
Duff8402
Thanks for reporting Duff8402!
Unfortunately, I cannot reproduce the issue. Which version of macOS are you using?
I just tested the link on this page, and it downloaded OK, opened OK, and the application ran OK.
Hans
I’m on Catalina 10.15.4 (19E287). I actually just bought this MacBook, Monday. My old one finally bit the dust.
I did a quick screen recording if that helps
https://youtu.be/tzZaB4zF11o
Duff8402
Looks like GateKeeper is showing this message.
I’m on the same Catalina version, and tried it on a Mac Pro (2013 trashcan) and a 15″ MBP (2016).
Just to make sure but did you set the security setting for “Allow apps downloaded from:” to “App Store and identified developers” ?
(under System Preferences -> Security -> General)
for others reading this, a reference screenshot of the error:
Hans
It is set like that now, but I pulled my old MacBook’s hard drive and linked it up with the new to migrate everything last night…so it very well could have pulled that setting from the old hard drive… Either way, it works now. Thanks much Hans!
Duff8402
Awesome!
Hans
Hi,
Thanks for your work.
Unfortunately the app keeps crashing on my Catalina 10.15.4 ..
I try to backup a microSD card and after 30% I get a message “/dev/disk2 disappeared” and the app will no longer respond. /dev/disk2 is a timemachine NAS which is offline at the moment.
Another bug: I just launch Applepi baker, click on “Open the advanced disk panel” and the app hangs.
Is there anyway I could help you sort this out ?
Bob
Hi Bob,
Those are definitely interesting problems, which I’d like to see resolved s well of course.
A disk disappearing, especially during backup, is something related to macOS (macOS reports to APB that the disk disappeared, APB itself will not eject a disk while doing a backup).
This can have several reasons. I noticed this with the internal SD card reader of one of my older Macs as well – this is why I switched to an external (USB) card-reader.
So that could be a reason, but there are more reasons why this could happen (albeit rare). For example: some SD cards are not reliable.
If you can test with another card-reader, then I would try this for sure.
Testing with another SD card could be worth a try as well.
(just to eliminate these two being a potential issue)
Having APB hang when opening Advanced view, is something that may be related to APB, but could also be related to previous two issues.
Best way to test this: remove all SD cards and external USB drives, and see if it hangs or not.
If all goes well: do the same test again with any USB sticks or USB harddrives (not SD cards or SD card-readers).
If still goes well: try the SD card. It may very well be that the unexpected disappearing of the drive keeps APB occupied while trying to determine the connected devices.
Let me know what your findings are, and I’ll do my best to help out where I can
Hans
Hi,
I was not clear enough sorry.
I can reproduce the bug: I don’t have any usb stick or any SD card connected, the NAS is powered down, user disconnected from the NAS, no timemachine backup in progress. Launch ApplePiBaker, click on “open the advanced disk tab”, APB hangs.
Bob
Thanks for clarifying, and apologies for not getting that right away .
I’ve seen 2 other users (one running Hackintosh) running into that issue, but I cannot reproduce the issue on any of my Mac’s (MBP 13″ 2013, MPB 15″ 2016, MB 12″ 2016, MacPro 2013 – all running Catalina 10.15.3 or 10.15.4). – Weh opening Advanced View, APB will ask macOS for the devices and it will dig through the IORegistry of macOS to find details. My guess is that going through the IORegistry is triggering this, but I cannot put my finger on it .
I’ll dig through the code again, to see if I can find an obvious “spot” where this may happen, but it will be difficult to find.
Hans
Hi Hans,
I really like your program ApplePi Baker. At the moment I use the latest version 2.2.3.
I noticed, that if I compress the image by 7z, your program only seems to use one core on my MacBookPro.
Maybe you can add multicore support.
Best regards,
Sebastian
Sebastian
Hi Sebastian,
Thanks for the compliment – good to hear you like APB
For compression and decompression I use a Linux library, so I have no control (that I’m aware of) over the amount of cores being used.
On that note: I wouldn’t use 7z, instead I’d recommend using tgz (tar gzip) or txz (tar xz).
Both offer faster compression/decompression, and 7z appears less reliable (in my experience anyway).
Hans
Hello
sorry for my English
I have a macbook from mid 2012
under catalina with apple pi baker V2
when i want to make an image of a sd card it stops at 50 percent
I cannot burn an image on an SD card
I do not understand the old version worked very well
Thank you for your help
sam
Hi Sam,
no worries about your English – I understand what you’re saying
First question: does the old version still work correctly with the same SD card and SD card reader? (you can download v1.9.9 to test this)
Since you Macbook is from 2012, I assume you’re using the internal SD card reader, which is not the most reliable in my experience.
I do not know if you have an external SD card reader, it would be worth giving that a try.
Also keep in mind that SD cards can become unreliable as well (notoriously known for that).
So testing with another SD card, if you have one, would be good too.
Additionally:
– did you use the shrink/expand function?
– I presume APB has Full Disk access in your security settings (otherwise you wouldn’t get to 50%)
– Does the log mention anything (for example: at which point it “stops”)?
Hans
Hello
thanks for your very quick response
I just made a backup of my SD card but for the format I chose .img
it works for the moment
but from time to time it tells me that the application does not respond and I do not know if it is normal
I use a usb key card reader
it already worked with this version of apple pie baker
it works again
I do not know why :)
sam
Nice to hear that it work again, just not so nice that we don’t quite know why it failed before.
There are a few standard reasons why APB may stop;
– Another application is intervening (eg. Anti Virus, File System tools, thumbnail generators, disk inspectors, etc)
– The SD card or SD card reader is not the most reliable (test another card or SD card reader).
– SD card or SD card reader makes “poor” contact and loses contact every now and then (clean the contacts).
Note: if you want to use compression, like ZIP etc:
I found TGZ (Tar GZip) and TXZ (Tar XZ) to work best. 7Zip is notoriously a trouble maker, and ZIP is slower and sometimes less efficient.
Hans
ok thank’s a lot I still can’t burn an image on an SD card
the application at one time does not respond
I will wait for the next update :)
I’m doing with etcher for the moment
Thank you very much for your work
sam
Thanks Sam!
Well, if Etcher works, then APB should as well of course.
Let me know if you observe anything that could trigger this, so I can look at it for a next release.
Hans
RESIZE ERROR
Dear Hans,
after a long time I am coming with maybe stupid question for the reason of a failure I got with APB 2.1.3 on Mac OS 10.14.6.
Using a 16GB SD Card for a shrinked Backup on my Mac Mini, the backup passed through, but there was no file generated on my Mac Mini. Please look at the attached log file.
23:14:14 Found Correct HelperTool version (1.5)
23:14:28 Drive added to list: /dev/disk5 (16 GB Generic- MicroSD/M2)
23:14:49 — START BACKUP
23:15:55 Backup Started – Making Disk to File Backup
23:15:55 Source – Disk: /dev/disk5 (16 GB Generic- MicroSD/M2) (15,931,539,456 bytes)
23:15:55 Destination – File: /Users/thomas/Documents/Raspi und OpenHAB/Raspi Backups/20200521_Raspi_backup_16GB.zip
23:15:55 Shrink IMG Enabled – Temporary IMG file: “20200521_Raspi_backup_16GB.tmp”
23:15:59 Backup started
23:29:18 Completed – Cloning Completed
23:29:18 Finished – Completed in 13 minutes and 22 seconds, average speed 19.9 MB/sec
23:29:18 Resizing – Attempting IMG shrinking
23:29:18 RESIZE – Attempting to MINIMIZE a Linux partition in the IMG file “20200521_Raspi_backup_16GB.tmp”
23:29:18 RESIZE – ERROR: Source IMG File does not exist
23:29:18 Resize Error – Source IMG File does not exist know that 75% of all failures are sitting in front the computer, but what was mine?
Thanks in advance for your support of your great software.
Best regards
Thomas
Thomas Dietrich
Hi Thomas,
don’t worry, in my opinion there are not really any “stupid” questions.
Well, a few things I’d check first:
1) How much disk space is left on your macos disk?
(You’d need, worse case scenario: 3x 16Gb free disk space before you begin with the backup)
2) Can you see if it really create the file(s) in your “/Users/thomas/Documents/Raspi und OpenHAB/Raspi Backups” directory.
(check while APB is running, it may remove the files after it completed its task).
(keep in mind: this could of course also be a bug in APB)
Hans
Hi Hans,
some minutes ago I made some tests again, to reach to the bottom of the failure. The selected file attribute was zip, the card reader is a Hama USB reader only for SD cards.
ad1.) the left available disk space are 302GB from 499GB, so there is plenty of space enough.
ad2.) I made 3 test runs from the same 16GB SD card, the first and the last failed, the middle one succeeded. During APB run including shrinking option the files appeared in the dedicated folder. But for the failed ones disappeared short before finalization of APB process. The succeeded one passed fine through the APB process in the dedicated folder and appeared complete after end of backup, APB was still running. I switched of APB and the file was still there in the same folder.
Will these findings help you to find an explanation for this mysterious behaviour of 2 failed and one passed shrinked backup by APB?
Have a nice evening, thanks a lot for your support.
Best regards
Thomas
The
Thomas Dietrich
Hi Thomas,
thanks for the thorough information!
It surprises me a little that 1 out 3 attempts worked, and the other 2 failed. I would have expected a more consistent behaviour, which makes me think some outside factor is interfering somehow. At least we eliminated disk space as a potential issue. Hmm … I wonder what is triggering this. Do you have any other software running (eg. Anti Virus, or a disk clean tool [to remove certain mac specific files from non-macOS volumes], or anything like that). Basically any software that could “touch” or look at the source SD card? (probably not the issue, but good to check)
Does this also happen when not using the shrink/expand option?
Hans
Hi Hans,
thanks for your friendly words.
I will do some tests for deep-drilling of failure behaviour, I assume that I will come back next week. I have some feelings in my tummy regarding the mix of options between shrinking anf the file attributes. So I will check this with details.
In former times I had several problems with old versions of APB, e.g. with admin passwords etc.. So now I found that the APB 2 has the shrinking option in addition beside the new source , backup and restore tab, and no request for admin pw! Simply great software as I appreciate it.
See you soon.
Thomas
Thomas Dietrich
Thanks Thomas!
APB2 took a lot of work (had to learn a lot about the new security “features”), so I appreciate the kind words
Let me know what you find, I’d be super interested in hearing what the issue could be!
Stay well!
Hans
Dear Hans,
could you please provide a mail adress to send a file with the findings? It will be a simple two-sided text file file and too long for the comments.
Would need for tomorrow?
Regards
Thomas
Thomas Dietrich
Hi Thomas!
I greatly appreciate that!
Feel free to email me at webmaster at tweaking4all dot com.
Hans
Hi Hans,
I did a lot of tests for running APB with shrinking function and espec. img & zip file attribute. It was a not reproducible behaviour, so some final files were stored on my mac and some not. Strange!
But then I found that there is new APB vers. 2.2.3, I used 2.1.0! So I did the same tests with ver 2.2.3 –> and all files passed, there is no strange behaviour any more. The tests have been executed with shrinkting function & img file attribute. It was my fault!
So my personal theorem was confirmed, 75% of all failure at computers are sitting in front of the keyboard.
Now APB 2.2.3 is running like a charm. Thank you very much for your support!
Best regards
Thomas
Thomas Dietrich
Ho Thomas!
Thank you very much for doing the extensive tests! It is very much appreciated.
I do a lot of tests myself, but it is always good to see other users test as well.
After all; different environments, different users, and there is always the chance that I overlook something.
So: Thanks again!
Hans
Hi Hans,
I am so happy to have found Apple Pi Baker since I don’t know Unix/Linux and prefer to stay away from using Terminal commands.
I am using the .tgz compression to Backup a SanDisk Ultra 32GB MicroSDHC card and when I restore it to another SanDisk Ultra 32GB MicroSDHC card, when I try the duplicate card the Raspberry Pi starts booting but then displays kernel panic. So something is going wrong. IS there another compression that is more reliable?
Best,
Jorgen
ApplePi-Baker version: 2.2.3 (Build 1)
(Helper Tool version 1.8.2)
Operating System version:
macOS
Version 10.14.6 (Build 18G5033)
x86-64 (64 bit application)
SSD Drive, Macbook Air 2012
Format APFS
Capacity: 959.99 GB
Available: 45.63 GB (13.96 GB purgeable)
Used: 923,291,435,008 bytes (923.29 GB on disk)
Jorgen
Hi Jorgen!
Sorry to hear you’re running into issue.
I doubt, but could be wrong of course, that the issue will be related to the used compression though.
If you really want to be 100% sure it is not compression related: try making an IMG backup and do a restore with that IMG file.
On that note: APB makes an identical copy of the SD card, byte by byte, even if the read bytes are not used or useless.
I also assume you did not use the expand/shrink method (as this potentially would change a partition).
Do you have more information on the error message?
Maybe something like “Kernel Panic: VFS : Unable to mount root fs on unknown-block” ?
I had to consult Mr. Google on this one as well, and from what I can see, it appears related to one of these issues:
Hans
Hello Hans,
What a great tool is ApplePi Baker!
I have sort of the same problem with restoring a .IMG to the sd card.
I have a working SD card. The Raspi is working fine on it. I made a .img of the sd card. And restore the .img to another sd cars. But the Raspi doesn’t start form the new sd card.
When the Raspi boots: First I see is the rainbow screen. Then a black screen with all lines of text(looks like it is booting). And the last line says: —[end Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ]—
Can you help me with what I’m doing wrong?
Geert
Hi Geert!
Thank you for the nice compliment and sorry to hear you’re running into issue.
The kernel panic you mentioned, has been around for a while now, and I’m wondering why this has not been addressed yet by Raspberry Pi.
Some suggest unplugging all USB devices from the Pi (appears to be a known “bug” in the hardware).
Alternatively, you could try a more powerful power supply, especially when you have a borderline OK power supply.
I’ve had one of those weaker power supplies, and my RPi had moments where it became unreliable/unstable. My crappy power supply was of course made in China, claiming 2.4A, but after replacing it with another 2.4A power supply things worked rock solid.
Others recommend formatting the SD card with SD Formatter first (from the organization that defined the SD card standard) and then restore the IMG.
There are also suggestions that one or the SD card may be bad, so testing with another card (preferably even from another brand) may help – preferably a class 10 SD card – avoid slower cards. In my experience, SD cards are in general not the most reliable way to store data, but unfortunately we’re stuck with it for the RPi.
There are quite a few more topics on this situation, and it is not ApplePi-Baker specific.
See:
You’ll see, with Google for example, that there are a lot of posts out there on the topic.
Hans
Hi Hans,
Thank you for your extensie reply!
I tried different SD cards, with no succes.
I tried SD formatter, no succes.
I don’t think it is the power adapter. Because it is an originally Raspberry Pi adapter. And pi works normal with the current sd card.
The last option I tried is to us SD Card Coppier in the Raspberry Pi OS. That works fine :)
Geert
Great to hear that you have a working solution.
Just being curious: did you use the Expand/Shrink option in ApplePi-Baker with your tests?
Hans
Hi Hans,
I tried to compress with .zip
And also uncompressed. Is this what you mean?
Geert
No, I mean the partition expand/shrink option.
In general when I test for issues, I first disable pretty much every option and use a uncompressed IMG.
The Linux partition shrink/expand option is experimental (but so far works great), so I’d definitely disable that option (by default this is disabled, but you may have enabled it at some point).
Hans
Hi,
Unfortunately ApplePiBaker v2.2.3 no longer works on MacOS Catalina v.10.15.5. under data protection / full disk access only the app is not a com.tweaking4all.ApplePiBakerHelper. I tried to add the file manually without success
T1N0
Did you do the 10.15.5 supplemental update?
(so not the 1015.5 update, but the new supplemental update)
I haven’t tried it yet, since my Mac is working on something right now. I’ll try later today.
Hans
Hi,
Yes the new supplemental update from June 1, 2020. I have now installed the program several times without success. greetings from Austria
T1N0
Addendum: the error was due to the MicroSD card. ApplePiBacker works as normal. Thanks for the quick reply :)
T1n0
Just installed the 10.15.5 supplement update and APB works just fine again.
Hans
This is what system report gives me:
System Version: macOS 10.15.5 (19F101)
Kernel Version: Darwin 19.5.0
Before doing the supplemental update, the helper somehow crashed or did not start.
After the update (without reinstalling APB), it started just fine.
Hans
FYI: When looking at System Preferences -> Security -> Privacy -> Full Disk Access
I see the helper listed (com.Tweaking4all.ApplePiBakerHelper) but NOT checked.
ApplePi-Baker itself is listed as well, and IS checked.
Hans
Addendum: the error was due to the MicroSD card. ApplePiBacker works as normal. Thanks for the quick reply :)
T1N0
Well it was (on my Mac) a valid statement that the Helper didn’t start with the original macOS 10.15.5. The supplement update seems to have fixed it. So maybe others may find benefit from this post after all
Glad it works!
Hans
Hi Hans,
I am using the .img with shrink/resize to Backup a Samsung EVO 32GB MicroSDHC card from a Raspberry Pi 3 B+, but the shrinking is not working and when I try to restore the card to a SanDisk Ultra 32GB card it says not enough space. Is this a bug?
15:23:51 Shrinking – Disabled Shrinking, no Linux Partition Found
This is the SD card I am trying to back up (it says there is a 30GB Linux partition)
/dev/disk2: Generic STORAGE DEVICE Media (32 GB)
READ ONLY
External Drive (USB)
Generic STORAGE DEVICE (rev.0902)
Partitions:
▹ /dev/disk2s1 “RECOVERY” 1 GB Windows FAT16
▹ /dev/disk2s5 “Untitled 5” 34 MB Linux (Ext2/Ext3/Ext4)
▹ /dev/disk2s6 “boot” 72 MB Windows FAT32
▹ /dev/disk2s7 “Untitled 7” 30 GB Linux (Ext2/Ext3/Ext4)
Best,
Jorgen
ApplePi-Baker version: 2.2.3 (Build 1)
(Helper Tool version 1.8.2)
Operating System version:
macOS
Version 10.14.6 (Build 18G5033)
x86-64 (64 bit application)
Jorgen
Hi Jorgen!
When looking at your partitions, I can see two potential problems;
You could override this, if I recall correctly it will notify you that there is not enough space and allows you to ignore this. I haven’t used that option in a very long time, so I could be wrong.
Hans
Hi Hans,
I tried ignoring that not enough space warning and when I tried the card my Raspberry Pi 3B+ would not boot. I looked at the original SD card with Mac Disk Util and it says Partition map: Master Boot Record. It was a SD Card that came with the Raspberry Pi 3B+ (might have had NOOBS).
Would be grateful if I was able to make a successful copy of the 32 GB SD card from my Raspberry Pi 3B+.
Jorgen
Jorgen
Hi Jorgen,
Sounds like the target SD card is just not big enough to hold the last few critical bytes.
Also sounds like all 3 last partitions are on an Extended Partition, and it may not be easy to convert those to regular partitions. On that note: you’d want to resize the last partition, so APB may or may not try to resize this (I do recall in my code, to recurse through all regular partition and handle all regular Linux partitions).
You could also try to shrink the IMG file by shrinking the last partition (30Gb Linux), and then shrink the Extended partition to fit.
I did see a description here that may help with this (work with a copy of the IMG file!), but you’d need to do this from a Linux machine (boot from a Live CD/USB, or very maybe a virtual machine).
You could try to resize that last partition when running the SD card on your RPI, but you’ll have to find what tools to use, as I have never done this.
Of course, when this is a backup of an unusable SD card, then that would not be an option.
As an alternative: restore to a bigger SD card. Not what you’d want to hear of course when you do not have a larger SD card laying around.
This does not need to be a 64Gb card, just an SD card that has the same amount, or more, of bytes available for storage.
Note: under macOS (and I suspect under Linux as well), you can mount the IMG file and it will appear as a disk device. The Linux partitions can be read if you have some sort of EXT FileSystem support on your Mac (eg. Paragon ExtFS, or MacOS FUSE). This will not allow you to resize the partitions, but it may help you recover potentially lost files/data.
Hans
Hi
I cannot get APB 2 to work on my 2014 iMac with latest Catalina.
Once installed, I run it and it asks me to install the helper tool, but does not recognise my password – after 2 attempts it throws a message and quits.
Any ideas?
Chris
Chris
Hi Chris,
For some reason the Helpertool cannot be installed – this can be caused by several issues.
Figuring out would take some additional info:
Hans
Hello Hans and thanks for your kind reply.
To answer initially, os version is 15.5.5 with update
Latest version of APB is in use – I will try the beta next though
Yes my user account is admin.
Interestingly on my MacBook 2015 12” it installed fine with no running issues!
Chris
Hi Chris – you’re most welcome
Apple has made quite a mess (IMO) of how Helpertools are used and what they are allowed to do.
So in all honestly, assuming I did everything right of course, I’m not entirely surprised.
With one of my Macs I actually had to do a reboot, after the supplemental update, to get the helper to work again.
After the 10.15.5 initial update, that specific Mac refused to run APB, whereas my other Mac ran it just fine.
I suspect, but could be wrong of course, this may be related to some sorts of caching. But that’s just a guess.
If you haven’t already: try a reboot of your Mac.
Hans
Hi.
ApplePiBaker crashes for me every time a moment after beginning the process of flashing, no matter the IMG file I’m trying to flash.
Any ideas what I’m doing wrong….?
ApplePi-Baker version: 2.2.3 (Build 1)
(Helper Tool version 1.8.2)
Operating System version:
macOS
Version 10.15.5 (Build 19F96)
x86-64 (64 bit application)
Richard
Hi Richard,
Unfortunately, there can be several reasons why this may happen.
I’m just mentioning a few here, and I’m sure you tried most of these already, but just to make sure:
Depending on the version you’re using, and depending on your security settings, this could be an issue.
Consider trying the beta version (v2.2.5-Build-21).
Hans
Hi,
Just like to say love your application. Great job.
Tiny suggestion. Could we have an optional prompt, before overwriting an existing backup file?
Also prompt before overwriting an SDcard ?
It does slow down the workflow, so thus would be helpful as an option.
ApplePi-Baker 2.2.5 (Build 21)
macOS Version 10.15.5 (Build 19F101) x86-64 (64 bit application)
Thank you.
Henry
Hi Henry!
Thank you very much for the nice compliment and the suggestion!
I’ll add your suggestions to the “To Do” list. It may take a little before I get to implement them, but they are now on the list
Hans
I noticed your “What is Apple Pi Baker” section still says “ Note : ApplePi-Baker does not shrink (or expand) partitions.”
John McNerney
Thanks for catching that John!
I guess I had not finished completely updating the article for that new feature.
I’ve update it right away!
Thanks again!
Hans
Hi Hans,
I haven’t done a download of the “Latest” 2.x in a pretty long time. When I thought I got to the link for the latest it downloaded 1.99.
May I ask you to post here the direct link to the very latest stable version of 2.x? Many thanks. Compliments to you.
-Ric
Ric Fink
I’ve updated the article so it now list the most recent release and beta versions under the heading Download ApplePi-Baker.
I used to post beta’s in the comments, but that proved to become quite confusing.
For your reference, these are the generic links:
Hans
I am running under Mojave, not Catalina, and have Full Disk Access enabled for ApplePiBaker, and the helper installed with elevated privileges.
I can write to most external cards without issue, but when trying to write to a CF card using the reader in a Dell 2407WFP monitor, I get the permissions dialog. This happens even when running with sudo.
I get lines like this in system.log:
Jul 1 12:10:39 bigmacintosh com.apple.xpc.launchd[1] (com.tweaking4all.ApplePiBakerHelper[29153]): Service exited with abnormal code: 217
The card has not been set read-only — I can create files on it from the command line without needing to use sudo, and was eventually able to write the image using dd from the command line.
Does anybody have any idea what could be going on here? It seems odd that it doesn’t work even when running with sudo…
John Y
Hi!
I *think* I might be in the right place to ask this question – let’s see!
Assumptions:
So… I tried all this… and the Pi won’t boot.
What should I be doing, step by step? Is this a partitions problem?
Thank for all the help!
Edd
Hi Edd,
you’re in the right place
The steps you took should work for your purpose.
I assume you did not use the shrink/expand feature of APB (which has some specific requirements, eg. MBR and Standard partitions).
Most likely your boot partition is goofed up. I have seen several posts (not APB specific, happens with other tools as well) reporting this, but I have never encountered it myself.
Since I have never encountered this, I had to consult Mr. Google and found a few suggestions:
Hans
I used no shrink/expand (should I?)
Thanks for your time!
Edd
I’d initially avoid shrink/expand, especially since regular backup/restore caused issues.
1) I’d copy the files from the original SD card. Place them somewhere on your Mac’s disk. Then insert the restored SD card and move the files there. (under the assumption that “boot” is FAT32).
2) If you’re unaware if it is overclocked, then there is a good chance that it wasn’t overclocked.
Overclocking is done by modifying the “config.txt” file (documentation, more info).
3) Just restore the IMG file to a different SD card yes.
4) In NOOB speak: Download ApplePi-Baker v1.9.9, and restore the IMG file with that. Here is a direct link to the download.
This old APB version does less verification of what is being done, and I have seen a previous post where a user managed to restore successfully with a similar problem.
Alos not: try making the backup without using compression – so just save it as an IMG file (if you haven’t already).
I’d be very interested in finding out what may trigger your issue – maybe there is something in APB that I can implement or fix to avoid these issues.
Hans
Sounds great – I‘ll give it a go next week and let you know of my success!
Feel free to prompt me if I forget…
Edd
Sounds good – no hurry
Hans
Yikes… no real success…
So… I added a huge USB stick to the computer instead and will use that for storage.
For now, as everything else takes ages and isn’t better
Edd
Hmm, I’m curious why Disk Utility will not allow partitioning your SD card.
Normally I’d say the card is set to read-only (with the Internal SD card reader of my Macbook Pro I ran into the issue that by just inserting the SD card, the “read-only” latch would slide into the locked position, effectively setting it to read only).
Copying files was more intended for accessing your files, in case the card doesn’t boot anymore.
The boot and recovery partition are typically not providing any useful data, unless you want to copy your boot settings to another boot partition.
If partitioning fails with Disk Utility, then being unable to NOOBs is kind-a in line with that. Somehow something goofy appears to be going on with your SD card. Could be as simple as being locked in read-only, but there may be something else going on. I’d test the restore with another SD card, to eliminate the SD card being a problem.
Hans
Thank you for this tool. Finally a simple tool that can deliver the basics of data size imaging and flexible restoration. It’s incredible how rare it is to find such a basic tool. I can understand why you just created it yourself. P.S. I could donate if you had more Crypto options (ETH 4 Exp). Appreciated
Notjus Tand
Thanks Notjus!
I very much appreciate your compliments!
Unfortunately I only have BitCoin and BitCash as Crypto currency.
I assume ETH is Ethereum? I’d have to read up on that one …
PayPal is an option as well (hans at luijten dot net).
Hans
UPDATE:
The beta version has been updated to v2.2.5 build 22.
It may or may not address potential issues with very large SD cards.
You can download it from the Beta Release section.
Hans
Yes! thank you – this resolved a strange problem with v2 and lacking permissions…looking much better now. Thanks again.
Rog