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

    Boot ISO memdisk 1.3+

    Scheduled Pinned Locked Moved
    General
    memdisk iso
    7
    21
    11.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.
    • cnewman402C
      cnewman402
      last edited by

      How far Ive gotten:

      1_1470585492380_avg2lsR.PNG 0_1470585492377_avg1.PNG

      Wayne WorkmanW cnewman402C 2 Replies Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @cnewman402
        last edited by Wayne Workman

        @cnewman402 You need parameters.
        You need to figure out where the kernel is on the ISO, and specify it. I don’t know where it is, but normally it ends with a .bzi extension.

        Two files that stick out for kernel and init are vmlinuz and initrd.lzm that I see in the picture.

        I don’t know if this will work (it’s just a guess), but put these in the parameters section:

        :AVG
        kernel http://${fog-ip}/avg/isolinux/vmlinuz
        initrd http://${fog-ip}/avg/isolinux/boot.cat
        initrd http://${fog-ip}/avg/isolinux/initrd.lzm
        initrd http://${fog-ip}/avg/isolinux/ldlinux.c32
        initrd http://${fog-ip}/avg/isolinux/libutil.c32
        initrd http://${fog-ip}/avg/isolinux/reboot.c32
        initrd http://${fog-ip}/avg/isolinux/syslinux.png
        initrd http://${fog-ip}/avg/isolinux/f1.msg
        initrd http://${fog-ip}/avg/isolinux/isolinux.bin
        initrd http://${fog-ip}/avg/isolinux/libcom32.c32
        initrd http://${fog-ip}/avg/isolinux/syslinux.cfg
        initrd http://${fog-ip}/avg/isolinux/vesamenu.c32
        imgargs vmlinuz boot=live ip=dhcp edd=on noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=normal sleep=0 loglevel=0 keymap=us splash quiet - || read void
        boot || read void
        

        –EDIT–
        updated the image args.

        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
        • cnewman402C
          cnewman402 @cnewman402
          last edited by

          This post is deleted!
          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @cnewman402
            last edited by

            @cnewman402 the grab entries is a starting point.

            I would try to boot the iso directly first. If that doesn’t work then dig into the iso and extract its content to a directory on the fog server and then checkout the syslinux config file or the grub config 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!

            1 Reply Last reply Reply Quote 0
            • cnewman402C
              cnewman402
              last edited by

              Im starting to see how the entries are created. Thank you for pointing out each bootable image is unique. I’ll continue to test and see how the different images work. Im pretty new to Linux, with just basic experience from working at a webhost company for a while.

              Is it possible to use memdisk with iso’s in this build or is it mandatory to extract and build entry into each one?

              george1421G Q 2 Replies Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @cnewman402
                last edited by

                @cnewman402 I did write a tutorial a bit ago about pxe booting a winpe disk that shows two examples. While its a bit off point of what you are doing right now it does show you the steps.
                https://forums.fogproject.org/topic/6284/booting-mdt-2013-litetouch-with-fog

                I also wrote one that shows how to boot the windows setup via a pxe boot.
                https://forums.fogproject.org/topic/7765/pxe-booting-into-ms-windows-7-setup

                Couple that with the FOG Wiki that Sebastian referenced
                https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu

                That should get you started. Now understand each iso is different. The ones that are based on linux typically will have instructions on the provider web site on how to pxe boot them.

                With that information you should be able to build your pxe boot menus nicely with the fog management gui.

                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 2
                • Q
                  Quazz Moderator @cnewman402
                  last edited by

                  @cnewman402 By the way, you don’t (and shouldn’t) put the item identifier :AVG (or similar) in parameters field, FOG will automatically generate the item name based on the Menu Item field (so make sure that one has no spaces or special characters to avoid potential issues)

                  1 Reply Last reply Reply Quote 0
                  • X
                    xfirero @Sebastian Roth
                    last edited by

                    @Sebastian-Roth I want to boot from Windows 7 iso:

                    :MENU
                    menu
                    item --gap – ---------------- iPXE boot menu ----------------
                    item windows Install Windows
                    choose --default windows target && goto ${target}
                    :windows
                    menu
                    item Win7AIK_EN Windows7_32
                    item shell ipxe shell
                    item return Return to Main Menu
                    choose --default Win7_32 target && goto ${target}

                    :Win7AIK_EN
                    initrd http://192.168.1.9/fog/service/ipxe/iso/Win7AIK_EN.iso
                    chain memdisk iso raw ||
                    goto MENU

                    :shell
                    shell ||
                    goto MENU
                    :return
                    chain http://192.168.1.9/fog/service/ipxe/boot.php?mac=${net0/mac} ||
                    prompt
                    goto MENU
                    autoboot
                    …
                    But client hangs at “Loading Boot Sector…booting…” during boot.

                    It is a “Solved” question https://forums.fogproject.org/topic/5521/add-to-advanced-boot-menu-windows-7-iso but I can’t find anything.

                    Q george1421G 2 Replies Last reply Reply Quote 0
                    • Q
                      Quazz Moderator @xfirero
                      last edited by

                      @xfirero Please check https://forums.fogproject.org/topic/7765/pxe-booting-into-ms-windows-7-setup

                      X 1 Reply Last reply Reply Quote 1
                      • george1421G
                        george1421 Moderator @xfirero
                        last edited by

                        @xfirero That way won’t work (as you noticed). Windows will look for a cdrom (hardware) if you do it that way.

                        Review this tutorial
                        https://forums.fogproject.org/topic/7765/pxe-booting-into-ms-windows-7-setup

                        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!

                        X 1 Reply Last reply Reply Quote 1
                        • X
                          xfirero @Quazz
                          last edited by

                          @Quazz 10x

                          1 Reply Last reply Reply Quote 0
                          • X
                            xfirero @george1421
                            last edited by

                            @george1421 10x

                            1 Reply Last reply Reply Quote 0
                            • B
                              BedCruncher
                              last edited by

                              @cnewman402
                              Check out what I have done in my server with this iPXE boot menu. I’ve got quite a few ISO’s booting on my setup using memdisk.

                              :dban
                              menu DBAN Nuke Menu
                              item autonuke AutoNuke DoD 3-Pass
                              item zero AutoNuke 1-Pass Zero Wipe
                              item choose-disk Single Disk Selection
                              item return Back to top menu...
                              item
                              choose --default return --timeout 10000 target && goto ${target}
                              :autonuke
                              kernel http://${fog-ip}/dban/dban.bzi nuke="dwipe --autonuke" silent vga=785
                              boot || goto failed
                              :zero
                              kernel http://${fog-ip}/dban/dban.bzi nuke="dwipe --autonuke --method zero" silent vga=785
                              boot || goto failed
                              :choose-disk
                              kernel http://${fog-ip}/dban/dban.bzi nuke="dwipe" silent vga=785
                              boot || goto failed
                              :return
                              chain ${boot-url}/service/ipxe/boot.php?mac=${net0/mac} || prompt goto MENU
                              :WHDD
                              kernel http://${fog-ip}/whdd/whdd.bzi
                              initrd http://${fog-ip}/whdd/initramfs
                              boot
                              :HDT
                              initrd http://${fog-ip}/hdt/hdt.iso
                              chain http://${fog-ip}/hdt/memdisk iso raw
                              boot
                              :AVG
                              initrd http://${fog-ip}/avg/avg.iso
                              chain http://${fog-ip}/avg/memdisk iso raw
                              boot
                              :BreakIn
                              initrd http://${fog-ip}/breakin/breakin.iso
                              chain http://${fog-ip}/breakin/memdisk iso raw
                              boot
                              
                              1 Reply Last reply Reply Quote 0
                              • 1
                              • 2
                              • 1 / 2
                              • First post
                                Last post

                              197

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project