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

    Integrating Hirens Boot 15.2 into fog 1.2.0

    Scheduled Pinned Locked Moved Solved
    General
    15
    50
    38.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.
    • Wayne WorkmanW
      Wayne Workman @Pikmin
      last edited by

      @Pikmin Permission denied… is probably permissions related or firewall related maybe.

      I’d give the ISO 777 perms, then if it’s possible (idk because they are read only??) give the files that you mount 777 perms. This would only be temporary and for troubleshooting, of course. You can tighten the screws down later.

      Something like this:
      [CODE]chmod -R 777 /var/www/fog/service/ipxe/iso
      chown -R apache:apache /var/www/fog/service/ipxe/iso[/CODE]

      Also, because you’re mounting to the same directory that the ISO is in, it’s really confusing and I don’t know if that’s the problem or not… just confusing… It’s up to you but if it were me, I’d separate the two… The ISO itself doesn’t need to be in the web directory, just the mount point needs to be there.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @Wayne Workman
        last edited by

        @Wayne-Workman

        Oh… where did you do the mount part? in the menu? I don’t think that’s where it goes normally… maybe it’s possible, but probably not…

        You’d mount it permanently on your FOG server. Then, the host would access those files via Apache exactly the same way it would access the FOG kernel and init and such.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • P
          Pikmin
          last edited by Pikmin

          I have mounted the iso from the server through a terminal, can’t give it 777 as it’s read only

          root@fog:/var/www/fog/service/ipxe/iso# mount -t iso9660 ubuntu-15.04-desktop-amd64.iso ubuntu -o loop,uid=33,gid=33
          mount: warning: ubuntu seems to be mounted read-only.
          root@fog:/var/www/fog/service/ipxe/iso# ls -l
          total 1467942
          dr-xr-xr-x 1 www-data www-data       2048 Apr 22 22:30 ubuntu
          -rw-r--r-- 1 fog      www-data 1150844928 Jun 24 08:12 ubuntu-15.04-desktop-amd64.iso
          

          The above didn’t work, as in didn’t get as far, the owner needs to be fog.
          I think the part I need to work out how to change is the nfs mount that points to /cdrom in the error message i posted below

          ch3iC 1 Reply Last reply Reply Quote 0
          • P
            Pikmin
            last edited by

            This is what it looks like after vmlinuz.efi and initrd.lz get loaded
            fog.png

            A 1 Reply Last reply Reply Quote 0
            • ch3iC
              ch3i Moderator @Pikmin
              last edited by

              @Pikmin ISO9660 is read-only, you can mount it only on RO.

              1 Reply Last reply Reply Quote 0
              • P
                Pikmin
                last edited by Pikmin

                I understand that, just don’t get what I’m doing wrong when following the steps in this thread
                EDIT:
                Okay all good now, no mention of having to export the path to the mount to NFS. I am new to this, didn’t know

                1 Reply Last reply Reply Quote 0
                • A
                  aaoyagi @Pikmin
                  last edited by aaoyagi

                  Just got this working for me. In case anybody wants the steps:

                  First in your /etc/exports add this line:
                  /var/www/fog/iso/15.04_64 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)

                  Then restart your nfs server. If you’re running Ubuntu it’s sudo service nfs-kernel-server restart

                  Next, extract the Ubuntu iso to a direcotry named 15.04_64 in your /var/www/fog/iso directory.

                  In your Advanced menu use this:
                  :MENU
                  menu
                  item --gap – ---------------- iPXE boot menu ----------------
                  item ubuntu15.04_64 Boot Ubuntu 15.04
                  item return return to previous menu
                  :ubuntu15.04_64
                  set path /fog/iso/15.04_64
                  set nfs_path /var/www/fog/ISO/15.04_64
                  kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
                  initrd http://${fog-ip}${path}/casper/initrd.lz || read void
                  imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
                  boot || read void
                  goto start

                  Hopefully it works for you too. You don’t have to set the variables. I just did it that way in case I ever have to change where the iso directory lives.

                  D Wayne WorkmanW 3 Replies Last reply Reply Quote 2
                  • P
                    Pikmin
                    last edited by Pikmin

                    Thanks aaoyagi, when I realised nfs mount was needed it was easy.
                    Do you happen to have a working menu for parted magic? I’ve tried both ways with the iso mounted and exported and just path to the iso
                    Throws an error both times.

                    UPDATE: looked over it one more time and tried what Tom suggested- removed raw and iso
                    chain memdisk ||

                    Working fine, thank you kindly

                    1 Reply Last reply Reply Quote 2
                    • D
                      dureal99d @aaoyagi
                      last edited by

                      @aaoyagi Thank you so much you don’t know how long ive been trying to figure this out. If I could id shake your hand, but for now the best I can do is IS be amazed at how awesome what you figured out is. Again thank you.

                      1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @aaoyagi
                        last edited by Wayne Workman

                        @aaoyagi said:

                        Just got this working for me. In case anybody wants the steps:

                        First in your /etc/exports add this line:
                        /var/www/fog/iso/15.04_64 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)

                        Then restart your nfs server. If you’re running Ubuntu it’s sudo service nfs-kernel-server restart

                        Next, extract the Ubuntu iso to a direcotry named 15.04_64 in your /var/www/fog/iso directory.

                        In your Advanced menu use this:
                        :MENU
                        menu
                        item --gap – ---------------- iPXE boot menu ----------------
                        item ubuntu15.04_64 Boot Ubuntu 15.04
                        item return return to previous menu
                        :ubuntu15.04_64
                        set path /fog/iso/15.04_64
                        set nfs_path /var/www/fog/ISO/15.04_64
                        kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
                        initrd http://${fog-ip}${path}/casper/initrd.lz || read void
                        imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
                        boot || read void
                        goto start

                        Hopefully it works for you too. You don’t have to set the variables. I just did it that way in case I ever have to change where the iso directory lives.

                        Added to wiki

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

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

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @aaoyagi
                            last edited by

                            @aaoyagi Just made major changes to this WiKi article and one other in order to ingegrate this and others into one single article.

                            https://wiki.fogproject.org/wiki/index.php/Include_any_ISO_in_the_FOG_Bootmenu

                            Please, any future instructions or tutorials about adding an ISO via FOG should be added to the above WiKi article. Thanks for giving an awesome little tutorial @aaoyagi

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • K
                              KKTwenty101
                              last edited by

                              A note that clonezilla works using the method.

                              1 Reply Last reply Reply Quote 1
                              • H
                                hugothebas
                                last edited by hugothebas

                                I know this is an old thread, I’ve read it entirely, and I’ve read the wiki too (this page)but I can’t find the files mentioned here. In my installation I don’t have the folder: /tftpboot/pxelinux.cfg/ in where should be the “default” file, which I assume is where the default menu is. I need help finding the files that i have to edit to be able to include other isos to the boot menu.

                                Sorry for the bad english.
                                Thank you.

                                Hugo Thebas

                                Q Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                                • Q
                                  Quazz Moderator @hugothebas
                                  last edited by

                                  @hugothebas Are you on 1.2 or on trunk? Trunk doesn’t have pxelinux.cfg anymore since it switched to iPXE rather than PXE because of the added functionality.

                                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott @Quazz
                                    last edited by

                                    @Quazz 1.2.0 pxelinux.cfg did not exist, but I brought it back in trunk in the case of a requirement per chainloading or issues working with ipxe files.

                                    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

                                    Q 1 Reply Last reply Reply Quote 1
                                    • Q
                                      Quazz Moderator @Tom Elliott
                                      last edited by Quazz

                                      @Tom-Elliott Right, got them mixed up, my bad. 🙂

                                      As to answer his question then, you need to add it in the advanced menu in 1.2 using iPXE formatting.

                                      1 Reply Last reply Reply Quote 0
                                      • Wayne WorkmanW
                                        Wayne Workman @hugothebas
                                        last edited by

                                        @hugothebas This article applies to 1.2.0 and below: https://wiki.fogproject.org/wiki/index.php?title=Advanced_Boot_Menu_Configuration_options

                                        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!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

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

                                        200

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project