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

    Reset before setup has finished results in broken system.

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    14 Posts 2 Posters 2.4k 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.
    • K
      kpa
      last edited by

      No difference at all with the sysctl. I was able to reproduce the error two times out of two tries resetting the virtual machine after assigning a WAN interface but before assigning a LAN interface. The error message I'm seeing on the console is "Config.xml is corrupted and is 0 bytes.ย  Could not restore a previous backup."

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        What do you consider a "normal" HD installation?

        For me, "normal" means you boot the CD all the way to the menu and use option 99 to install, but you'd already have to set the interfaces to get that far so it should be impossible to break it in that way since nothing would be permanent yet.

        To others, "normal" might mean pressing "I" during the boot sequence to do the install early.

        It's a matter of preference, but it can have an impact on the behavior.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • K
          kpa
          last edited by

          Aah yes, sorry. I'm selecting 'I' during the boot up from the install CD. I'll see what difference using '99' on the live cd menu makes.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            I tried it both ways and couldn't replicate the behavior. Each time I tried it always returned me to the assign interfaces prompt.

            If you can get it to happen again, check /conf.default and see if there is a file inside.

            Also mention specifically which install image is being used (amd64, i386, snapshot timestamp, filename, etc.)

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • K
              kpa
              last edited by

              The CD-image I'm using is

              pfSense-LiveCD-2.2-DEVELOPMENT-i386-20140522-1233.iso
              

              I was able to reproduce the problem again by doing the install via 'I' during the CD boot up and rebooting to the installed system and resetting the system mid-way of the interface setup. There is a config.xml file of size 17989 bytes under /conf.default

              Using '99' on the livecd menu resulted in working system but of course there is no opportunity for messing up the configuration while doing the interface assignments because that configuration is not yet written to the real disk.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Where exactly in the interface setup did you reset?

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • K
                  kpa
                  last edited by

                  After typing 'vtnet0' at the prompt for WAN interface and pressing enter.

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    Hmm, I can't reproduce it. I'm using VMware workstation on a PC, i386 VM, I installed using "i" and then rebooted. Let it come to the assignment screen, entered em0, then enter, and then reset the VM.

                    It came back up, ran fsck, and returned me to the interface assignment.

                    Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • K
                      kpa
                      last edited by

                      I'll see if I can reproduce this on another VM, let's say VirtualBox, or even on real hardware.

                      1 Reply Last reply Reply Quote 0
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        OK. It could be something specific to Parallels, I know others have abandoned it because of issues and moved to VBox or Fusion.

                        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 0
                        • K
                          kpa
                          last edited by

                          Well, it does the same thing under VirtualBox. I used 512MBs of RAM, 8GBs disk and two vtnet NICs. This has to be some sort of data loss problem that somehow isn't reproducable on your VM.

                          I wouldn't be using Parallels otherwise but it's so far the only one that offers proper Direct3D 9/10 graphics under Windows guest.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.