Menu

Imaging an apple laptop

Alec
2011-04-22
2013-04-05
  • Alec

    Alec - 2011-04-22

    So I have a functioning clonezilla server already for all my windows machines. I recently bought a macbook pro and wanted to be able to image it as well. I noticed I can't netboot it, which I guess is because clonezilla doesn't support netboot. I tried putting the live cd in and doing it through ssh, which said it worked successfully but it only took about 60 seconds and the image file was something like 15mb, so that didn't really work.

    In a perfect world there would be a way for me to get the mac to netboot off the cloneserver, but I can accept that limitation so long as I can still use the clonezilla cd to save an image to my server another way.

    I see on the clonezilla site that they say it supports intel-base macs, and I'm just wondering what it is that I'm doing wrong?

     
  • Alec

    Alec - 2011-04-22

    Maybe I'm on the wrong track but I see people saying that using the -q2 option will save HFS+ file systems, but I'm not sure where I give this -q2 option.

     
  • Alec

    Alec - 2011-04-25

    Is there a way I can edit my last post?

    I tried -q2 and it did the same thing, 'succeed' but with some 15mb image file. It seemed to work using -q1 which is DD, but I can't be running around with 350gb+ image files.

    Although I'm starting to believe that by 'support' clonezilla means this DD method, which while true, I find a little misleading.

     
  • Steven Shiau

    Steven Shiau - 2011-04-26

    By default, in the beginner mode, the option "-q2" is used, and partclone should be able to save your HFS+ partition in the smart way, not dd way.
    Which version of Clonezilla live did you use? Did you try to do a file system check on Mac OS before you use Clonezilla to save it?

    Steven.

     
  • Alec

    Alec - 2011-05-05

    I've been distracted these past few days, but to answer your question I'm using 1.2.8-23-amd64. I didn't run one before because I bought this mac brand new for testing purposes, so I just figured the file system was fine. But I've checked it now and it "appears to be OK."

    I just tried it again and using beginner mode it saved the disk in about 12 seconds. There were some errors that scrolled through quickly but I believe they said, "Error 38 when determining sector size! Setting sector size to 512."

    When it gets to sda2, which it identifies as hfsplus, it says:
    File System: HFS Plus
    Device Size: 0 Byte
    Space in use: 0 Byte
    Free space: 0 Byte
    block sized: 307 Byte
    used block: 0
    Elapsed: 00:00:01, Remaining: 00:00:00, Completed: 1.00%, Total Time: 00:00:01, 100% Completed!

     
  • Steven Shiau

    Steven Shiau - 2011-05-09

    Apparently something went wrong there…
    Which version of Mac OS did you use?

    Steven.

     
  • Alec

    Alec - 2011-05-11

    It's version 10.6.7.

     
  • Steven Shiau

    Steven Shiau - 2011-05-17

    Could you please give Clonezilla live 1.2.8-42 (i686) version a try?
    Or 20110513-natty a try?
    Please let us know the results.
    Thanks.

    Steven.

     
  • Alec

    Alec - 2011-05-20

    That i686 version seemed to work, I haven't tried to restore the image yet, but the saving part looked like it went successfully.

    Maybe I didn't understand the naming scheme but I thought the AMD64 version was for 64bit intel processors, which this mac has. Is there a reason why the i686 seems to work instead?

     
  • Alec

    Alec - 2011-05-20

    To follow up: the i686 iso was able to save an image and restore an image. So that's great that it works now, thanks for your help Steven.

     
  • Steven Shiau

    Steven Shiau - 2011-05-25

    Thanks for confirming that.
    Yes, i686 version should work for most of the modern PC. Actually amd64 (or x86_64) should work, too.

    Steven.

     
  • Anonymous

    Anonymous - 2011-07-08

    Hi Steven!

    I just want to inform you about my experience with amd64. I've tried with 2 variants of it (stable clonezilla-live-1.2.8-46-amd64.iso and alternative testing clonezilla-live-1.2.9-12-amd64.iso ) but both failed with cloning hfs+
    I'll give a try to i686 to see whether there is any difference.

    To all: Can anybody of you point to some place where I can find some more information/guide/help about using clonzilla server for dual boot mac deployment (os x + win7)?

    /Nenad

     
  • Anonymous

    Anonymous - 2011-07-08

    Didn't work with i686 neither or to be more precise it stuck at boot.
    Only first line is shown then blinking cursor … to eternity.

    The strange thing is that I could mount and list content of my hfs+ partition when going to cmd line in clonzilla live (amd64).
    I have one other thread where I explained that I failed on booting iMac 4:3 - tried with 4 different versions of Clonzilla.
    Only blinking cursor in the top-left corner.

    The other description is from my macbook pro os x 10.6.8 core i7 and iMac core 2 duo with os x 10.5.8 where I "just" failed with making an image of hfs+ partitions.

    iMac's failed to boot from clonezilla were core 2 duo OS X 10.6.8

     
  • Steven Shiau

    Steven Shiau - 2011-07-22

    Nenad,
    Thanks for the report.
    Could you please tell me the problem there was about failing to boot or when partclone was cloning or imaging the file system?
    Thanks.

    Steven.

     
  • Adam

    Adam - 2011-08-24

    Hi,

    I am having the same problem where I can't clone my hfs+ partition. I am trying to clone the hard drive on my 2011 core i5 mac mini running os x 10.7 with a boot camp partition and save the image to an external hard drive so I can restore it to other mac minis.

    Right now I'm using version "clonezilla-live-1.2.10-6-amd64." I had used option q2 to clone the hard drive but it always skips the 250GB hfs+ partition (creates an image file of only ~100MB for it but still says clone was successful). However the NTFS Bootcamp partition was cloned successfully and I was able to restore it to another mac mini.

    I am now in the process of using dd, which is option q2 i believe, to clone the hard drive and it looks like it should work but I would much rather do this using the default imaging program to save time and so I don't have a huge image file on my external hard drive. Any idea why option q1 is having trouble with my hfs+ partition?

    -mnxtr

     
  • Adam

    Adam - 2011-08-26

    I was able to fix my problem using version 20110721-natty. I restored the image to another computer and it worked perfectly using the default settings.

     
  • Steven Shiau

    Steven Shiau - 2011-08-29

    Cool! Thanks for reporting that.

    Steven.

     
  • bernabap

    bernabap - 2011-10-24

    I am experiencing this problem with Debian 6.0.3 amd64, clean install, using drbl from "deb http://drbl.sourceforge.net/drbl-core drbl stable".
    All hfsplus partition on client has 0 bytes, no hfsplus module is loaded on the client, is it possible to find partition size without hfsplus module loaded?

    Look what I got the end: http://imageshack.us/photo/my-images/824/img20111024013106.jpg

    Older image? Which image?

    Client is using kernel 2.6.32-5-amd64 from drbl repo.

    I got a warning configuring drbl on server, this may be my problem?

    Warning! Unable to find the fine-tune file /opt/drbl/setup/files/DBN/DBN6.0.3/firstboot.DBN6.0.3.drbl, use /opt/drbl/setup/files/DBN/firstboot.default-DBN.drbl as /etc/init.d/firstboot for DRBL clients!
    This may cause some problems to DRBL clients!

    I also got some logs from client:

    dmesg:
    hda-intel: Codec #3 probe error; disabling it…
    pci 0000:00:1a.7: EHCI: BIOS handoff failed (BIOS bug?) 01010001
    pci 0000:00:1d.7: EHCI: BIOS handoff failed (BIOS bug?) 01010001
    PM: Resume from disk failed.
    svc: failed to register lockdv1 RPC service (errno 97).

    partclone.log: http://pastebin.com/Ga8dtZjr

    I should mention that with all others file systems works perfect.
    I can make it hfsplus partitions work using live version 1.2.8-42-i686 from usb disk.
    If the problem is the amd64 version, is there a way to only upload the i686 version to the clients instead the amd64?

    Or is there something else I can do to help you help me?

     
  • bernabap

    bernabap - 2011-10-24

    It seems that I was blind, somehow I missed…

    of course that already exist an option for use live version on clients on drblpush menu

    I just downloaded my self the version I know it works with all my systems, clonezilla-live-1.2.8-42-i686.iso

    and used this command on server:

    cd /path/to/clonezilla/iso
    /opt/drbl/sbin/drbl-ocs-live-prep -i clonezilla-live-1.2.8-42-i686.iso

    reference: http://clonezilla.org/use_clonezilla_live_in_drbl.php

     
  • Steven Shiau

    Steven Shiau - 2011-10-28

    Cool. Thanks for confirming that.

    Steven.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.