• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

can't find '/etc/hostid' /boot/entropy size=0x1000

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
22 Posts 10 Posters 19.0k Views
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.
  • H
    HandyManDM @BigMTL
    last edited by Aug 19, 2022, 8:22 AM

    @bigmtl I am trying to reload a SG-4860 via usb stick. Everything for the install finished and I'm able to do some configuring by hand....but after I started to restore the configuration from an "identical" machine the rebuilt one starts "hanging" right after the title msg. TURNS OUT it isn't actually hung as by accident I left the machine alone for several minutes and found that it had come up and the web interface was alive and working as was the router functionality that had been setup. What was happening is at the point the machine appeared to freeze, it was actually that the console USB Serial port is somehow becoming disabled and no more I/O happens until I reboot. This only starts once I start to import the previous config so further investigation may show what part of the config causes the problem.
    Does anyone have any ideas? The twin brother machine's console from which I'm importing the backed up config seems to work fine.

    4 1 Reply Last reply Nov 24, 2022, 1:14 PM Reply Quote 0
    • 4
      4o4rh @HandyManDM
      last edited by Nov 24, 2022, 1:14 PM

      @handymandm hostid is required for ZFS. It seems to be a defect. workaround below
      https://forum.netgate.com/topic/141691/defect-etc-rc-d-hostid-file-for-zfs-not-generated-from-uuid/4?_=1669295521699

      R 1 Reply Last reply Jan 10, 2025, 7:05 PM Reply Quote 0
      • R
        rmaeder @4o4rh
        last edited by Jan 10, 2025, 7:05 PM

        @4o4rh
        This just happened to me when trying to install latest pfsense to a iKoolcore R2max.
        Had to go into single user mode and create the hostid as described in the referenced link.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Jan 10, 2025, 8:28 PM

          Most systems will show that error at boot because there is no uuid passed by the BIOS. It's harmless though, you shouldn't need to do anything.

          R 1 Reply Last reply Jan 11, 2025, 8:36 AM Reply Quote 0
          • R
            rmaeder @stephenw10
            last edited by Jan 11, 2025, 8:36 AM

            @stephenw10
            not entirely harmless: it failed to continue booting. After install, the reboot hung right after printing the message about /etc/hostid.
            I then rebooted in single user mode, created /etc/hostid as described in the link mentioned earlier in this thread, only then did it reboot normally.

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Jan 11, 2025, 2:30 PM

              I've never seen that. That was in a current version? Net installer?

              R 1 Reply Last reply Jan 11, 2025, 4:07 PM Reply Quote 0
              • R
                rmaeder @stephenw10
                last edited by rmaeder Jan 11, 2025, 4:08 PM Jan 11, 2025, 4:07 PM

                @stephenw10
                Yes, latest net installer, purchased (for USD 0) from netgate two days ago.
                System is an R2max with N100, 8GB RAM, 128 GB SSD.

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Jan 11, 2025, 7:55 PM

                  Hmm, what error did you see when trying to install ZFS before setting a hostid?

                  R 1 Reply Last reply Jan 12, 2025, 9:14 AM Reply Quote 0
                  • R
                    rmaeder @stephenw10
                    last edited by Jan 12, 2025, 9:14 AM

                    @stephenw10 I didn't notice any errors during the setup process
                    (pfSense CE, ZFS, GPT, stripe, nda0). At the end I rebooted it, and then it hung.

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Jan 12, 2025, 7:19 PM

                      Ah so it just fails to boot the install without a valid hostid? Does it hang exactly at the hostid error?

                      R 1 Reply Last reply Jan 13, 2025, 7:47 AM Reply Quote 0
                      • R
                        rmaeder @stephenw10
                        last edited by Jan 13, 2025, 7:47 AM

                        @stephenw10 IIRC the message about the missing /etc/hostid was the last message before the hang (I neglected to make a screenshot).

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received