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

    How can I boot a live image with iPXE?

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    7
    5.5k
    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.
    • D
      dvaldez
      last edited by

      I’m running Fog 1.2.0 with iPXE

      I’d like to boot a live version of Debian from the Advanced menu, is this possible?

      I’ve prepared Debian 7.6.0 for live booting, and I have the image on the server

      Thanks

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

        I haven’t done it with Debian, but I have with Hiren’s and the principle is the same. Make sure you place the ISO in the location you reference within the Advanced Configuration box. You can also require login to access the advanced menu

        From the FOG Web Interface:
        ‘FOG Configuration’ -> ‘PXE Settings’ or ‘iPXE Boot Menu’ -> ‘Advanced Configuration Options’

        Example entry:
        :MENU
        menu
        item --gap – ---------------- iPXE boot menu ----------------
        item LIVEDEBIAN7 Boot Debian 7 Live Version
        item return Return To Previous Menu
        choose --default LIVEDEBIAN7 --timeout 5000 target && goto ${target}

        :LIVEDEBIAN7
        initrd [url]http://${fog-ip}/ISO/DEBIAN7.ISO[/url]
        chain memdisk iso raw ||
        goto MENU

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

        autoboot

        Source: [url]http://www.fogproject.org/wiki/index.php/Advanced_Boot_Menu_Configuration_options[/url]

        1 Reply Last reply Reply Quote 0
        • D
          dvaldez
          last edited by

          Thanks for your reply.
          The iso loads, but when trying to boot the live image, I get the error:

          “Unable to find a medium containing a live file system”

          1 Reply Last reply Reply Quote 0
          • D
            dvaldez
            last edited by

            I got debian to boot using these options in the menu:

            :debianlive2
            kernel [url]http://${fog-ip}/fog/debian/7.6.0/live/vmlinuz1[/url]
            initrd [url]http://${fog-ip}/fog/debian/7.6.0/live/initrd1.img[/url]
            imgargs vmlinuz1 root=/dev/nfs boot=live netboot=nfs fetch=[url]http://${fog-ip}/fog/debian/7.6.0/live/filesystem.squashfs[/url]
            boot

            but it is now asking for some uname/password which i dont have and giving some strange firmware error once in a while…

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

              [quote=“dvaldez, post: 38658, member: 26961”]I got debian to boot using these options in the menu:

              :debianlive2
              kernel [url]http://${fog-ip}/fog/debian/7.6.0/live/vmlinuz1[/url]
              initrd [url]http://${fog-ip}/fog/debian/7.6.0/live/initrd1.img[/url]
              imgargs vmlinuz1 root=/dev/nfs boot=live netboot=nfs fetch=[url]http://${fog-ip}/fog/debian/7.6.0/live/filesystem.squashfs[/url]
              boot

              but it is now asking for some uname/password which i dont have and giving some strange firmware error once in a while…[/quote]

              This is happening within Debian or FOG?

              1 Reply Last reply Reply Quote 0
              • D
                dvaldez
                last edited by

                Debian boots, gives a login prompt, and the firmware error is also a debian error, I think I have some configuration incorrect but I don’t know what it is.

                1 Reply Last reply Reply Quote 0
                • D
                  dvaldez
                  last edited by

                  I was able to boot using this configuration:

                  kernel [url]http://${fog-ip}/fog/debian/7.6.0/live/vmlinuz1[/url]
                  initrd [url]http://${fog-ip}/fog/debian/7.6.0/live/initrd1.img[/url]
                  imgargs vmlinuz1 boot=live config console=ttyS0 username=live fetch=[url]http://${fog-ip}/fog/debian/7.6.0/live/filesystem.squashfs[/url]
                  boot

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

                  241

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project