How to create a bootable clone?

So, I'm returning after a while in Mac-land, and there's one thing I'm missing that the Mac got very right. There were several apps that would easily clone your system onto a backup disk and make it bootable. It was the best backup system I ever had. If my disk died, I just rebooted onto the other one, and when I got the replacement, I used basically the same process to do the restore.
How can I accomplish this in Arch? The "dd the disk" method isn't going to work out to well, as I need support for disks of different sizes, partition layouts, and interfaces. Rsync seems promising, but there's a fair bit of work to do after the copy since things like FS UUIDs will be different.
The way this works on Mac is basically like this:
1. rsync the source to the destination, excluding a few things that are useless, as recommended by Apple.
2. Make the clone bootable. This is easy on Mac as boot code is never written outside the root FS, and doesn't even need to be installed into the FS header - all that has to happen is that the inode number of the boot code is written to a specific spot in the HFS+ header.
3. The Mac's firmware (either PPC OpenBoot or X86 EFI) will scan all attached disks for bootable filesystems and show a list for you to pick, when interrupted with the right key.
4. The root FS is always the boot FS, which eliminates the need for configuring the root FS in the boot code on fstab. It just mounts whatever it booted from as root. This neatly eliminates the need to post-edit these files after a clone
As I see it, the difficulty of automating this process in Linux really has a lot to do with the lameness of the PC BIOS.
I don't want to roll my own cloning code. Backups are too important to trust it to the kind of dirty hack I'd come up with. What can I use?

So, I feel I have to respond somehow to this, so as not to seem ungrateful for the nice responses, but none of these answer the question I actually have. I think the typical Arch-user's DIY attitude goes a bit too far, sometimes.
I know how to copy the files over, how to change the UUIDs, how to install GRUB, and how to create the 3 magic device nodes (null, console, and zero, for future reference). Just about any of these suggestions would be fine for a one-time or once-in-a-while process, but I want something that's painless enough to use as a daily backup routine. There's also the problem that they don't handle well the case where I don't want to take over the entire backup disk, and especially don't handle odd cases such as GPT disk format, where you shouldn't install boot code into the partition table area. They also aren't designed for the case where the backup device is an external disk which isn't intended to be remounted internally when disaster strikes, or the case of laptops where you don't want to have to remove /dev/sda from your machine to test.
Basically, it amazes me that apparently nobody has written software yet to automate what's probably a very common desire. Google didn't find anything of the sort, so I came here to ask actual human beings. (Yet another case where Google is not wrong )
Where I'm at now is to rsync everything and create the 3 device nodes, and then stop. This gets me to the 90% mark, is simple enough to be foolproof, and makes restoring the same as backing up. If there's no professional-feeling way to do the rest, I'll stop there.
None of this post is intended sarcastically, and please don't take offense at my laundry-list of complaints for the suggestions given. I think my posts could stand to be a little clearer if a paid sysadmin with 11 years of Linux background can gather responses that say things like "use cp" and "DONT USE THIS COMMAND UNLESS YOU KNOW WHAT YOU ARE DOING"

Similar Messages

  • How to create a bootable CD for v10.7.1

    how to create a bootable CD

    Make Your Own Lion Installer
    1. After downloading Lion you must first save the Install Mac OS X Lion application. After Lion downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the Lion installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing Lion.
    2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
    Open Disk Utility in your Utilities folder.
    After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    3. Locate the saved Lion installer in your Downloads folder. CTRL- or RIGHT-click on the installer and select Show Package Contents from the contextual menu. Double-click on the Contents folder to open it. Double-click on the SharedSupport folder. In this folder you will see a disc image named InstallESD.dmg.
    4. Plug in your freshly prepared USB flash drive. You are going to clone the InstallESD.dmg disc image to the flash drive as follows:
    Open Disk Utility.
    Select the USB flash drive from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the USB flash drive volume from the left side list and drag it to the Destination entry field.
    Drag the InstallESD.dmg disc image file into the Source entry field.
    Double-check you got it right, then click on the Restore button.
    When the clone is completed you have a fully bootable Lion installer that  you can use without having to re-download Lion.

  • How to Create a Bootable Flash Drive to do a clean install of Lion.  I have tried to use the InstallESD.dmg but it still will not do a clean install so that I do not have to do a reinstall from the Recovery (That just re downloads and takes over 6 hours)?

    How to Create a Bootable Flash Drive to do a clean install of Lion.  I have tried to use the InstallESD.dmg but it still will not do a clean install so that I do not have to do a reinstall from the Recovery (That just re downloads and takes over 6 hours)?
    The system I'm have is a Mac-mini that had SL on it and no SuperDrive.  I have also call Apple Support and they have really have not been to much help over 1st did my up grade to Lion and Installed the Lion Server.... it lost my SSL that I paid for and kill almost on of my server setting, plus kill all my web servers (using apache vhosts), and not to say the LDAP will even let remote users login to your laptops.
    PS: There is no way that I'm going to buy a Install USB from Apple... They have over billed me over $300.00 because the Apps Store still has bugs (Glad I did not write that App/Service)
    If there is anyone that can give in the information to create a USB install stick, I would be very thinkful.

    Here you are bro, courtesy of "softpedia.com"....brilliant site!!!
    If you ever had problems with your Mac OS X installation you know that the first thing you should do is to check the startup volume using Disk Utility.
    After the check has ended and, if the errors exceed a certain level of seriousness, the Disk Utility application will require you to restart your Mac and use its Mac OS X Install disc counterpart.
    Other users may have to reinstall OS X altogether, but will find, or already know, that their SuperDrive (a CD/DVD reader and write combo drive) is not functioning properly and it will not be able to read the Install disc.
    Although this might happen to Mac OS X Leopard users due to faultyhardware, the vast majority of problematic SuperDrives will be encountered inside Snow Leopard running Macs.
    This is due to the updated SuperDrive firmware included in either the Install disc or the software updates one has to install to reach the latest version of OS X, namely 10.6.6.
    This can be fixed by flashing the SuperDrive’s stock firmware using free command line tools that one can find for free online (I will write about this process also, but at a later time because this article only focuses on allowing you to create your own alternative USB boot disc).
    If you are reading this last bit of information with skepticism, than you should know that it happened to me too. Despite all my tries to make it work properly, the SuperDrive kept on munching any inserted DVDs and just popped them out in about twenty seconds.
    The workaround to this issue was to create my own Leopard bootable USB memory stick. I am not suggesting a Snow Leopard bootable stick mainly because there are lots of users that have decided to buy the cheaper, Upgrade version, which I have not tested and, therefore, I’m not sure if it will work properly once written to a USB disk.
    And now, here are the exact steps you should follow in order to obtain a fully bootable Leopard (or Lion) Install disc.
    Step 1 (If you already have the Leopard install disc DMG file you can skip to Step 2)
    Launch Disk Utility (you can find it inside /Applications/Utilities). Here select the Leopard Install disc in the list of drives on the left and click on the New Image menu entry at the top of the window. A save message will appear where you will have to select the Desktop as a destination.
    Step 2
    After Disk Utility has finished creating the Leopard DMG, insert your USB stick and erase all data and reformat the disk. To do this select the USB in the list of drives on the left and, after clicking on the Erase tab on the right side of the window, choose the Mac OS Extended (Journaled) format and click the Erase button beneath.
    Step 3
    After the USB has been reformatted, download the SuperDuper app from HERE and launch it. Once SuperDuper starts, you will only have to select the DMG in the Copy drop-down menu, your USB memory stick on the right and hit the “Copy Now” button.
    One can also use Disk Utility for this task but creating a bootable USB stick failed 2 out 4 times when copying the DMG to the stick (with the exact same settings each time). Creating the bootable stick using SuperDuper proved to be the perfect way to do it because it worked each of the 4 times I tested it.
    The steps above can also be used to create a bootable Mac OS X Lion USB by using the InstallESD.dmg image you can find inside the Lion installer (named “Install Mac OS X Lion.app”) downloaded from the Mac App Store in the /Applications folder.
    To locate the InstallESD.dmg right click the Lion installer, select the “Show Package Contents” entry, go inside the “Contents” folder, and from there into the “SharedSupport” folder. Inside this folder you can find the InstallESD.dmg you can use to create your own bootable Mac OS X Lion USB stick. To do so, go to the third step described above and use the InstallESD.dmg as the DMG to be copied to your USB disc.
    That’s it! Once the process ends you will have a fully bootable Leopard (or Lion) USB disk that you can use as an alternative to the Apple’s DVD Install disc that comes bundled with all Macs.
    To use your newly created bootable disk you will have to restart the Mac, press and hold the OPTION key until the StartupManager appears. Here, select the Mac OS X Install disk using your keyboard arrows and press return to start from the selected drive.

  • Anyone know how to create a bootable USB from a enc file?

    Does anyone know if its possible and if so, how to create a bootable USB disk from an enc file?
    I need to do this to accomplish a firmware update on my Samsung ssd?
    Any help would be greatly appreciated.
    Thanks

    sig wrote:
    Ask Samsung for their help. enc files are copy safe protected.
    I have been trying to but have not had much joy, will attempt again on friday.
    Thanks

  • I need help transferring Bootcamp (Windows XP) from my old Macbook Pro to the new one. How do I make bootable clone of Bootcamp?

    Hi I just got a new MacBook Pro I need help transferring Bootcamp (Windows XP) from my old Macbook Pro to my new Macbook Pro  Mac OS X 10.7.4  2.6 Ghz Intel Core 17. How do I make bootable clone of Bootcamp?

    you can't just move XP even if you took the hard drive and have Windows boot and function.
    Apparently there are Windows tools to sanitize the OS and strip all the motherboard drivers and services.
    Time to get a supported OS. Don't want to pay, then use 8 for the time until it goes on sale.
    There are no drivers for even Vista on 2011 and later Macs.

  • How to create a bootable OEL5.8 .iso from scratch?

    Are there any instructions available about how to create a bootable .iso file, for installing OEL5.8, from scratch?
    We need to build a system which is a customised version of OEL5.8; we want to add some extra RPMs and remove others. We have an older build system which does this based on OEL5.5, but the way it has been built makes this hard to upgrade. We'd like to try starting from OEL5.8 again.
    One possibility would be to download the initial OEL5.8 .iso; mount this as a loop-back filesystem; adjust some RPMs and config; then re-create an .iso from this file. However, this doesn't allow us to update the kernel very easily. We'd prefer an approach which starts from a set of RPMs (perhaps including modified kernel RPMs) and builds the .iso from scratch.
    Many thanks for any pointers.
    Edited by: user11244224 on Mar 5, 2013 7:16 AM

    You cannot simply edit an .iso image file because the iso9660 filesystem is read-only. And even if you create your own iso image from scratch, with a bootable code, any package you add will not be part of the initial installation, unless you recreate the appropriate software repository database and anaconda installer. Sounds like overkill to me for what you are describing.
    Why would you want to go through the endeavor to adjust the Oracle Linux distribution DVD for the purpose of creating a customized system? Why not using Kickstart instead, or a simply create a post-installation script to modify the installation to your needs?

  • How to create a bootabale clone?

    My Mac Book Air [MBA] has 128GB solid-state drive.
    I have bought an Iomega External Portable Hard Drive Mac edition for the back up through Time Mechine and to create a bootable clone.
    Can some one help me or direct me to a manual that will help me organise my steps in creating
    Partitions on the Iomega eGo Portable Mac Edition 320GB Hard Drive so one partition could be reserved for Bootable Clone and the secon partition for the Time Mechine back up?
    The Iomega Portable External HD comes with the following software: MozyHome, Iomega QuikProtect, EMC Retrospect, If those of any help in me creating Partitions.
    I would very greatly appereciate your helpful guidance
    Regards
    Message was edited by: snowshine
    Message was edited by: snowshine
    Message was edited by: snowshine

    Hello Neil,
    Thank you for that tip.
    Do you feel I would need any special software to create a bootable clone on my external HD? OR is there a built-in facility in the Snow Leopard OS to create a bootyable clone to external HD?
    Thank you in advance for a reply.
    Regards

  • How to create a bootable copy of MacOs 10.5.8 as a start up disk

    I have leopard  installed on my main powermac G5 plus my two Powerbook laptops.
    The install disk works fine in the slot loading laptops but when I put it in the disk drive of the G5 then it isn't being read. I can hear the drive  trying to read it but it eventually spits it out.
    I was therefore looking to make a bootbale version from the disc while it is in the laptop so that I can use this version to do a restart and permissions repair.
    Firstly is there any reason why this disk is not able to be read by the drive in the G5? It reads almost every other disk I insert and this behaviour is unique to the one disk I want to work more than most.
    I reckon if I can repair the permissions on the start up disk then the chances are that the drive may accept the Os disk. Maybe.
    Secondly how do I go about creating a bootable start up device on a usb stick or such like from the existing disk?
    Any help would be most welcome.

    Trouble is, most PPC Macs will not boot from USB, but if you wish to try... clone the Install Disc to a Flash drive or such, or if big enough Install OSX to the flash drive, then he hard part...
    You need a USB2 drive with an OS X system installed (I am using 10.4.3, though any I think will work as far as what the machine can boot). As you know, there are many different ways of getting a system on a USB drive; contact me if you have any questions on how to do that, or search macosxhints.com for that information.
    Connect the drive to your machine, and find out which partition the OS X system is installed on. I usually find this by going to Disk Utility and looking at the info for the partition on the USB disk with OS X. That is, disk2s3 is usually for a USB disk with no OS 9 drivers installed that is the second disk disk. disk3s9 might be a USB disk with OS 9 drivers that is considered the third disk. There are other ways of finding this out, but in my case, my disk is disk2s3 (the 3 on the end will come into play soon).
    Start up the machine in Open Firmware (this is the fun part). Hold Command-Option-F-F right after the machine is turned on.
    Here is the moment of truth. If this step does not work, I have had very limited success getting a machine to boot off USB2. In Open Firmware, type devalias, and you should get a list as output. In this list, look for ud, usually below where you see hd (ud is "USB Disk," I presume). If found, it will usually have beside it /pci@f2000000/usb@1/disk1, or something similar. Again, if you see this, I have not had this fail yet.
    Now type printenv boot-device, which will usually get you output of boot-device hd:,\\:tbxi. (See where this is going yet?)
    Type setenv boot-device ud:3,\\:tbxi where the number after the colon corresponds to that partition number we found in step two. You should get an ok back.
    Type printenv boot-device, and you should see the change displayed already. Something like:
    boot-device        ud:3,\\:tbxi        hd:,\\:tbxi"
    http://hints.macworld.com/article.php?story=20060301112336384
    You can also try the Install Disc in a PB, boot the PB in t mode, boot the G5 holding the Option/alt key down & see if the Install Disc in the PB shows up as a boot choice.

  • With lion how to create a bootable flash drive?

    with lion how do I create a bootable flash drive?

    With an utility such as Carbon Copy Cloner.
    (63008)

  • Software to create a bootable clone of win7 BC drive, running Lion

    I'm running Lion on one internal drive and BC win7 on another internal drive. For a number of years I used OS X 10.6 and WinClone and never had a problem creating any of my bootable clones of the BC drive (knock on wood).
    My current Lion install will not run WinClone. One solution is to create a new partition dedicated to 10.6, install WinClone and create bootable win7 BC clones from the 10.6 partition. I can do that but it seems a bit cumbersome if I'm only going to use the new 10.6 partition in order to use WinClone again.
    Any software out there similar to WinClone that I can run under Lion?

    How are your web searching skills?
    I'd say this falls into the "not daily, but multiple times a week" category of questions.

  • Using Disk Utility to create a bootable clone

    After searching around, I find that the Disk Utility Restore function is the safest way to make a bootable clone. I've tried Carbon Copy Cloner, but had some minor problems.
    However, DU Restore always renames the clone disk with the same name as the source disk. This leads to problems, such as confusing Time Machine as to where it should back up.
    Is it okay to rename the bootable clone volume, or does it mess things up when you rename a volume after it has been created? Is there any way to preset a name when using DU Restore?

    CCC does not cause data corruption and has been put through a lot of testing. Be sure to check for updates. You should have CCC 3.1.
    If you have problems, I would suspect corrupt files and don't rely on Disk Utility First Aid to find or repair problems. When you need something stronger, buy Alsoft Disk Warrior.
    DU Restore does work, better now in Leopard. People use to forget to turn off "Ignore Ownership" which is now handled properly.
    And always repair permissions afterwards before using, no matter what you use.

  • How to create a bootable DVD?

    Hello,
    I want to create a bootable DVD (or USB stick for that) with a minimal Mac OS 10.8.x on it - and I want to include some utilities of my own choosing with it. There are apps available for doing that, but all of those I have found so far cost money that I would rather not like not to spend, if possible.
    Does anyone know how to do this or does anyone know of a free app that helps doing this?
    Any help is very welcome!
    Regards
    Jim Knopf

    The easiest way to do that is with an USB drive.
    1. Open App Store > Purchases and download OS X Mountain Lion.
    2. When the installer appears, follow the steps and select your USB drive as the destination to install Mountain Lion.
    3. When the installation finishes, install the apps you want.
    Also, you can use Lion Diskmaker to create a bootable USB drive with the OS X installer there, so you can start from it if the hard disk is damaged.
    If you are asking to "reduce" OS X and put it on a USB drive, you shouldn't do it. Instead, install the complete Mountain Lion on the USB drive

  • How to create a bootable thumb drive for OSx 10.7 ?

    Greetings - This is my first system install without using a DVD. I've seen caveats re: making a bootable thumb drive to avoid future problems. Please refer me to an Apple document that explains how to create such a bootable thumb drive from the downloaded disc image. Thanks!

    Most users create an image when they have multiple installs. You can simply drag the Install Mac OS X Lion installer from Applications to another drive or folder on your computer. Apple removes the installer after it runs.
    You can always download again from Purchases in the Mac App Store (MAS).

  • How to create a bootable drive for 10.5.8 Leopard?

    I wonder if I can use the DVDs following the machine with the Old system of Leopard in order to create a boot drive when my system now is updated to 10.5.8?
    Not sure where those recovery disks / system disks are.
    Can I createa a boot disc or drive for 10.5.8 without the installation disks?
    Or can I create a boot disc from the existing system files on my mac?

    Simen Myrberget wrote:
    Ok. Just to be sure, my Macintosh Hd now contains 180GB of data and the total size is 240GB. So Superduper will "understand" based on my settings? that Superduper is only suppose to make a boot of the system and utilites not the entire 180 GB of information?
    No, I'm afraid not. It will clone everything.
    I forgot that you don't have the DVDs. This is how you'd get a system only boot drive.
    Simen Myrberget wrote:
    I can make this with a partation size on another drive of about 40GB?
    If you had a way of getting a fresh install I know from experience that a 20GB partition would work, (maybe smaller).
    Best way is get an ext HD of at least 240GB ideally. Clone it, (and boot from it to check it works). Boot back into your regular drive and do the update on that. Is this clone your only backup strategy?

  • How to create a bootable Mac OS X 10.10 on Windows ?

    My Macbook Pro Retina (Mid 2012) don't have Optical Drive and have an error while install new OS
    Now i want to make a new bootable one, because i think the old ones got error. And I just erased my SSD to install new and clean Yosemite so i can not access to my Mac anymore to create a new copy of usb to install. Please help me ! I just have the only Macbook and the laptop with windows 7!

    You would need to connect via SCSI cables and have SCSI hard drive with proper termination. The external drive also needs to have a SCSI ID number different than the internal drive. After you get the external drive to mount and have installed a Mac System on it you can select it as the startup drive by going to the Startup Disk control panel and selecting it, then restar tthe Mac. Another way to boot from the external is to hold the Command, Option, Shift, and Delete keys (COSD) while starting.
    Some links to info below. Good luck.
    http://www.macintouch.com/readerreports/harddrives/topic4458.html
    http://knowledge.seagate.com/articles/en_US/FAQ/194039en
    http://www.jagshouse.com/plusharddrive.html
    http://www.ccadams.org/se/hard_disk.html
    http://support.apple.com/kb/ta27743

Maybe you are looking for

  • Printing to a printer over the internet - someone please verify

    My mission was to be able to print to my Home Xerox 6300N printer behind a firewall from anywhere using the internet as my connection. I used LDP as my protocol - could not seem to get anything else to work. My Gateway is a static address using a DSL

  • Cannot detect wireless after install windows 7 in MacBook Pro

    Anyone can help ?

  • . . I finally did it.....X D

    i dropped my ipod touch. i swore i wouldn't but i did. i was cleaning it over a glass end table, and it slipped, hitting the glass table and then the carpet below it. unfortunately, there's a chip in the chrome exterior but no other damages have been

  • Manual excise in MIRO

    HI Guru's, I  have created p.o with manual excise JEXC condition type.And have done migo and posted the excise. when i am doing MIRO in simulation i am not able to see the manual excise amount.Please help me if any configuration left . Thank's and Re

  • Update PO Header Description field for Blanket Purchase Agreement

    Hi all, I am trying to update description field for Blanket Purchase Agreement using Import price catalog. Open interface runs successfully and not getting any errors but, the description field is not getting updated. Is it possible to update BPA usi