• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. fractal13
    F
    • Profile
    • Following 0
    • Followers 2
    • Topics 6
    • Posts 29
    • Best 2
    • Controversial 0
    • Groups 1

    fractal13

    @fractal13

    Developer

    31
    Reputation
    970
    Profile views
    29
    Posts
    2
    Followers
    0
    Following
    Joined Last Online

    fractal13 Unfollow Follow
    Developer

    Best posts made by fractal13

    • Linux, grubx64.efi, and refind.conf
      Server
      • FOG Version: 1.5.0-RC-5
      • OS: Ubuntu 14.04.5 LTS
      Description

      Wanted to document this configuration for others.

      I’m using FOG to image UEFI multi-boot systems, with boot-time selection controlled by /EFI/ubuntu/grubx64.efi. UEFI is configured to boot PXE first, then from the hard drive.

      When I configure iPXE’s UEFI exit to anything other than rEFInd, I get the infinite boot attempts issue.

      When I leave iPXE’s UEFI exit to rEFInd, the default I believe, then rEFInd tries to boot the first .efi file from /EFI/ubuntu/, which fails to boot. This is because the default_selection for rEFInd is set to 1.

      I solved my problem with this:

      sed -i 's/^default_selection .*/default_selection "grubx64.efi"/' /var/www/html/fog/service/ipxe/refind.conf
      

      BTW: You guys have been busy! I’m liking 1.5.0. Good work.

      posted in FOG Problems
      F
      fractal13
    • Download page instruction clarification.

      On the downloads page: https://fogproject.org/download, the link to download gives you a file named 1.5.7.tar.gz. The instructions say to untar a file named fogproject-1.5.7.tar.gz. No problem for anyone who’s every done ls or tar. But thought I’d give the feedback.

      PS. Looks like you guys have been really busy.

      posted in Bug Reports
      F
      fractal13

    Latest posts made by fractal13

    • Download page instruction clarification.

      On the downloads page: https://fogproject.org/download, the link to download gives you a file named 1.5.7.tar.gz. The instructions say to untar a file named fogproject-1.5.7.tar.gz. No problem for anyone who’s every done ls or tar. But thought I’d give the feedback.

      PS. Looks like you guys have been really busy.

      posted in Bug Reports
      F
      fractal13
    • RE: Boot Loop

      @bigjim How was the image you are deploying installed/created? If it is from a BIOS installed OS, it may not boot on a UEFI system. Sorry if this is a trivial answer.

      posted in FOG Problems
      F
      fractal13
    • Single disk (resizeable) 1 partition restore

      I usually build my multi-partition (6+ partitions, 2+ OSs) image by installing on several systems, then capturing the individual partitions from separate machines, and deploying them all to one machine. I tried to do that with the latest release candidate and saw that on deployment, each image overwrote the MBR, GPT partition types, and partition UUIDs.

      If I change the download scripts to only modify the target partition on deploy of single partition images, will it be accepted into the dev branch?

      ====================
      PS. Sorry for the long absence. Life’s good but eventful. I’m really impressed with the progress you’ve made with FOG in two years.

      posted in Feature Request
      F
      fractal13
    • Linux, grubx64.efi, and refind.conf
      Server
      • FOG Version: 1.5.0-RC-5
      • OS: Ubuntu 14.04.5 LTS
      Description

      Wanted to document this configuration for others.

      I’m using FOG to image UEFI multi-boot systems, with boot-time selection controlled by /EFI/ubuntu/grubx64.efi. UEFI is configured to boot PXE first, then from the hard drive.

      When I configure iPXE’s UEFI exit to anything other than rEFInd, I get the infinite boot attempts issue.

      When I leave iPXE’s UEFI exit to rEFInd, the default I believe, then rEFInd tries to boot the first .efi file from /EFI/ubuntu/, which fails to boot. This is because the default_selection for rEFInd is set to 1.

      I solved my problem with this:

      sed -i 's/^default_selection .*/default_selection "grubx64.efi"/' /var/www/html/fog/service/ipxe/refind.conf
      

      BTW: You guys have been busy! I’m liking 1.5.0. Good work.

      posted in FOG Problems
      F
      fractal13
    • RE: MBR over 100mb ?? SVN3710

      Capturing all data up to the first partition was intentional. For GRUB2 bootloaders, the space between the MBR and the first partition is used to store extra data.
      I suppose we could put an upper limit on the size though…

      posted in FOG Problems
      F
      fractal13
    • RE: Mac support

      [quote=“Tom S, post: 34775, member: 25305”]

      I did want to talk about the Fog service for Mac support. In my current profession I have written scripts that do what I can tell the Windows Fog service does, but for OS X. They are primarily bash scripts that can easily be piped from a C or another language. My question to everyone here is this:

      What language do we want the service built on???

      TS[/quote]

      TS: The FOG service for Windows is under active development in C#. So, we won’t be using that code for OS X/Linux. I would encourage you to consider C. That will be at least a portable as Java, if we static compile it. It will be easy to write a simple service like you’re talking about being a wrapper for shell scripts. I could give you some boiler-plate networking code and give advice on invoking shell scripts from within, if you want it. This is something I’ve done in previous projects many times.

      Thanks for all of your help.

      posted in Feature Request
      F
      fractal13
    • RE: Mac support

      Great news folks!

      Today Michael Brown finished the changes to iPXE to support Apple’s EFI implementation with the SNP (generic) network driver.

      This makes at least 3 hurdles that iPXE has cleared so that those of us who have to support Apple hardware will be able to use FOG for imaging. 1) Switch into text mode so we can see menus; 2) Get the linux kernel fixed so it doesn’t write to memory it doesn’t own; 3) Generic networking (important for iMacs in the last couple of years.).

      Kudos to Michael and the rest of the iPXE team!

      If you’re interested in being an alpha tester, follow this thread. In a few days we expect to need a variety of Apple hardware to finish testing the iPXE fixes (only tested on iMacs mid-2011, late-2012 so far), and begin testing the FOG features. We’ll make an additional post when ready.

      posted in Feature Request
      F
      fractal13
    • RE: Mac support

      TS,

      Tom did all of the work on the binary. I’m sorry I forgot about the initrd= kernel parameter. I completely spaced it. Tom do you know if the initrd= kernel parameter will give problems to non-efi versions of ipxe? If it doesn’t, we should probably add it to BootMenu.class.php for the $this->kernel specification.

      The ipxe team (mcb30) is still looking at the Apple EFI SNP network driver issues for unsupported NICs.

      Keep up the good work.

      posted in Feature Request
      F
      fractal13
    • RE: Mac support

      Update on Mac support:

      The developers at iPXE (mcb in particular) have been very good to devote time to the issues with supporting Apple’s EFI. At this time, the latest linux kernels (3.10) and above have the kernel patch necessary to be loaded correctly from iPXE. The latest master version of iPXE has the patch necessary to launch the linux kernel with Apple’s EFI.

      I’ve only been able to test this on the mid-2011 iMac hardware. However, the late-2012 and late-2013 iMac hardware all report the same EFI version.

      There is still an issue with using the SNP network interface with the Apple EFI from iPXE. So, if the network interface in your system is supported by a card specific driver in iPXE, you should be able to use FOG. That’s the case with the mid-2011 iMac we’ve been testing on. Note that even the mid-2011 iMac doesn’t work with the SNP driver.

      So, if you’re really hankering to try out imaging on Apple hardware, get the latest version of FOG, build the latest linux kernel, and build the latest iPXE. Configure your DHCP server to talk Apple Netboot, and give it a try with “mps” or “mpa” style captures. GPT and HFS support have been in FOG for a while now.

      If you’re a little more cautious, give us a little more time to get FOG polished and tested on several Apple hardware versions.

      posted in Feature Request
      F
      fractal13
    • RE: Mac support

      Status update: Since my last post, we’ve been getting a lot of help from the iPXE developers. iPXE will now switch the Apple EFI to text mode, so that you can see something when the menus show up.

      The error that Tom S posted above could have been scraped off of my screen, dozens of times. 🙂

      There was an error in the Linux kernel that caused the launching of the kernel from iPXE fail. There are patches for it in the kernel for 3.16-rc6+, that fix this problem.

      Then, there is another error/unspecified behavior in the difference between EFI 1.10 (Apple EFI) and the latest UEFI (2.4). We’ve found the assumption, and made a hacked solution, that allows me to actually boot the new linux kernel and load the fog initrd. Expect a patch into the mainstream iPXE within a couple of days that has a non-hacked solution.

      I’ll followup in this thread when there’s more concrete news.

      I’m curious if Tom S is imaging OS X only disks, or if BootCamp/Windows is involved on the image?

      posted in Feature Request
      F
      fractal13