• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Nov 3, 2014, 10:03 PM

    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 Nov 3, 2014, 10:37 PM

      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 Nov 3, 2014, 11:48 PM

        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 Nov 4, 2014, 1:01 AM

          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 Nov 4, 2014, 1:04 AM

            [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 Nov 4, 2014, 2:29 AM

              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 Nov 4, 2014, 6:35 PM

                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
                1 / 1
                • First post
                  4/7
                  Last post

                212

                Online

                12.1k

                Users

                17.3k

                Topics

                155.3k

                Posts
                Copyright © 2012-2024 FOG Project