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

I can't boot up Parted-Magic 2023.08.22

Scheduled Pinned Locked Moved
General
4
7
2.0k
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.
  • D
    Dietrich07
    last edited by Nov 29, 2023, 4:40 AM

    Good afternoon, decided to update parted magic image, previously it worked fine with parameters:

    kernel http://${fog-ip}/pmagic/pmagic/bzImage initrd=initrd.img initrd=fu.img initrd=m.img initrd=files.cgz edd=on vga=normal
    initrd http://${fog-ip}/pmagic/pmagic/initrd.img
    initrd http://${fog-ip}/pmagic/pmagic/fu.img
    initrd http://${fog-ip}/pmagic/pmagic/m.img
    initrd http://${fog-ip}/pmagic/pmagic/files.cgz
    boot

    Followed the same instructions to get files.cgz https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu#PartedMagic

    Copied all the necessary files. But I get an error when booting.

    I hope for your help.
    30.png

    G 1 Reply Last reply Nov 29, 2023, 9:52 PM Reply Quote 0
    • G
      george1421 Moderator @Dietrich07
      last edited by george1421 Nov 29, 2023, 3:52 PM Nov 29, 2023, 9:52 PM

      @Dietrich07 The link you posted is from an old install so there may be changes to the application in the last 7 years.

      Looking at your ipxe menu parameters and comparing it against the wiki I see some differences.

      kernel http://${fog-ip}/pmagic/bzImage64
      initrd http://${fog-ip}/pmagic/initrd.img
      initrd http://${fog-ip}/pmagic/files.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 
      

      FWIW you are missing the imgargs and the kernel name is different. You DO need the imagargs line but I would also change the imgargs line to include the initrd file (what the kernel appears to be complaining about)

      Lets see how well this parameter block works.

      kernel http://${fog-ip}/pmagic/pmagic/bzImage
      initrd http://${fog-ip}/pmagic/pmagic/initrd.img
      imgfetch http://${fog-ip}/pmagic/pmagic/fu.img
      imgfetch http://${fog-ip}/pmagic/pmagic/m.img
      imgfetch http://${fog-ip}/pmagic/pmagic/files.cgz
      imgargs bzImage64 initrd=initrd.img boot=live ip=dhcp edd=on noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=normal sleep=0 loglevel=0 keymap=us splash quiet
      boot
      

      NOTE: imgfetch and initrd perform the same function, using it as I’ve done above makes the intent a bit easier to understand. The function is exactly the same though.

      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!

      D H 2 Replies Last reply Nov 30, 2023, 5:43 AM Reply Quote 0
      • D
        Dietrich07 @george1421
        last edited by Nov 30, 2023, 5:43 AM

        @george1421
        Thanks for the quick reply, found the cause. I tested running on a vmware virtual computer. There is a constant error there. On the physical computer there are no problems, booting goes as it should.

        R 1 Reply Last reply Dec 14, 2023, 9:10 AM Reply Quote 0
        • G george1421 referenced this topic on Dec 12, 2023, 11:06 PM
        • R
          renewedharry @Dietrich07
          last edited by Dec 14, 2023, 9:10 AM

          @Dietrich07 Hey, would you mind sharing the full parameters you used, or did you stick with the ones in your original post?

          I’m on Parted-Magic 2023.05.21 but am facing an issue, I can get it to boot through FOG, but them I am hit with “Mounting the fu.sqfs failed.”. Did you run in to something like this?

          1 Reply Last reply Reply Quote 0
          • H
            hwa @george1421
            last edited by May 3, 2024, 6:55 PM

            @george1421 I’ve been trying to get Parted Magic 2024-02-06 to work but have not been able to, even with the above updates. One thing to note: in the imgargs line, bzImage64 doesn’t exist. When I take the ‘64’ off, I get:

            EFI stub: ERROR: Failed to load initrd: 08000000000000009
            EFI stub: ERROR: efi_main() failed!
            Could not boot: Error 0x7f048289
            

            Have tried a few variations of the arguments as well but no luck there.

            G 1 Reply Last reply May 3, 2024, 8:07 PM Reply Quote 0
            • G
              george1421 Moderator @hwa
              last edited by May 3, 2024, 8:07 PM

              @hwa I’m not a parted magic user or have knowledge of. But can you point me to the iso you are using? I probably can convert a grub or syslinux config file into iPXE format.

              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!

              H 1 Reply Last reply May 4, 2024, 3:51 PM Reply Quote 0
              • H
                hwa @george1421
                last edited by hwa May 4, 2024, 10:11 AM May 4, 2024, 3:51 PM

                @george1421 I can’t point you to the ISO, only to their website to purchase a copy (Parted Magic Store), but I’ve grabbed 3 different cfgs and attached them. From what I see it appears that the iPXE format used is fine. And maybe this is not an iPXE issue anyway.

                  kernel ${win_base_url}/pm/bzImage
                  initrd ${win_base_url}/pm/initrd.img
                imgfetch ${win_base_url}/pm/fu.img
                imgfetch ${win_base_url}/pm/m.img
                imgfetch ${win_base_url}/pm/files.cgz
                imgargs bzImage initrd=initrd.img initrd=fu.img initrd=m.img initrd=files.cgz edd=on vga=normal
                boot
                

                The above seems to line-up fine with what I see in other cfgs.

                kernel ${win_base_url}/pmagic/bzImage initrd=initrd.img initrd=fu.img initrd=m.img edd=on vga=normal netsrc=wget neturl="${win_base_url}/pmagic/pmodules/" netargs="-U pmagicboot"
                initrd ${win_base_url}/pmagic/initrd.img
                initrd ${win_base_url}/pmagic/fu.img
                initrd ${win_base_url}/pmagic/m.img
                boot
                

                The code above loads the init stuff, but does say “/proc/cmdline: line 1: bzImage: command not found” but it does start to download the SQFS. However, that download fails around 76% with another error. Downloaded it in a browser to make sure my webserver isn’t wonky, and it compares without issue to the original in the ISO. Also, the ISO boots fine…
                grubcfg.txt
                sample_pxelinuxcfg.txt
                syslinuxcfg.txt

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

                148

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project