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

    Custom Boot Image

    Linux Problems
    1
    2
    2062
    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

        78
        Online

        10.4k
        Users

        16.4k
        Topics

        150.5k
        Posts

        Copyright © 2012-2023 FOG Project