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

    Parted Magic Boot Menu

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    22
    13.5k
    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.
    • Tom ElliottT
      Tom Elliott @RobTitian16
      last edited by

      @RobTitian16 So you extracted the parted magic iso files into a directory on the base of your web server document root:

      (Probably /var/www or /var/www/html.)

      You created a folder in /var/www or /var/www/html called /var/www/pmagic or /var/www/html/pmagic.

      You copied the contents so you would see a directory listing while in the base pmagic folder of something along the lines of:

      [root@fogserver pmagic]# ls -lhart
      total 500M
      drwxr-xr-x. 17 root   root   4.0K Jun  8 19:26 ..
      drwxr-xr-x.  2 apache apache 4.0K Jun  8 19:26 pmagic
      -rw-r--r--.  1 apache apache   200M Jun  8 19:26 PMAGIC_2013_08_01.SQFS.cgz
      

      If you run the info recursively you might see:

      [root@fogserver pmagic]# ls -lharRt
      .:
      total 500M
      drwxr-xr-x. 17 root   root   4.0K Jun  8 19:26 ..
      drwxr-xr-x.  2 apache apache 4.0K Jun  8 19:26 pmagic
      -rw-r--r--.  1 apache apache   200M Jun  8 19:26 PMAGIC_2013_08_01.SQFS.cgz
      
      ./pmagic:
      total 200M
      -rw-r--r--. 1 apache apache 100M Jun 8 19:26 bzImage64
      -rw-r--r--. 1 apache apache 100M Jun 8 19:26 initrd.img
      

      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

      RobTitian16R 1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator @RobTitian16
        last edited by Quazz

        @RobTitian16 I only have a 2015 version to compare with, but at the very lest you shouldn’t instruct it to load files it won’t be able to find, yes.

        Not sure where iPXE is pulling the Magic instruction from though?

        Might want to test something like:

        initrd http://${fog-ip}/pmagic.iso
        chain memdisk iso

        RobTitian16R 1 Reply Last reply Reply Quote 0
        • RobTitian16R
          RobTitian16 @Tom Elliott
          last edited by RobTitian16

          @Tom-Elliott These are the steps I followed:

          I downloaded Parted Magic from Major Geeks (the 2013 version) and put it in my Downloads\Parted Magic folder on my Windows 10 PC.
          I then extracted the ISO within that folder and copied the contents across (minus the iso file) across to /var/www/html/pmagic (I created the folder before and gave other users read and write access) using Filezilla.
          I then ran sh pm2pxe.sh, which produced the PMAGIC-2013_08_01.SQFS.cgz in the html folder, as well as stanza.txt.
          I copied and pasted these two files from the html folder to the pmagic folder (so everything related to pmagic was then in the pmagic folder).
          Following that, I configured the boot menu with the following configuration:

          kernel http://${fog-ip}/pmagic/pmagic/bzImage64
          initrd http://${fog-ip}/pmagic/pmagic/initrd.img
          initrd http://${fog-ip}/pmagic/PMAGIC_2013_08_01.SQFS.cgz
          initrd http://${fog-ip}/pmagic/fu.img
          initrd http://${fog-ip}/pmagic/m64.img
          imgargs bzImage64 boot=live ip=dhcp edd=on noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=normal sleep=0 loglevel=0 keymap=us splash quiet - || read void
          boot || read void

          Finally, when I run ls -lhart from the html folder, I get the following:

          0_1465469217923_Capture.PNG

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • RobTitian16R
            RobTitian16 @Quazz
            last edited by

            @Quazz said in Parted Magic Boot Menu:

            initrd http://${fog-ip}/pmagic.iso
            chain memdisk iso

            Thanks for the suggestion. I’ve tried that, but I get the same thing.
            The FOG menu says ‘Magic Boot into Parted Magic’ as the option.

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @RobTitian16
              last edited by Tom Elliott

              @RobTitian16 I’m running through.

              Immediately there are a few things standing out.

              the kernel http://${fog-ip}/pmagic/pmagic/bzImage64 appears to actually need to be kernel ${fog-ip}/pmagic/pmagic/bzImage

              The initrd line should be: as you have it from what I can see. (for both of them.)

              The pmagic folder does not contain fu.img or m64.img.

              So

              From what I can tell, your Menu should look like:

              kernel http://${fog-ip}/pmagic/pmagic/bzImage edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256 boot=live ip=dhcp noapic sleep=0 loglevel=0 keymap=us splash quiet
              initrd http://${fog-ip}/pmagic/pmagic/initrd.img
              initrd http://${fog-ip}/PMAGIC_2013_08_01.SQFS.cgz
              

              I’m running through a test as well just to make sure as I too have downloaded the 2013_08_01.

              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
              • Tom ElliottT
                Tom Elliott
                last edited by Tom Elliott

                0_1465470303856_upload-b8a3aa91-5b97-4607-b578-4b66cbbd4844
                There is my working config.

                Parameters as text so less ability of typos.

                kernel http://${fog-ip}/pmagic/pmagic/bzImage64 edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256 boot=live ip=dhcp noapic sleep=0 loglevel=0 keymap=us splash quiet
                initrd http://${fog-ip}/pmagic/pmagic/initrd.img
                initrd http://${fog-ip}/PMAGIC_2013_08_01.SQFS.cgz
                boot
                

                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

                RobTitian16R 1 Reply Last reply Reply Quote 0
                • RobTitian16R
                  RobTitian16 @Tom Elliott
                  last edited by

                  @Tom-Elliott said in Parted Magic Boot Menu:

                  kernel http://${fog-ip}/pmagic/pmagic/bzImage64 edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256 boot=live ip=dhcp noapic sleep=0 loglevel=0 keymap=us splash quiet
                  initrd http://${fog-ip}/pmagic/pmagic/initrd.img
                  initrd http://${fog-ip}/PMAGIC_2013_08_01.SQFS.cgz
                  boot

                  Thanks for the help so far, it really is appreciated! However, I’m still getting the ‘Magic: command not found’ error whenever I try to boot into Parted Magic. I think it might work if it wasn’t trying to use this Magic command, whatever it may be. I’m not really sure where it’s coming from…

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @RobTitian16
                    last edited by

                    @RobTitian16 I need to see the whole thing man. Can you post a pic of your menu setup please.

                    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

                    RobTitian16R 1 Reply Last reply Reply Quote 0
                    • RobTitian16R
                      RobTitian16 @Tom Elliott
                      last edited by

                      @Tom-Elliott 0_1465471012131_Capture.PNG

                      Like this?

                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @RobTitian16
                        last edited by

                        @RobTitian16 Please update fog.

                        The issue, as far as I can tell, is the space you most likely have in the name portion of the menu information.

                        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

                        RobTitian16R 2 Replies Last reply Reply Quote 0
                        • RobTitian16R
                          RobTitian16 @Tom Elliott
                          last edited by

                          @Tom-Elliott Doh… thanks for that!
                          I’ve just tried booting and it starts to look okay, but now I’m stuck on ‘Booting the kernel.’

                          0_1465474698833_Capture.PNG

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            Andy Abplanalp Developer @RobTitian16
                            last edited by

                            @RobTitian16 mine is under my Advanced Menu but works great like this:
                            :parted
                            initrd ${boot-url}/iso/pmagic.iso
                            chain memdisk ||
                            echo failed to boot
                            prompt
                            goto MENU

                            RobTitian16R 1 Reply Last reply Reply Quote 0
                            • RobTitian16R
                              RobTitian16 @Tom Elliott
                              last edited by

                              @Tom-Elliott I’ve just updated FOG to the latest version but I’m still stuck on ‘booting the kernel’, unfortunately.

                              1 Reply Last reply Reply Quote 0
                              • RobTitian16R
                                RobTitian16 @Andy Abplanalp
                                last edited by

                                @Andy-Abplanalp Thanks for this! I’m guessing I just need to create an /iso/ folder, assign the permissions and then transfer the pmagic iso over to it?

                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  Andy Abplanalp Developer @RobTitian16
                                  last edited by

                                  @RobTitian16 that sounds correct

                                  RobTitian16R 1 Reply Last reply Reply Quote 0
                                  • RobTitian16R
                                    RobTitian16 @Andy Abplanalp
                                    last edited by

                                    @Andy-Abplanalp You sir, are a life saver. Thank you very much!
                                    I assume I just add more lines like initrd ${boot-url}/iso/pmagic.iso if I want to use other ISOs?

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      Andy Abplanalp Developer @RobTitian16
                                      last edited by

                                      @RobTitian16 That’s what I’ve done, yes. I discovered, by luck, that not appending anything to memdisk works for certain ISOs. I use Parted Magic frequently, so I was happy to get it working. I’ve never seen this documented anywhere…glad you’re working!

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

                                      196

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project