• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

MacOS + BootCamp - Does it work?

Scheduled Pinned Locked Moved Solved
Mac Problems
3
11
2.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    ttrammell
    last edited by ttrammell Mar 20, 2017, 11:12 AM Mar 20, 2017, 2:42 PM

    Server
    • FOG Version: 1.3.5 SVN 6067
    • OS: CentOS 6.7
    Client
    • Service Version: N/A
    • OS: Macintosh
    Description

    This is a similar question to this older post: https://forums.fogproject.org/topic/7629/macos-with-bootcamp/16

    I have tried to perform a DD image, a single disk (non-resizable) partition, and am currently trying to perform a 4-part partition installation to see if it will take. (MBR, Part 1, Part 2, Part 3)

    Am I doing it wrong; is there a better way to approach it?

    I mean, the Macintosh partition takes perfectly fine but when the Windows BootCamp partition rolls around it begins to have issues.

    I have also noticed, while Macintosh sees a 100 GB drive (20 GB Mac + 80 GB Windows), FOG sees 20 GB Mac + 580 GB Windows. Even if the rest of the drive is empty, it grabs the entire partition and empty space.

    **I should point out that the drive size is 600GB (give or take 20), but the partition is shrunk to 100GB.

    Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

    1 Reply Last reply Reply Quote 0
    • T
      ttrammell
      last edited by ttrammell Mar 24, 2017, 1:34 PM Mar 24, 2017, 7:32 PM

      @Wayne-Workman I may have miss-configured or did something incorrectly then; the very first time I tried RAW with this dual-boot system, it did not work.

      Currently, the ‘Current Setup’ I stated in the last comment does in-fact work - in my scenario.

      I have successfully managed to image two machines, although it takes upwards of eight hours; however, a day to image a machine beats five days of needing to rebuild the system every time something happens to it.

      Side notes though:

      • You need the MacOS disk, or access to the Macintosh partition to enable the bless so you can image it (as per the FOG Wiki)
      • After you image it, the PXE menu shows back up; return to the main menu, refresh to populate the Macintosh Partition into the menu. Boot into the Macintosh Partition and put in the Windows CD, then run BootCamp. Do not erase the partition, just run the Windows Installer.
        • Doing this ‘unlocks’ the Windows partition, so you don’t actually have to go into the Windows Installation Disc - just let it boot past that and into Windows.
        • Configure Windows like you normally would. FOG does not change the hostname on this side of the partition, so make sure you change that when and if you are putting the computer on the domain.

      Beyond that, it works. Ain’t perfect, but it is about 210% better than what I was doing before - even with the additional side stuff you have to do before and after the image hits.

      So, I will call it closed.

      Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman
        last edited by Mar 21, 2017, 2:09 AM

        FOG is designed to capture/deploy single OSs. Otherwise you have the RAW option.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Mar 21, 2017, 2:13 AM

          What’s the problems you’re seeing?

          We do support (at a very basic level) multi-boot though as @Wayne-Workman stated FOG was originally designed around a Single OS system. Multiboot, in the sense described, is most often thought of as Windows and Linux or Linux/Linux. Possibly Mac and windows (where Windows is the “primary”) though I’ve never tested Mac imaging as I don’t have that kind of money (sorry).

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by Mar 21, 2017, 1:07 PM

            Some people have had some success with the ‘other’ image type, I recall.

            But remembering threads here on the subject of dual boot, it was usually a lot of issues, and most didn’t make it.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • T
              ttrammell
              last edited by ttrammell Mar 21, 2017, 7:43 AM Mar 21, 2017, 1:41 PM

              @Wayne-Workman
              I am trying the other image type right now, and I did try the RAW/DD type before.

              @Tom-Elliott
              No problem about the Mac imaging - this probably wouldn’t even be a problem if we did not have the 22 macs that made up the lab.

              I’ll still do some playing around. The ‘problem’ that I am getting is that it will either (a) take the image, but fail to install on another device or (b) not take the image at all.

              So far, from what I see, the image makes up something like this (What FOG sees):

              /dev/sda1          200MB   Windows Reserve   FAT32
              /dev/sda2           20GB   Macintosh         HFS
              /dev/sda3          620GB   Windows (C:)      RAW
              

              However, what the Macintosh Disk Utility sees:

              /dev/sda1          20GB   Macintosh        HFS
              /dev/sda2         100GB   Windows          MS-DOS
              Free Space        480GB
              

              Looking at it now, even I am confused. It seems to be taking the entire space of /dev/sda3 (which is the Windows BootCamp Partition) and counting it separate from the entire drive, with the Macintosh and separate Windows Reserve Partition being added onto it.

              So, it’s getting /dev/sda1, /dev/sda2, and /dev/sda (as /dev/sda3) - if that makes any sense.

              *Edit: I can send you guys an ls -lhrt /images/MacU when the upload is done, if you want?

              Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

              1 Reply Last reply Reply Quote 0
              • T
                ttrammell
                last edited by Mar 21, 2017, 5:51 PM

                0_1490118639649_upload-9df3b556-b853-4755-9a3d-69ab77944744

                This was uploaded with the Zstd image type (as a test), but it cannot restore the GPT partition tables.

                Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

                T 1 Reply Last reply Mar 21, 2017, 6:09 PM Reply Quote 0
                • T
                  Tom Elliott @ttrammell
                  last edited by Mar 21, 2017, 6:09 PM

                  @ttrammell it doesn’t have the d1.minimum.partitions.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  T 1 Reply Last reply Mar 22, 2017, 12:41 PM Reply Quote 0
                  • T
                    ttrammell @Tom Elliott
                    last edited by ttrammell Mar 22, 2017, 6:58 AM Mar 22, 2017, 12:41 PM

                    @Tom-Elliott This is what I just got when I tried it again under Other/Single Disk All Paritions (Non-Resizable)/Gzip 200MB
                    0_1490186267298_upload-52b16b5b-790c-41d3-9473-4572aa407955

                    Same error as before (Sorry, just now posting it):
                    Error trying to restore GPT partition tables (restorePartitionTablesAndBootLoaders)
                    Args Passed: /dev/sda 1 /images/MacU 99 all
                    CMD Tried: sgdisk -gel /images/MacU/d1.mbr /dev/sda
                    Exit returned code: 2

                    I’ll do a bit more testing.

                    Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

                    1 Reply Last reply Reply Quote 0
                    • T
                      ttrammell
                      last edited by Mar 23, 2017, 12:43 PM

                      UPDATE: I may have it working; will test on other machines (So far, it managed to install the image and have both partitions).

                      Current Setup is:
                      OS: Apple Mac OS - (8)
                      Image Type: Raw Image (Sector by Sector, DD, Slow)
                      Partition: Everything
                      Image Manager: Partclone Zstd

                      I have a few more machines to test this on before I can say, “Yes, this worked.” Will update in a few days.

                      Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

                      W 1 Reply Last reply Mar 24, 2017, 12:43 AM Reply Quote 0
                      • W
                        Wayne Workman @ttrammell
                        last edited by Mar 24, 2017, 12:43 AM

                        @ttrammell I would always expect RAW to work.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        1 Reply Last reply Reply Quote 0
                        • T
                          ttrammell
                          last edited by ttrammell Mar 24, 2017, 1:34 PM Mar 24, 2017, 7:32 PM

                          @Wayne-Workman I may have miss-configured or did something incorrectly then; the very first time I tried RAW with this dual-boot system, it did not work.

                          Currently, the ‘Current Setup’ I stated in the last comment does in-fact work - in my scenario.

                          I have successfully managed to image two machines, although it takes upwards of eight hours; however, a day to image a machine beats five days of needing to rebuild the system every time something happens to it.

                          Side notes though:

                          • You need the MacOS disk, or access to the Macintosh partition to enable the bless so you can image it (as per the FOG Wiki)
                          • After you image it, the PXE menu shows back up; return to the main menu, refresh to populate the Macintosh Partition into the menu. Boot into the Macintosh Partition and put in the Windows CD, then run BootCamp. Do not erase the partition, just run the Windows Installer.
                            • Doing this ‘unlocks’ the Windows partition, so you don’t actually have to go into the Windows Installation Disc - just let it boot past that and into Windows.
                            • Configure Windows like you normally would. FOG does not change the hostname on this side of the partition, so make sure you change that when and if you are putting the computer on the domain.

                          Beyond that, it works. Ain’t perfect, but it is about 210% better than what I was doing before - even with the additional side stuff you have to do before and after the image hits.

                          So, I will call it closed.

                          Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          1 / 1
                          • First post
                            2/11
                            Last post

                          154

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project