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

PXE boot CoreOS

Scheduled Pinned Locked Moved
General
3
6
3.2k
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.
  • F
    Frode Woldsund
    last edited by Apr 13, 2015, 12:14 PM

    I would like to deploy a clean CoreOS iso to my new machines using the Advanced PXE boot menu in FOG.
    I have found this wiki page:
    [url]http://www.fogproject.org/wiki/index.php/Advanced_Boot_Menu_Configuration_options[/url]

    Can someone help me boot a *.cpio.gz file instead of *.iso file?

    :CoreOS
    set base-url [url]http://stable.release.core-os.net/amd64-usr/367.1.0[/url]
    kernel ${base-url}/coreos_production_pxe.vmlinuz
    initrd ${base-url}/coreos_production_pxe_image.cpio.gz cloud-config-url=[url]http://example.com/pxe-cloud-config.yml[/url]
    [[[ SOME FANCY CODE HERE TO ACTUALLY LOAD THE OS??! ]]] ||
    goto MENU

    — from CoreOS documentation—
    This is an example pxelinux.cfg file that assumes CoreOS is the only option. You should be able to copy this verbatim into /var/lib/tftpboot/pxelinux.cfg/default after providing a cloud-config URL:
    default coreos prompt 1 timeout 15 display boot.msg label coreos menu default kernel coreos_production_pxe.vmlinuz append initrd=coreos_production_pxe_image.cpio.gz cloud-config-url=[url]http://example.com/pxe-cloud-config.yml[/url]

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Apr 13, 2015, 12:17 PM

      [quote=“Frode Woldsund, post: 45366, member: 19014”]I would like to deploy a clean CoreOS iso to my new machines using the Advanced PXE boot menu in FOG.
      I have found this wiki page:
      [url]http://www.fogproject.org/wiki/index.php/Advanced_Boot_Menu_Configuration_options[/url]

      Can someone help me boot a *.cpio.gz file instead of *.iso file?

      :CoreOS
      set base-url [url]http://stable.release.core-os.net/amd64-usr/367.1.0[/url]
      kernel ${base-url}/coreos_production_pxe.vmlinuz
      initrd ${base-url}/coreos_production_pxe_image.cpio.gz cloud-config-url=[url]http://example.com/pxe-cloud-config.yml[/url]
      [[[ SOME FANCY CODE HERE TO ACTUALLY LOAD THE OS??! ]]] ||
      goto MENU

      — from CoreOS documentation—
      This is an example pxelinux.cfg file that assumes CoreOS is the only option. You should be able to copy this verbatim into /var/lib/tftpboot/pxelinux.cfg/default after providing a cloud-config URL:
      default coreos prompt 1 timeout 15 display boot.msg label coreos menu default kernel coreos_production_pxe.vmlinuz append initrd=coreos_production_pxe_image.cpio.gz cloud-config-url=[url]http://example.com/pxe-cloud-config.yml[/url][/quote]

      set base-url http://stable.release.core-os.net/amd64-usr/367.1.0
      kernel ${base-url}/coreos_production_pxe.vmlinuz cloud-config-url=http://example.com/pxe-cloud-config.yml
      initrd ${base-url}/coreos_production_pxe_image.cpio.gz ||
      goto MENU[/code]

      I’d say try that.

      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
      • F
        Frode Woldsund
        last edited by Apr 13, 2015, 1:44 PM

        Thanks for quick feedback Tom,
        Sorry, but it still not work
        I see that the 2 files are downloaded, but after that it just continue to “goto MENU”. Instead of just booting into coreOS image

        1 Reply Last reply Reply Quote 0
        • J
          Junkhacker Developer
          last edited by Apr 13, 2015, 2:24 PM

          try changing the last line from [CODE]goto MENU[/CODE] to [CODE]boot || goto MENU[/CODE]

          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
          • F
            Frode Woldsund
            last edited by Apr 14, 2015, 7:58 AM

            Hi again Tom,
            Thanks for helping me out!
            It worked perfectly!

            1 Reply Last reply Reply Quote 0
            • F
              Frode Woldsund
              last edited by Apr 14, 2015, 8:00 AM

              Oh, sorry… Thanks to you also Junkhacker 😉
              I did not notice that someone else was replying

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

              210

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project