GParted PXE Boot Fails at Root FS mount - Kernel Panic

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












https://imgur.com/a/caCiVueCan't mount Root FS
I have GParted setup almost identically to as described in the website help:



https://gparted.org/livepxe.php



The only difference between that the root directory is not / rather /GParted



The vmlinuz and initrd seem to boot ok.
The filesystem.squashfs is loaded via http and I can successfully wget it.



However, when it try to mount of the filesystem.squashfs, I have a problem as shown in the red box.



Mounting root file system ... /init: .: line 225: can't open '/scripts/GParted/live'



I'm not sure where /scripts/GParted/live is. I'm also not sure how it would get a directory in front of my root /GParted However, the system manages to find /scripts/init-premount



My PXE default here:



LABEL GParted Live
MENU LABEL GParted Live
kernel GParted/live/vmlinuz
APPEND initrd=GParted/live/initrd.img boot=GParted/live config components union=overlay username=user noswap noeject ip= vga=788 fetch=http://10.1.200.1/GParted/live/filesystem.squashfs
ENDTEXT


Where have I gone astray?










share|improve this question

























    up vote
    1
    down vote

    favorite












    https://imgur.com/a/caCiVueCan't mount Root FS
    I have GParted setup almost identically to as described in the website help:



    https://gparted.org/livepxe.php



    The only difference between that the root directory is not / rather /GParted



    The vmlinuz and initrd seem to boot ok.
    The filesystem.squashfs is loaded via http and I can successfully wget it.



    However, when it try to mount of the filesystem.squashfs, I have a problem as shown in the red box.



    Mounting root file system ... /init: .: line 225: can't open '/scripts/GParted/live'



    I'm not sure where /scripts/GParted/live is. I'm also not sure how it would get a directory in front of my root /GParted However, the system manages to find /scripts/init-premount



    My PXE default here:



    LABEL GParted Live
    MENU LABEL GParted Live
    kernel GParted/live/vmlinuz
    APPEND initrd=GParted/live/initrd.img boot=GParted/live config components union=overlay username=user noswap noeject ip= vga=788 fetch=http://10.1.200.1/GParted/live/filesystem.squashfs
    ENDTEXT


    Where have I gone astray?










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      https://imgur.com/a/caCiVueCan't mount Root FS
      I have GParted setup almost identically to as described in the website help:



      https://gparted.org/livepxe.php



      The only difference between that the root directory is not / rather /GParted



      The vmlinuz and initrd seem to boot ok.
      The filesystem.squashfs is loaded via http and I can successfully wget it.



      However, when it try to mount of the filesystem.squashfs, I have a problem as shown in the red box.



      Mounting root file system ... /init: .: line 225: can't open '/scripts/GParted/live'



      I'm not sure where /scripts/GParted/live is. I'm also not sure how it would get a directory in front of my root /GParted However, the system manages to find /scripts/init-premount



      My PXE default here:



      LABEL GParted Live
      MENU LABEL GParted Live
      kernel GParted/live/vmlinuz
      APPEND initrd=GParted/live/initrd.img boot=GParted/live config components union=overlay username=user noswap noeject ip= vga=788 fetch=http://10.1.200.1/GParted/live/filesystem.squashfs
      ENDTEXT


      Where have I gone astray?










      share|improve this question













      https://imgur.com/a/caCiVueCan't mount Root FS
      I have GParted setup almost identically to as described in the website help:



      https://gparted.org/livepxe.php



      The only difference between that the root directory is not / rather /GParted



      The vmlinuz and initrd seem to boot ok.
      The filesystem.squashfs is loaded via http and I can successfully wget it.



      However, when it try to mount of the filesystem.squashfs, I have a problem as shown in the red box.



      Mounting root file system ... /init: .: line 225: can't open '/scripts/GParted/live'



      I'm not sure where /scripts/GParted/live is. I'm also not sure how it would get a directory in front of my root /GParted However, the system manages to find /scripts/init-premount



      My PXE default here:



      LABEL GParted Live
      MENU LABEL GParted Live
      kernel GParted/live/vmlinuz
      APPEND initrd=GParted/live/initrd.img boot=GParted/live config components union=overlay username=user noswap noeject ip= vga=788 fetch=http://10.1.200.1/GParted/live/filesystem.squashfs
      ENDTEXT


      Where have I gone astray?







      gparted






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 21 at 16:13









      user3242295

      61




      61




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          The /scripts/init-premount lives inside the GParted initrd.img file.



          The error message suggests the system is running into trouble on line 225 of script /init within the initrd image.



          The line 225 of that script is:



          . /scripts/$BOOT


          And the $BOOT variable gets its value from the boot= boot parameter earlier.



          So, the mistake is in assuming that if you put the filesystem.squashfs file into a sub-directory on the web server, you need to adjust the value of the boot= option to match. That is incorrect.



          The boot= option specifies the boot mode: local, nfs, or live. This causes the script system (= initramfs-tools from Debian) to run the corresponding script in the /scripts/ directory. /scripts/live exists in the initrd.img file, but /scripts/GParted/live doesn't.



          So, change the APPEND line of your PXE bootloader configuration to:



          APPEND initrd=GParted/live/initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=http://10.1.200.1/GParted/live/filesystem.squashfs


          ...and then it should work.






          share|improve this answer



























            up vote
            0
            down vote













            That was it. I didn't realize the boot= was a parameter as opposed to the initial boot directory holding initrd. Thank you.






            share|improve this answer




















              Your Answer







              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "106"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: false,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f463909%2fgparted-pxe-boot-fails-at-root-fs-mount-kernel-panic%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              0
              down vote













              The /scripts/init-premount lives inside the GParted initrd.img file.



              The error message suggests the system is running into trouble on line 225 of script /init within the initrd image.



              The line 225 of that script is:



              . /scripts/$BOOT


              And the $BOOT variable gets its value from the boot= boot parameter earlier.



              So, the mistake is in assuming that if you put the filesystem.squashfs file into a sub-directory on the web server, you need to adjust the value of the boot= option to match. That is incorrect.



              The boot= option specifies the boot mode: local, nfs, or live. This causes the script system (= initramfs-tools from Debian) to run the corresponding script in the /scripts/ directory. /scripts/live exists in the initrd.img file, but /scripts/GParted/live doesn't.



              So, change the APPEND line of your PXE bootloader configuration to:



              APPEND initrd=GParted/live/initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=http://10.1.200.1/GParted/live/filesystem.squashfs


              ...and then it should work.






              share|improve this answer
























                up vote
                0
                down vote













                The /scripts/init-premount lives inside the GParted initrd.img file.



                The error message suggests the system is running into trouble on line 225 of script /init within the initrd image.



                The line 225 of that script is:



                . /scripts/$BOOT


                And the $BOOT variable gets its value from the boot= boot parameter earlier.



                So, the mistake is in assuming that if you put the filesystem.squashfs file into a sub-directory on the web server, you need to adjust the value of the boot= option to match. That is incorrect.



                The boot= option specifies the boot mode: local, nfs, or live. This causes the script system (= initramfs-tools from Debian) to run the corresponding script in the /scripts/ directory. /scripts/live exists in the initrd.img file, but /scripts/GParted/live doesn't.



                So, change the APPEND line of your PXE bootloader configuration to:



                APPEND initrd=GParted/live/initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=http://10.1.200.1/GParted/live/filesystem.squashfs


                ...and then it should work.






                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  The /scripts/init-premount lives inside the GParted initrd.img file.



                  The error message suggests the system is running into trouble on line 225 of script /init within the initrd image.



                  The line 225 of that script is:



                  . /scripts/$BOOT


                  And the $BOOT variable gets its value from the boot= boot parameter earlier.



                  So, the mistake is in assuming that if you put the filesystem.squashfs file into a sub-directory on the web server, you need to adjust the value of the boot= option to match. That is incorrect.



                  The boot= option specifies the boot mode: local, nfs, or live. This causes the script system (= initramfs-tools from Debian) to run the corresponding script in the /scripts/ directory. /scripts/live exists in the initrd.img file, but /scripts/GParted/live doesn't.



                  So, change the APPEND line of your PXE bootloader configuration to:



                  APPEND initrd=GParted/live/initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=http://10.1.200.1/GParted/live/filesystem.squashfs


                  ...and then it should work.






                  share|improve this answer












                  The /scripts/init-premount lives inside the GParted initrd.img file.



                  The error message suggests the system is running into trouble on line 225 of script /init within the initrd image.



                  The line 225 of that script is:



                  . /scripts/$BOOT


                  And the $BOOT variable gets its value from the boot= boot parameter earlier.



                  So, the mistake is in assuming that if you put the filesystem.squashfs file into a sub-directory on the web server, you need to adjust the value of the boot= option to match. That is incorrect.



                  The boot= option specifies the boot mode: local, nfs, or live. This causes the script system (= initramfs-tools from Debian) to run the corresponding script in the /scripts/ directory. /scripts/live exists in the initrd.img file, but /scripts/GParted/live doesn't.



                  So, change the APPEND line of your PXE bootloader configuration to:



                  APPEND initrd=GParted/live/initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=http://10.1.200.1/GParted/live/filesystem.squashfs


                  ...and then it should work.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 23 at 11:00









                  telcoM

                  11.6k11333




                  11.6k11333






















                      up vote
                      0
                      down vote













                      That was it. I didn't realize the boot= was a parameter as opposed to the initial boot directory holding initrd. Thank you.






                      share|improve this answer
























                        up vote
                        0
                        down vote













                        That was it. I didn't realize the boot= was a parameter as opposed to the initial boot directory holding initrd. Thank you.






                        share|improve this answer






















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          That was it. I didn't realize the boot= was a parameter as opposed to the initial boot directory holding initrd. Thank you.






                          share|improve this answer












                          That was it. I didn't realize the boot= was a parameter as opposed to the initial boot directory holding initrd. Thank you.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Aug 29 at 0:31









                          user3242295

                          61




                          61



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f463909%2fgparted-pxe-boot-fails-at-root-fs-mount-kernel-panic%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              How to check contact read email or not when send email to Individual?

                              Bahrain

                              Postfix configuration issue with fips on centos 7; mailgun relay