Create a custom live/installer disk image for Ubuntu using Pinguy Builder

If you have your Ubuntu installation exactly the way you want it, and you want to create a live/installer disk image, you can use Pinguy Builder, a fork of Remastersys (which has since been abandoned).

Go to the Pinguy Builder website to get the appropriate version of Pinguy Builder. If you're using Ubuntu 14.04 LTS, then you want version 3.*. If you're using Ubuntu 15.10, use version 4.*.

If you're using Ubuntu 15.10, you'll have to manually download and install xresprobe. You can get the 15.04 version from the Ubuntu packages website, and that will work on 15.10.

pinguybuilder01 The Pinguy Builder website will take you to SourceForge for the download files.

pinguybuilder02 Once you've selected your download, click Save file

pinguybuilder03 After it downloads, double-click it to open it.

pinguybuilder04 The Ubuntu Software Center should launch up. Click Install.

pinguybuilder05 When prompted, type in your password and then click Authenticate.

pinguybuilder06 Wait for Pinguy Builder to install.

pinguybuilder07 Once it's installed, you can close the Ubuntu Software Center.

pinguybuilder08 You should then be able to find Pinguy Builder in a search of the application menus.

pinguybuilder09 Once again, you'll have to authenticate. Then click OK.

pinguybuilder10 If you have other programs still open (e.g., Firefox), close them. Then click OK.

pinguybuilder11 In addition to backing up your system, you may also want to back up a particular user profile to be the default user. If so, click Select next to User, whose current settings will be used as default.

pinguybuilder12 Select the user and then click OK.

pinguybuilder13 To create your backup live/installer disk image, click Dist.

pinguybuilder14 Confirm by clicking OK.

pinguybuilder15 Once the process is done, you'll get a message saying so.

pinguybuilder16 You can then find your .iso in /home/PinguyBuilder/PinguyBuilder. You can burn that as a disk image to a blank DVD or "burn" it to become a bootable USB. Or you can use it to install to a virtual machine.


Restore Failure: An error (32) occurred while copying. (Broken pipe)

The problem

If you are Cloning an image using Thunderbolt and Disk Utility (or even using Firewire instead of Thunderbolt), you may come across this error message:

I've actually never experienced that with Thunderbolt (not saying it can't happen), but I've had it happen twice using Firewire. At first I thought it was the cable ("broken pipe" would indicate to me a patchy physical connection of some kind), so I switched out the cable, and that didn't help. In another situation, I knew the cable was good, because I'd used it several times.

A possible solution

Try switching the direction. So if Mac A is in target disk mode and Mac B is in recovery mode, make it so Mac A is in recovery mode and Mac B is in target disk mode.


I don't know that this is the official workaround/fix or that this will always work, but I've gotten this error twice, and this workaround/fix worked in both cases.