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

    Custom Boot Image

    Scheduled Pinned Locked Moved
    Linux Problems
    1
    2
    2.3k
    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.
    • B
      Ben Warfield
      last edited by

      Hi,
      In fog version 0.32, I had modified init.gz to create a custom input option for auto registration. I would like to do the same for version 1.0.1 but am having trouble with the new init.xz file. I’ve edited FOGMountBootImage to reflect the new file location and to use xz instead of gzip and I attached what I’ve done below.

      My problem is when I go to boot a machine, I get a message saying:
      “Input was encoded with settings that are not supported by the XZ decoder”

      I’m guessing I need to add more options to the command to recreate the compressed file, but I’m not sure what to add?

      Thanks

      [url=“/_imported_xf_attachments/0/789_FOGMountBootImage.txt?:”]FOGMountBootImage.txt[/url]

      1 Reply Last reply Reply Quote 0
      • B
        Ben Warfield
        last edited by

        Update: I got it to work.

        The command to create the init.xz file is this:
        xz -C crc32 -z -c init > init.xz

        I found the answer right here in the forum: [url]http://fogproject.org/forum/threads/latest-fog-0-33b.6476/page-30[/url]
        Thanks Tom!

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

        233

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project