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

    PXE Netboot Ubuntu 14.04 LTS Help

    Scheduled Pinned Locked Moved
    FOG Problems
    pxe netboot ubuntu 14.04
    6
    14
    8.6k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @jbonilla Please re-read Tom’s suggestion on adding ‘initrd=initrd.lz’ parameter. From what I found on the net about this I am pretty sure he is right about 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

      J 2 Replies Last reply Reply Quote 0
      • J
        jbonilla @Sebastian Roth
        last edited by

        @Uncle-Frank

        This is what I have now and I get the same result.

        :UBUNTU
        kernel http://${fog-ip}/fog/service/ipxe/ubuntu/vmlinuz.efi
        initrd http://${fog-ip}/fog/service/ipxe/ubuntu/initrd.lz
        imgargs vmlinuz.efi boot=casper root=/dev/nfs netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/ubuntu initrd=/${fog-ip}/fog/service/ipxe/ubuntu/initrd.lz
        boot || echo failed to boot
        prompt
        goto MENU  
        
        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @jbonilla
          last edited by

          @jbonilla lose the path and only add the filename. Do not tell it where to grab the file as it is in memory.

          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
          • J
            jbonilla @Sebastian Roth
            last edited by

            @Uncle-Frank I tried that too. No luck still. I will try this again on Monday when I get back to work. Until then I will continue to research.

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

              Did you add the Ubuntu folder to the exports file as nfs location?

              S 1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator @Quazz
                last edited by

                @Quazz said:

                Did you add the Ubuntu folder to the exports file as nfs location?

                Thanks for pointing this out! Is /var/www/fog/service/ipxe/ubuntu exported via NFS? Maybe it’s easier to move that stuff to /images which is exportet via NFS by FOG anyway.

                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

                J 1 Reply Last reply Reply Quote 0
                • J
                  jbonilla @Sebastian Roth
                  last edited by

                  @Uncle-Frank Hey everyone, I exported the ubuntu folder. I was able to mount it from another computer so I know it works. I will try moving it to /images since its already being exported when I get back Monday. Will update my results.

                  1 Reply Last reply Reply Quote 0
                  • H
                    Hanz
                    last edited by

                    Your PXE Boot Menu Configuration…I added one and named it Ubuntu14

                    kernel http://10.72.3.50/fog/service/ipxe/Ubuntu14/casper/vmlinuz
                    initrd http://10.72.3.50/fog/service/ipxe/Ubuntu14/casper/initrd.lz
                    imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=10.72.3.50:/var/www/html/fog/service/ipxe/Ubuntu14
                    boot

                    /etc/fstab should have an entry like this…I mounted mine here at startup.

                    /home/bcs/Desktop/ISO/ubuntu-14.04.2-desktop-i386.iso /var/www/html/fog/service/ipxe/Ubuntu14 iso9660 loop 0 0

                    Exports should have an entry like…or wherever your mount point is.

                    /var/www/html/fog/service/ipxe/Ubuntu14 *(ro,async)

                    This entry in exports will need to be recreated after any svn updates, since the installer overwrites the exports file.

                    1 Reply Last reply Reply Quote 0
                    • A
                      Asthea
                      last edited by Asthea

                      Don’t forget to exportfs -a, I know I’m being captain obvious here, but I just want to make sure jbonilla doesn’t skip any steps.

                      Just for comparison, this is how I boot:

                      :ubuntu 
                      kernel http://${fog-ip}/fog/iso/ubuntu64/desktop/casper/vmlinuz.efi
                      initrd http://${fog-ip}/fog/iso/ubuntu64/desktop/casper/initrd.lz
                      imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/iso/ubuntu64/desktop/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us mirror/country=US
                      boot || goto MENU
                      

                      with chmod set to 755 on the folders. Btw, your vmlinuz and initrd should usually be located in the casper folder.

                      J 1 Reply Last reply Reply Quote 1
                      • J
                        jbonilla @Asthea
                        last edited by

                        @Asthea I have it working right now. Thank you everyone for the assistance. I have no idea if the fetch command is even needed. I will test with it out and continue to clean it up. But I am grateful that it is working. Hi-5 all around.

                        :UBUNTU
                        kernel http://${fog-ip}/fog/service/ipxe/ubuntu/casper/vmlinuz.efi
                        initrd http://${fog-ip}/fog/service/ipxe/ubuntu/casper/initrd.lz
                        imgargs vmlinuz.efi boot=casper vga=normal root=/dev/nfs netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/ubuntu/ fetch=http://${fog-ip}/service/ipxe/ubuntu/casper/filesystem.squashfs initrd=initrd.lz locale=en_US.UTF-8 keyboard-configuration/layoutcode=us mirror/country=US
                        boot || echo failed to boot
                        prompt
                        goto MENU  
                        
                        1 Reply Last reply Reply Quote 2
                        • 1 / 1
                        • First post
                          Last post

                        204

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project