• 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
    37.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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      why are you insistent on imgfetch and boot?

      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
        Juan Bertolotti
        last edited by

        sorry , my bad, my actual code is:
        [CODE]:MENU
        menu
        item --gap – ------------- Advanced Menu --------------
        item hirens10 Hirens Boot 10
        item hirens15 Hirens Boot 15
        item w64 Windows 7 64b
        item RETURN Return to the Top Menu
        choose --default RETURN --timeout 30000 target && goto ${target}

        :hirens10
        initrd http://${fog-ip}/iso/hirensboot10.iso
        chain memdisk iso raw ||
        goto MENU

        :hirens15
        initrd http://${fog-ip}/iso/hirensboot15.iso
        chain memdisk ||
        goto MENU

        :w64
        initrd http://${fog-ip}/iso/w764.iso
        chain memdisk iso raw ||
        goto MENU

        :RETURN
        chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
        prompt
        goto MENU

        autoboot[/CODE]

        hirens10 works
        hirens15 not working ( tried with iso raw and without it )
        w764 not working ( tried with iso raw and without it )

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

          [url]http://fogproject.org/forum/threads/hirens-boot-cd-15-2-hangs-with-loading-boot-sector-booting.12132/#post-39960[/url]

          According to that post, they had to redownload the hirens-boot-cd and extract the files.

          My best guess as to why it’s not working, is it’s not loading the first bytes of the file. Can you try redownloading the 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! 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
            Juan Bertolotti
            last edited by

            I did that with no changes, still getting the same response. Is there any way to pause the script? I think im getting an error message but it goes to fast

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

              What OS are you running?

              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
              • JunkhackerJ
                Junkhacker Developer
                last edited by

                prompt

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                1 Reply Last reply Reply Quote 0
                • sudburrS
                  sudburr
                  last edited by

                  Did you get Hiren’s Boot CD 15.2 from [url]http://www.hirensbootcd.org/download/[/url] ?

                  When it was initially released my AV was quietly upset about it and corrupting the file.

                  Is the Hiren’s.BootCD.15.2.iso:

                  623,890,432 bytes
                  CRC32: 66605154
                  MD5: 7EFC81ADBBD551D56F6021C439C6837C
                  SHA-1: 565B645851C49C4FB5CF1AF90540A4129033CE66

                  [ Standing in between extinction in the cold and explosive radiating growth ]

                  1 Reply Last reply Reply Quote 0
                  • J
                    Juan Bertolotti
                    last edited by

                    root@vortex:/var/www/iso# md5sum hirensboot15.iso
                    7efc81adbbd551d56f6021c439c6837c hirensboot15.iso
                    i still trying to figure this out

                    1 Reply Last reply Reply Quote 0
                    • J
                      Juan Bertolotti
                      last edited by

                      how does promp work? how I should use it in order to see the error message?

                      1 Reply Last reply Reply Quote 0
                      • N
                        need2 Moderator
                        last edited by

                        Add it into your boot menu after you try to load something, forces it to pause instead of dumping you out.

                        EDIT: Also, looks like your MD5SUM does not match the newer Hirens. Seems like you should go download that.

                        1 Reply Last reply Reply Quote 0
                        • J
                          Juan Bertolotti
                          last edited by

                          Solved:
                          My working menu is:
                          [CODE]:MENU
                          menu
                          item --gap – ---------------- iPXE boot menu ----------------
                          item BOOTCD Hirens 15.2 BOOTCD
                          item mint Linux Mint v2 x64
                          item shell ipxe shell
                          choose target && goto ${target}

                          :BOOTCD
                          initrd http://${fog-ip}/fog/iso/hirensboot.iso ||
                          chain memdisk iso raw ||
                          boot ||
                          goto MENU

                          :mint
                          kernel http://${fog-ip}/fog/service/ipxe/ubuntu/casper/vmlinuz
                          initrd http://${fog-ip}/fog/service/ipxe/ubuntu/casper/initrd.lz
                          imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/ubuntu/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                          boot || goto failed
                          goto start

                          :shell
                          shell ||
                          goto MENU

                          autoboot[/CODE]
                          I also managed to get any debian based live cd booting.
                          Thanks!

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

                            [quote=“Juan Bertolotti, post: 47357, member: 27075”]Solved[/quote]

                            To clarify,

                            You’re still using 1.2.0
                            your ISO is in /var/www/iso

                            WHAT OS ???

                            Hirens version 15

                            Did you have to extract any files? If so, what files?

                            And your working code:

                            menu
                            item --gap – ---------------- iPXE boot menu ----------------
                            item BOOTCD Hirens 15.2 BOOTCD
                            item mint Linux Mint v2 x64
                            item shell ipxe shell
                            choose target && goto ${target}

                            :BOOTCD
                            initrd http://${fog-ip}/fog/iso/hirensboot.iso ||
                            chain memdisk iso raw ||
                            boot ||
                            goto MENU

                            :mint
                            kernel http://${fog-ip}/fog/service/ipxe/ubuntu/casper/vmlinuz
                            initrd http://${fog-ip}/fog/service/ipxe/ubuntu/casper/initrd.lz
                            imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/ubuntu/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                            boot || goto failed
                            goto start

                            :shell
                            shell ||
                            goto MENU

                            autoboot[/CODE]

                            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
                            • Bill RiceB
                              Bill Rice Testers
                              last edited by

                              [quote=“Juan Bertolotti, post: 47357, member: 27075”]Solved:
                              My working menu is:
                              [CODE]:MENU
                              menu
                              item --gap – ---------------- iPXE boot menu ----------------
                              item BOOTCD Hirens 15.2 BOOTCD
                              item mint Linux Mint v2 x64
                              item shell ipxe shell
                              choose target && goto ${target}

                              :BOOTCD
                              initrd http://${fog-ip}/fog/iso/hirensboot.iso ||
                              chain memdisk iso raw ||
                              boot ||
                              goto MENU

                              :mint
                              kernel http://${fog-ip}/fog/service/ipxe/ubuntu/casper/vmlinuz
                              initrd http://${fog-ip}/fog/service/ipxe/ubuntu/casper/initrd.lz
                              imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/ubuntu/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                              boot || goto failed
                              goto start

                              :shell
                              shell ||
                              goto MENU

                              autoboot[/CODE]
                              I also managed to get any debian based live cd booting.
                              Thanks![/quote]

                              Now i have to ask, is this the hirens boot cd from their site or the revised hirens boot cd thats actually dvd sized at 3 gig? im trying to get the dvd iso to work… too many nice utilities in there.

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

                                Hi everyone,
                                I have tried to create an advanced menu for ubuntu 15
                                Added the following to advanced menu

                                :ubuntu15.04_64
                                initrd http://${fog-ip}/${fog-webroot}/service/ipxe/iso/ubuntu-15.04-desktop-amd64.iso
                                chain memdisk iso raw ||
                                goto MENU
                                

                                It loads the iso from the network, ubuntu splash comes up and starts loading then I get this error message

                                (initramfs) Unable to find a medium containing a live file system
                                

                                The iso is located in

                                root@fog:/var/www/fog/service/ipxe# ls -lh iso/
                                total 1.4G
                                -rw-r--r-- 1 fog www-data 336M Jun 24 08:27 pmagic_2013_08_01.iso
                                -rw-r--r-- 1 fog www-data 1.1G Jun 24 08:12 ubuntu-15.04-desktop-amd64.iso
                                

                                I’m looking at the menu below and it’s got extra options, does that mean I need to extract the iso to the ubuntu folder (in the example) or do I need to mount it to that folder on the fog server?
                                Thank you for your help and sorry for replying to an old thread but it’s relevant to my issue

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

                                  @Pikmin I think mounting it somewhere in the web directory of your FOG server would be best. There is some sort of ‘mount loop’ command just for this…

                                  It’s something like this; don’t quote me on it… Might be best to do some Googling on it.
                                  [CODE]mount -o loop ImageName.img /path/to/mount/to[/CODE]

                                  You would then find where the Kernel and the inits are within that mount, and then specify those files in the menu, I THINK. Again, don’t quote me.

                                  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

                                    Thanks Wayne,
                                    I had to change the vmlinuz to vmlinuz.efi
                                    It loads it and initrd.lz and gets to this part

                                    Begin: Trying netboot from 10.0.0.1:/var/www/fog/service/ipxe/iso/ubuntu ... Begin: Trying nfsmount
                                    -o nolock -o ro 10.0.0.1:/var/www/fog/service/ipxe/iso/ubuntu /cdrom ... mount call failed - server
                                    replied: Permission denied
                                    ...
                                    

                                    I thought it was maybe because when the iso gets mounted root is the owner and group owner, tried to mount as fog (1001) no luck

                                    mount -t iso9660 ubuntu-15.04-desktop-amd64.iso ubuntu -o loop,uid=1001,gid=1001 ro
                                    

                                    Just to clarify I am mounting the iso to /var/www/fog/service/ipxe/iso/ubuntu, ubuntu15 iso is in /var/www/fog/service/ipxe/iso folder

                                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                    • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            192

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project