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

Fog - Ubuntu with UEFI

Scheduled Pinned Locked Moved
Linux Problems
3
11
1.4k
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.
  • O
    Oratorian
    last edited by Sep 4, 2020, 8:03 AM

    I created an Ubuntu 20.04 image using

    Multiple partitions - single disk

    everything is fine expect that ipxe is not able to boot the system afterwards.

    I tried using refind , grub_first_hdd and grub
    but ipxe refuses to reboot the vm.

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Sep 4, 2020, 4:45 PM

      @Oratorian said in Fog - Ubuntu with UEFI:

      everything is fine expect that ipxe is not able to boot the system afterwards.

      Please explain this. Are you saying that when you boot through the iPXE menu and then it defaults to boot from the hard drive refind is unable to find the uefi boot loader? What happens if you remove PXE booting in the firmware and just let it boot to the local disk?

      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 1
      • O
        Oratorian
        last edited by Oratorian Sep 4, 2020, 10:57 AM Sep 4, 2020, 4:55 PM

        Ok a bit more detail here, sry i was working for hours on a solution.

        I created a VM and installed Ubuntu 20.04 in UEFI mode onto it.
        I pushed the image onto FOG until now everything works wonderful

        When i reboot “of course all VM’S are set to boot from network and in uefi mode”
        ipxe starts up and i get into the ipxe boot menu, first menu entry Boot from Local disc.

        From there on nothing happens. ipxe is not able to find either an efi partition nor any bootable system. I tried to set the exit mode to REFIND,GRUB,GRUB_FIRST_HDD and even,GRUB_FIRST_WINDOWS but nope.

        If i reset the vm and choose boot from harddrive on the VM’S Bios setup ubuntu just starts fine.

        G 1 Reply Last reply Sep 4, 2020, 5:09 PM Reply Quote 0
        • G
          george1421 Moderator @Oratorian
          last edited by george1421 Sep 4, 2020, 11:11 AM Sep 4, 2020, 5:09 PM

          @Oratorian Well for the easy part, the grub entries are only for bios mode, so those won’t work on a uefi system. With FOG 1.6 I’m hoping the devs can add in the uefi versions of grub to give us a few more options than refind.

          Ok so if the uefi firmware can find the boot partition and load, at least you know the disk can be cloned successfully and the image isn’t broken.

          So now for refind, there is a config file in /var/www/html/fog/service/ipxe directory that may need to be tweaked to look in more locations for the uefi boot loader. It would also be interesting to know if you deployed that image to a physical machine would it boot using refind? Meaning the image is OK its just how refind is interacting with the VM. The scanfor variable may need to have more areas added, and if you know the path to the bootx64.efi on the target partition you can define a specific path in the refind.conf file.

          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!

          O 1 Reply Last reply Sep 4, 2020, 5:20 PM Reply Quote 0
          • O
            Oratorian @george1421
            last edited by Sep 4, 2020, 5:20 PM

            @george1421

            i just deployed the image to my laptop and i get the same behavior there.

            G 1 Reply Last reply Sep 4, 2020, 6:02 PM Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sep 4, 2020, 5:22 PM

              @Oratorian May I ask which VM hypervisor you use? VirtualBox doesn’t even PXE boot in UEFI mode as far as I know and other VMs might have another specific issue. So please let us know.

              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

              O 1 Reply Last reply Sep 4, 2020, 5:23 PM Reply Quote 0
              • O
                Oratorian @Sebastian Roth
                last edited by Sep 4, 2020, 5:23 PM

                @Sebastian-Roth

                VMWare Workstation Pro 1.5.5.6

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sep 4, 2020, 5:26 PM

                  @Oratorian I have not used VMware in a long time but I am sure there are people here in the forums…

                  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
                  • G
                    george1421 Moderator @Oratorian
                    last edited by Sep 4, 2020, 6:02 PM

                    @Oratorian said in Fog - Ubuntu with UEFI:

                    i just deployed the image to my laptop and i get the same behavior there.

                    Then I one might think its something in the image or the way fog is laying down the image. (just looking at it from a truth table perspective).

                    I have vmware workstation on my office computer, but I’m on holiday for a week now. I have proxmox in my home lab and guess I can setup a ubuntu 20.04 image and see if I can clone it and the boot via fog. I do have both a ubuntu 20.04 and Centos 8 FOG server both running 1.5.8 version of FOG.

                    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!

                    O 1 Reply Last reply Sep 4, 2020, 6:39 PM Reply Quote 0
                    • O
                      Oratorian @george1421
                      last edited by Sep 4, 2020, 6:39 PM

                      @george1421

                      Is it normal that FOG cant deploy a linux image on a machine that had windows installed on it?
                      The Linux image was captured with multiple partitions, single disk.

                      I always get I need to rezise the partitions error even after doing a full wipe on the target maschine.

                      G 1 Reply Last reply Sep 4, 2020, 7:59 PM Reply Quote 0
                      • G
                        george1421 Moderator @Oratorian
                        last edited by Sep 4, 2020, 7:59 PM

                        @Oratorian If your linux partitions are regular partitions then FOG can resize them. If the are LVM partitions then FOG can’t resize those yet.

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

                        142

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project