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

    Doc edit request: Booting from USB

    Scheduled Pinned Locked Moved Documentation
    9 Posts 4 Posters 11.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.
    • J
      Javik
      last edited by

      On the page:
      http://doc.pfsense.org/index.php/Boot_Troubleshooting

      In section:
      Booting from USB

      Changes:
      Revise lead to discuss CD/DVD drives, and USB flash media.

      There are two additional boot options that should be included, discussed in this thread:
      http://forum.pfsense.org/index.php/topic,32017.15.html

      Also, flash memory USB devices need the filesystem set to read/write to make changes, so add a link to that article.

      I don't know how much linux experts think should be documented in articles. The learning curve of CLI linux is very steep. How much is the end-user expected to know, to accomplish what an article recommends?

      (It doesn't look like nano/pico is available so there's "echo foo >> bar" or vi.  Ack, thppt.)

      Revised text:


      If the boot stops with a mountroot error while booting off the live CD (usually with USB CD/DVD drives) or when using a USB flash memory device, escape to the loader prompt and run the following:

        set hw.mca.enabled=0
        set hw.bce.tso_enable=0
        set kern.cam.boot_delay=10000
        boot
      
      • On version 2.0 this is on the boot menu - option #3 to boot from USB devices.

      At which point the boot will continue normally and you can proceed with normal installation. These settings are not saved.

      If running permanently from a writable USB device that requires this delay, edit /boot/loader.conf.local and insert the following lines:

        hw.mca.enabled=0
        hw.bce.tso_enable=0
        kern.cam.boot_delay=10000
      
      • The file system will need to be set to read/write to make these changes. See:
        http://doc.pfsense.org/index.php/Remount_embedded_filesystem_as_read-write

      The settings in /boot/loader.conf.local will be retained during an upgrade.

      The boot options of CD/DVD media cannot be modified live in this manner. A revised ISO would need to be created with these changes added, and a new CD/DVD created.


      1 Reply Last reply Reply Quote 0
      • J
        Javik
        last edited by

        Hmm, what to make of this? 80 forum article views, no one disagrees that this should NOT be included, but no wiki changes have been made.

        Who do I need to ask to get wiki edit permission to do it myself?

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          You can contact jimp with PM to request access to docs for edits/additions - I got my access like same day requested.

          If was simple typo fix or correction to url or something like that I would be happy to make the change for you, but since I don't have a lot of exp in in this topic your discussing.  Be better if you make the changes so sure correct, etc.

          here is thread about requesting access to wiki
          http://forum.pfsense.org/index.php/topic,25358.0.html

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

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

            Only the cam delay is needed for that. And it's already mentioned on the page. The memstick images are not meant to run long-term in place, they're meant to be install media, so making them read/write isn't really a good idea.

            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
            • J
              Javik
              last edited by

              What flash based storage are you proposing people should be using, if not a USB flash drive?

              SD cards are apparently really slow, and SSD's are way overkill. CompactFlash is a weird old ATA format that is ultra-niche and uncommon at this point.

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

                NanoBSD images are made for CF and other flash media.

                CF is not all that uncommon in embedded router gear, which pfSense sees a lot of use in. And it's hardly "weird", it's a common standard.

                The memstick is meant to be an installer to install onto HDD, SSD, etc. The full install will perform lots of writes on a disk so it's not good for flash.

                NanoBSD minimizes writes to the disk to only when absolutely necessary to preserve the media as long as possible.

                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
                • J
                  Javik
                  last edited by

                  It's pretty clear your mind is made up on the issue, but I will keep talking some more anyway.

                  Okay, so I will get a CF to USB reader and then my system should work fine then, eh? Maybe one of those 4-way CF/SD/MMC/MS readers that goes in a floppy bay?

                  (Oh wait, the same USB boot problem will strike all over again.)

                  Are you proposing that people should be using some non-USB interfacing to the system? Maybe a direct CF to PCI-Express slot interface? Now that is really getting to be ridiculously obscure and unusual.

                  Since many computers built in the last 3 years now don't even include an IDE interface anymore, only SATA, it's getting really hard to direct-connect CF to motherboards without USB.

                  For these reasons, USB boot support from flash media should just be enabled by default in the flash filesystem images.

                  (It's amazing the devs can be so grouchy about having a (gasp) 10-second boot delay by default for flash-based storage.)

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

                    It's enough that it shouldn't be in by default. It's easy to add, and that fact is already documented on the wiki.

                    Most people using CF do so via some form of direct socket, ATA adapter, or SATA adapter, not USB.

                    And I'm not particularly grouchy, it's just not necessary for the majority of users of that platform, and it's documented for the ones that do need it.

                    Keep in mind we see a lot of different platforms out there on a daily basis as a part of not just development but also commercial support. We have a pretty good grasp on what is in common use and what isn't. If the majority of people start to complain about it not working, we'll move it over. It's just not to that point yet.

                    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
                    • M
                      Mats
                      last edited by

                      Thanks Javik for trying to update the Wiki page.
                      Your version works and solved my problem.
                      The official page still doesn't contain any links to how to remount RW so that the error can be fixed

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