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

    iMac USB - FOS script - kernel panic

    Scheduled Pinned Locked Moved Solved
    General Problems
    2
    3
    543
    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.
    • P
      p4cm4n
      last edited by

      Hi All,

      so I’ve been reading and reading - I was active in a thread last year ‘new to imaging macs’ where a guy had put together a little ISO for usb booting macbooks. I was able to image MBP’s sporadically whenever I needed to until now.

      I’ve ran into every problem I could have so far with imaging iMacs. Finally found the thread about making the USB-FOS image, and putting it on USB. Now I’m having a different issue, and doesn’t seem to be MAC-specific.

      alt text

      This issue is happening on my imacs, and some latitude e6530’s (tried to rule out the imac, pxe boot works fine on the 6530)

      I’ve modified the USB script to grab my local fog’s copy of the memtest, memdisk, ipxe.krn and ipxe.efi files. still no luck.

      any ideas on what could be causing this? i’ve tried two different flash drives, 5 different machines, and even reimaged the machine to make sure nothing was wrong with its grub installs, so i reinstalled grub and re-ran the script again. same exact issue.

      also, I’ve got the whole week in this school to play with these imacs (and the rest of the school year if i really want to…but have to get these imaged this week) so if anyone wants to play around with different ideas.
      i’m between 10.12.5 and trying to roll out 10.14 now. nothing is t2. most have bootcamp.

      i’m tagging george since its his script. THANKS GEORGE
      @george1421

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        If you grabbed the latest kernel and inits you will need to make a modification to the grub.conf file.

        You need to up the kernel parameter for virtual memory from 127000 to 275000

        ramdisk_size=127000 would become ramdisk_size=275000

        i.e. where:

        menuentry "1. FOG Image Deploy/Capture" {
         echo loading the kernel
         linux  $myimage loglevel=$myloglevel initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=$myfogip/fog/ boottype=usb consoleblank=0 rootfstype=ext4
         echo loading the virtual hard drive
         initrd $myinits
         echo booting kernel...
        }
        

        would become

        menuentry "1. FOG Image Deploy/Capture" {
         echo loading the kernel
         linux  $myimage loglevel=$myloglevel initrd=init.xz root=/dev/ram0 rw ramdisk_size=275000 keymap= web=$myfogip/fog/ boottype=usb consoleblank=0 rootfstype=ext4
         echo loading the virtual hard drive
         initrd $myinits
         echo booting kernel...
        }
        

        You need to change it in all spots

        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!

        1 Reply Last reply Reply Quote 2
        • P
          p4cm4n
          last edited by

          @george1421 you are a wizard.

          thats fixed!

          now onto my next thing. heres to hoping that once i can grab a HDD big enough for my images that can support these ginormously underused HDD’s in these labs…that all is good 🙂

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

          173

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project