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

Howto install NanoBSD images - newbies

Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
6 Posts 3 Posters 3.9k 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.
  • D
    DeCex
    last edited by Jul 14, 2009, 11:22 AM

    Hi all veterans out thare, as usual id like to say "i dont get it" + "i cant get the damn thing to run"  ;D

    Well, my system crasched last week and i thought what ta heck, lets try flashing my CF card with the nano build and see if it runs. Did it, boot it up, seems to be running, but cant get to webinterface. That to me mean it dont work. My questtion are;

    • Can i flash it on a 8GB CF card ? (4gb build)
    • Would it run on a on a regular PC with a CF-IDE convertor and a CF card attach to it.
    • Would it be like a generic-pc version of nano version laster on? (like monowall)
    1 Reply Last reply Reply Quote 0
    • D
      dotdash
      last edited by Jul 14, 2009, 2:08 PM

      @DeCex:

      Did it, boot it up, seems to be running, but cant get to webinterface.

      It defaults to vr0 and vr1 for interfaces. Connect to the serial console and see if it's at the assign interfaces prompt.
      @DeCex:

      • Can i flash it on a 8GB CF card ? (4gb build)

      Yes, you can fit a smaller image on a larger card. It will just not use the rest of the space.
      @DeCex:

      • Would it run on a on a regular PC with a CF-IDE convertor and a CF card attach to it.
      • Would it be like a generic-pc version of nano version laster on? (like monowall)

      Yes, it should be able to run on a supported PC with a supported CF adapter. The images are 'generic-pc' versions. There is no hardware specific version.

      1 Reply Last reply Reply Quote 0
      • F
        FooFighter
        last edited by Jul 15, 2009, 1:32 PM

        I have got a question regarding the update procedure.

        I currently use a 1 GB CF card with a 1 GB nanoimage on my Alix - works perfectly.
        To be able to update pfSense via WebUI in the future I think that I have to flash my CF manually with a 512 MB image - hopefully for the last time :) This would leave enough room for further stageX online flashes. Do I get this right?

        Best regard,

        Foo

        1 Reply Last reply Reply Quote 0
        • D
          dotdash
          last edited by Jul 15, 2009, 2:31 PM

          If I understand this correctly, the images contain two partitions. So the 1GB image has two 512MB partitions, so you can keep your running image when you upgrade.

          1 Reply Last reply Reply Quote 0
          • F
            FooFighter
            last edited by Jul 15, 2009, 6:30 PM Jul 15, 2009, 4:30 PM

            thank you for the information. I just gave it a try to see if it really works. I used manual update from the WebUI and selected the following 512 MB image.

            pfSense-1.2.3-512mb-20090714-0308-nanobsd-upgrade.img.bz2

            The upload works fine and a top via ssh shows gzip using most of the CPU. After that the WebUI shows

            An upgrade is currently in progress.
            The firewall will reboot when the operation is complete.

            so far so good …but this really lasts for ever... 30 minutes and counting

            there are no errors in dmesg/system logs. is there a way to check via ssh whats going on / going wrong?

            Best regards,

            Foo

            UPDATE

            I manually rebootet the system and checked the Diagnotics -> NanoBSD -> View upgrade log

            NanoBSD Firmware upgrade in progress…

            Installing /root/firmware.tgz.
            Installing /root/firmware.tgz.
            SLICE 2
            OLDSLICE 1
            TOFLASH ad0s2
            COMPLETE_PATH ad0s2a
            GLABEL_SLICE pfsense1

            File list:

            Warning: file_get_contents(/conf/file_upgrade_log.txt): failed to open stream: No such file or directory in /usr/local/www/diag_nanobsd.php on line 235

            Misc log:

            gzip: no -l with bzip2 files
            /etc/rc.firmware: arithmetic expression: syntax error: " / 1024 / 1024"

            fdisk/bsdlabel log:

            1 Reply Last reply Reply Quote 0
            • D
              dotdash
              last edited by Jul 15, 2009, 7:02 PM

              I think you should have used a -1G upgrade on your 1G image, but I tried that and got a similar error.

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