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

    Fog 0.33b edit PXE menu

    Scheduled Pinned Locked Moved
    General
    16
    67
    38.9k
    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.
    • M
      madskillz23
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • J
        Jose Antonio Sanchez
        last edited by

        Actually, here is my menu… any help appreciated…

        I extracted all files from the Ubuntu 14.04.1 i386 to /var/www/fog/service/ipxe/images/ubuntu14041

        set boot-url [url]http://${fog-ip}/${fog-webroot}/service/ipxe[/url]
        set boot-nfs ${fog-ip}:/${fog-webroot}/service/ipxe
        :MENU
        menu
        item --gap – Boot Menu Advanced
        item WinPE7 WinPE 7
        item Ubuntu14 Ubuntu 14
        item return return to previous menu
        choose --default return --timeout 5000 target && goto ${target}

        :WinPE7
        sanboot ${boot-url}/iso/winpe7.iso
        goto MENU

        :Ubuntu14
        kernel ${boot-url}/images/ubuntu14041/casper/vmlinuz root=/dev/nfs/ vga=normal boot=casper netboot=nfs fetch:${boot_url}/images/ubuntu14041/casper/filesystem.squashfs nfsroot=${boot-nfs}/images/ubuntu14041/
        initrd ${boot-url}/images/ubuntu14041/casper/initrd.lz
        boot
        goto MENU

        1 Reply Last reply Reply Quote 0
        • M
          madskillz23
          last edited by

          [quote=“Jose Antonio Sanchez, post: 35737, member: 25349”]/images as in the same as where the computer images get stored and therefore that’s where my /ubuntu folder should be at
          [/quote]
          That one.

          /var… is boot_url and web directory
          /images is where the rest of your images are stored. that should have a fully extracted ubuntu dvd in a directory there. i

          1 Reply Last reply Reply Quote 0
          • J
            Jose Antonio Sanchez
            last edited by

            [quote=“madskillz23, post: 35740, member: 8206”]That one.

            /var… is boot_url and web directory
            /images is where the rest of your images are stored. that should have a fully extracted ubuntu dvd in a directory there. i[/quote]

            By this you mean the following?:

            /var/www/fog/service/ipxe/images/ubuntu14041 <- this folder has only these three files: vmlinuz initrd.lz and filesystem.squashfs

            /images/ubuntu14041 <- this has the entire contents of the ISO

            1 Reply Last reply Reply Quote 0
            • J
              Jose Antonio Sanchez
              last edited by

              Success!! Ubuntu 14.04.1 i386 Live boots off of iPXE!!!

              Thanks to madskillz23

              Here is a copy of my Advanced Boot Menu
              Note: I have a copy of the CONTENTS of entire ISO of Ubuntu 14.04.1 i386 in both o these locations:

              /images/ubuntu14041
              and in
              /var/www/fog/service/ipxe/images/ubuntu14041

              ==================================
              set boot-url [url]http://${fog-ip}/${fog-webroot}/service/ipxe[/url]
              set boot-nfs ${fog-ip}:/images
              :MENU
              menu
              item --gap – Boot Menu Title
              item WinPE7 WinPE 7
              item Ubuntu14 Ubuntu 14
              item return return to previous menu
              choose --default return --timeout 5000 target && goto ${target}

              :WinPE7
              sanboot ${boot-url}/iso/winpe7.iso
              goto MENU

              :Ubuntu14
              kernel ${boot-url}/images/ubuntu14041/casper/vmlinuz root=/dev/nfs/ boot=casper netboot=nfs nfsroot=${boot-nfs}/ubuntu14041/
              initrd ${boot-url}/images/ubuntu14041/casper/initrd.lz
              boot
              goto MENU

              EDIT: Ubuntu 14.04.1 boots but I have no network access no NIC detected???

              1 Reply Last reply Reply Quote 0
              • J
                Jose Antonio Sanchez
                last edited by

                Anyone got Kaspersky Rescue Disc 10 working on iPXE?

                1 Reply Last reply Reply Quote 0
                • J
                  Jose Antonio Sanchez
                  last edited by

                  [quote=“Eli Kelly, post: 33173, member: 1152”]This is working pretty well for me. Much credit to others on this forum who came up with most of this…

                  [CODE]login && goto validate || goto return

                  :validate
                  iseq ${password} yourpasswordhere && goto MENU || goto return

                  :MENU
                  menu
                  item --gap – ---------------- iPXE boot menu ----------------
                  item ipxedemo ipxe online boot demo
                  item shell ipxe shell
                  item pe86 Generic WinPE x86
                  item lt86 MDT Lite Touch x86
                  item lt64 MDT Lite Touch x64
                  item ghost Ghost Boot
                  item dban Derek’s Boot and Nuke
                  item return return to previous menu
                  item hostinfo details about this computer
                  choose --default return --timeout 5000 target && goto ${target}

                  :ipxedemo
                  chain http://boot.ipxe.org/demo/boot.php ||
                  goto MENU

                  :shell
                  shell ||
                  goto MENU

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

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

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

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

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

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

                  :hostinfo
                  echo This computer : ||
                  echo MAC address…${net0/mac} ||
                  echo IP address…${ip} ||
                  echo Netmask…${netmask} ||
                  echo Serial…${serial} ||
                  echo Asset number…${asset} ||
                  echo Manufacturer…${manufacturer} ||
                  echo Product…${product} ||
                  echo BIOS platform…${platform} ||
                  echo ||
                  echo press any key to return to Menu ||
                  prompt
                  goto MENU

                  autoboot
                  item return return to previous menu
                  choose --default return --timeout 5000 target && goto ${target}

                  :ipxedemo
                  chain http://boot.ipxe.org/demo/boot.php ||
                  goto MENU

                  :shell
                  shell ||
                  goto MENU

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

                  autoboot[/CODE][/quote]

                  Is there a way to display Link Speed? 10Mbit 100Mbit 1000Mbit??
                  Or is there a very light boot disk that can do it???

                  I looked over at the ipxe.org site and could not find anything on link/media speed…

                  Any ideas???

                  Having this info helps reduce the time figuring out which PC is the bad one when there is very slow multicast…

                  1 Reply Last reply Reply Quote 0
                  • M
                    madskillz23
                    last edited by

                    [quote=“Jose Antonio Sanchez, post: 35934, member: 25349”]Is there a way to display Link Speed? 10Mbit 100Mbit 1000Mbit??
                    Or is there a very light boot disk that can do it???

                    I looked over at the ipxe.org site and could not find anything on link/media speed…

                    Any ideas???

                    Having this info helps reduce the time figuring out which PC is the bad one when there is very slow multicast…[/quote]

                    I usually live boot ubuntu then test from speedtest.net.

                    Also can break the group into smaller groups, then test multicast speed, determine which group is slower, repeat until you only have a few computers to test.

                    I had to troubleshoot a lab of 60 computers and that’s how I did it. Not super elegant unfortunately.

                    It might also be possible to boot into debug mode and run a few linux commands like ethtools to see link speeds.

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jose Antonio Sanchez
                      last edited by

                      [quote=“madskillz23, post: 35968, member: 8206”]I usually live boot ubuntu then test from speedtest.net.

                      Also can break the group into smaller groups, then test multicast speed, determine which group is slower, repeat until you only have a few computers to test.

                      I had to troubleshoot a lab of 60 computers and that’s how I did it. Not super elegant unfortunately.

                      It might also be possible to boot into debug mode and run a few linux commands like ethtools to see link speeds.[/quote]

                      I could not get Ubuntu to PXE boot with network access, it doesn’t see any network cards… Ubuntu Live takes a while to boot on a 100MB network too…

                      The ethtools… I’ll give it a try…

                      DebugMode does show the Link Speed as it boots:

                      e1000e: eth0 NIC Link is Up 100Mbps Full Duplex, Flow Control: None

                      I learned that you can Shift + PgUp to scroll back into the boot time messages…

                      1 Reply Last reply Reply Quote 0
                      • M
                        madskillz23
                        last edited by

                        [quote=“Jose Antonio Sanchez, post: 35969, member: 25349”]I could not get Ubuntu to PXE boot with network access, it doesn’t see any network cards… Ubuntu Live takes a while to boot on a 100MB network too…

                        The ethtools… I’ll give it a try…

                        DebugMode does show the Link Speed as it boots:

                        e1000e: eth0 NIC Link is Up 100Mbps Full Duplex, Flow Control: None

                        I learned that you can Shift + PgUp to scroll back into the boot time messages…[/quote]

                        Yeah ran into the same problem, here’s my solution on Ubuntu:
                        sudo dhclient eth0

                        1 Reply Last reply Reply Quote 0
                        • G
                          George
                          last edited by

                          Hi everyone

                          Does anyone tried to boot hirens boot cd from network

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

                          145

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project