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

GParted Live from FOG

Scheduled Pinned Locked Moved Solved
Linux Problems
gpartet
5
12
2.3k
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.
  • U
    user435
    last edited by Apr 19, 2018, 11:24 AM

    Hello everyone,

    I tried to set up GParted Liveboot from this guide:
    https://forums.fogproject.org/topic/8301/gparted-setting-for-fog-1-3-0-rc7-tested-working

    but when i start to select the item there comes this kind of error:

    alt text

    I saw that the IP was missing so i tried to change the configuration a bit.
    to this:

    kernel http://192.168.1.128/iso/gparted/live/vmlinuz vmlinuz boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=${192.168.1.128}/iso/gparted/live/filesystem.squashfs
    initrd http://192.168.1.128/iso/gparted/live/initrd.img
    boot

    alt text

    when i saved the configuration and boot up a test machine, after selecting GPartet as bootoption the screen turns black and nothing big happens.

    Please tell me where i went wrong.

    Thans User.

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Apr 19, 2018, 11:34 AM

      With the http redirection that fog is currently using, its a bit difficult to host other files under the http protocol.

      So what can you do?

      Move to one of the other supported protocols like tftp:// or nfs://

      To use the tftp:// protocol you would update your menu to be something like this (note I fixed your fetch kernel parameter too).

      kernel tftp://${fog-ip}/iso/gparted/live/vmlinuz vmlinuz boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://${fog-ip}/iso/gparted/live/filesystem.squashfs
      initrd tftp://${fog-ip}/iso/gparted/live/initrd.img
      

      The only thing I’m unsure of is if the kernel supports tftp pulling. Also the variable ${fog-ip} is replaced by the fog menu with the IP address of your fog server. Hard coding the IP address in the fog menu doesn’t make it very portable.

      So since we are using tftp:// protocol you need to place the files in /tftpboot/iso/gparted based directory.

      If that doesn’t work then you could try nfs:// which should be supported by the linux kernel.

      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!

      B 1 Reply Last reply May 6, 2021, 4:40 PM Reply Quote 0
      • U
        user435
        last edited by user435 Apr 20, 2018, 4:27 AM Apr 20, 2018, 10:27 AM

        ah great, i didnt now that when i use TFTP i habve to change the directory.
        a big thanks for your help πŸ™‚
        it boots up and i get another Error, but i think i have to create another tread for this problem

        it stops there:
        alt text

        greedings User

        1 Reply Last reply Reply Quote 0
        • B
          b_man @george1421
          last edited by b_man May 6, 2021, 10:41 AM May 6, 2021, 4:40 PM

          @george1421 I setup everything as instructed, but I still have an error. My extracted iso is at /tftpboot/iso/gparted.

          My menu config file parameters are

          kernel tftp://${fog-ip}/iso/gparted/live/vmlinuz vmlinuz boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://${fog-ip}/iso/gparted/live/filesystem.squashfs
          initrd tftp://${fog-ip}/iso/gparted/live/initrd.img
          boot

          What might I be doing wrong?

          OS: CentOS 8

          Error: Operation not supported could not boot (http://ipxe.org/3c126003)

          863d6de2-4724-43d5-bf57-784cbec9dbbf-image.png

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by May 6, 2021, 5:14 PM

            @b_man said in GParted Live from FOG:

            kernel tftp://${fog-ip}/iso/gparted/live/vmlinuz vmlinuz boot=live ...

            Do you have the ISO file extracted to /tftpboot/iso/gparted/ on your FOG server?

            @george1421 By the way, do you think the double ... vmlinuz vmlinuz ... in that line is correct? I don’t think it’s causing an issue but nevertheless stumbled upon this.

            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

            B G 2 Replies Last reply May 6, 2021, 5:38 PM Reply Quote 0
            • B
              b_man @Sebastian Roth
              last edited by b_man May 6, 2021, 12:12 PM May 6, 2021, 5:38 PM

              @sebastian-roth Yes, that is where the iso was extracted to.

              1 Reply Last reply Reply Quote 0
              • G
                george1421 Moderator @Sebastian Roth
                last edited by george1421 May 6, 2021, 5:25 PM May 6, 2021, 11:24 PM

                @sebastian-roth said in GParted Live from FOG:

                By the way, do you think the double … vmlinuz vmlinuz … in that line is correct? I don’t think it’s causing an issue but nevertheless stumbled upon this.

                Well that format is understood but still a little confusing to read. If you rewrite the call so its a bit clearer it would look like this

                kernel tftp://${fog-ip}/iso/gparted/live/vmlinuz 
                initrd tftp://${fog-ip}/iso/gparted/live/initrd.img
                imgargs vmlinuz boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://${fog-ip}/iso/gparted/live/filesystem.squashfs
                boot
                

                In regards to the OP’s error. One might think that secure boot is turned on or you are trying to boot a bois or uefi boot image with the opposite firmware.

                What I might do is on the fog server and run file /tftpboot/iso/gparted/live/vmlinuz to see if it comes back as a valid linux kernel.

                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!

                B 1 Reply Last reply May 7, 2021, 5:35 PM Reply Quote 0
                • B
                  b_man @george1421
                  last edited by b_man May 7, 2021, 11:55 AM May 7, 2021, 5:35 PM

                  @george1421 I set the computer to boot to Legacy and also updated the FOG parameter settings to what you posted.

                  As far as the Kernel goes, running file /tftpboot/iso/gparted/live/vmlinuz returned:

                  /tftpboot/iso/gparted/live/vmlinuz: Linux kernel x86 boot executable bzImage, version 5.10.0-6-686 (debian-kernel@lists.debian.org) #1 SMP Debian 5.10.28-1 (2021-04-09), RO-rootFS, swap_dev 0x4, Normal VGA

                  It still will not boot to Gparted. Can you post instructions on how to properly download and
                  extract the iso to that folder? Maybe I did not do that correctly.

                  Here are my menu parameters:

                  8403df6e-6da7-402f-a949-2d182f515021-image.png

                  Here is part of my ISO files:

                  [root@localhost ~]# sudo tree -d /tftpboot/iso/gparted/
                  /tftpboot/iso/gparted/
                  β”œβ”€β”€ boot
                  β”‚   └── grub
                  β”‚   β”œβ”€β”€ i386-efi
                  β”‚   └── x86_64-efi
                  β”œβ”€β”€ [BOOT]
                  β”œβ”€β”€ EFI
                  β”‚   └── boot
                  β”œβ”€β”€ live
                  β”œβ”€β”€ syslinux
                  └── utils
                  β”œβ”€β”€ linux
                  β”‚   β”œβ”€β”€ x64
                  β”‚   └── x86
                  β”œβ”€β”€ mbr
                  β”œβ”€β”€ win32
                  └── win64

                  16 directories
                  [root@localhost ~]# sudo tree /tftpboot/iso/gparted/live
                  /tftpboot/iso/gparted/live
                  β”œβ”€β”€ filesystem.packages
                  β”œβ”€β”€ filesystem.packages-remove
                  β”œβ”€β”€ filesystem.squashfs
                  β”œβ”€β”€ GParted-Live-Version
                  β”œβ”€β”€ initrd.img
                  β”œβ”€β”€ memtest
                  └── vmlinuz

                  1 Reply Last reply Reply Quote 0
                  • B
                    b_man
                    last edited by May 13, 2021, 9:11 PM

                    Out of curiosity, how come this was marked as solved? Still cannot boot into GPARTED. Is there something wrong with my tftp settings? Any other methods?

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth May 14, 2021, 12:02 AM May 14, 2021, 5:56 AM

                      @b_man said in GParted Live from FOG:

                      Out of curiosity, how come this was marked as solved?

                      Not sure if you noticed but this is an old topic that was marked solved even before you posted. That’s one of the reasons why we keep telling people to open their very own topics and post all their details in that new one. Makes things a lot clearer. If you think a lot of the information is in the old topic, then just link to it from your new one.

                      Please add details like the exact commands used to prepare the files and version of GParted you use as this might make a difference. As well post if you boot in UEFI or legacy BIOS mode and if it’s a VM setup or on hardware.

                      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
                      • A
                        Alireza2n
                        last edited by Alireza2n Dec 1, 2021, 5:12 AM Dec 1, 2021, 11:12 AM

                        Here is my current config in FOG, using latest gparted zip file (as of Dec. 2021):

                        kernel http://${fog-ip}/gparted/vmlinuz initrd=initrd.magic 
                        initrd http://${fog-ip}/gparted/initrd.img
                        imgargs vmlinuz boot=live union=overlay username=user config components quiet noswap  toram=filesystem.squashfs net.ifnames=0  nosplash fetch=http://${fog-ip}/gparted/filesystem.squashfs
                        boot || goto MENU
                        

                        Gparted boots fine. πŸ™‚

                        G 1 Reply Last reply Dec 1, 2021, 11:31 AM Reply Quote 1
                        • G
                          george1421 Moderator @Alireza2n
                          last edited by Dec 1, 2021, 11:31 AM

                          @alireza2n May I include your configuration in this tutorial? https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images

                          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 0
                          • 1 / 1
                          • First post
                            Last post

                          158

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright Β© 2012-2024 FOG Project