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

    Option to boot other slice?

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    26 Posts 4 Posters 13.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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      Even when I setup a NanoBSD-based build in a VM, I get the 1/2 boot prompt on the (virtual in that case) serial terminal via PuTTY.

      It's before the kernel loads, yes, it's immediately after the boot loader kicks in. It pauses for a couple seconds for a response, then continues to boot. If you are at the "OK" prompt, it's too late.

      Every NanoBSD setup I've done on 1.2.3 or 2.0 does this properly.

      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
      • S
        survive
        last edited by

        Hi jimp,

        Fair enough, as you can see by my serial log my system doesn't.

        Any idea how to fix?

        Any thoughts on adding "boot other slice" option to the console menu?

        -Will

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

          Take a backup, rewrite the drive/media from a NanoBSD image, and restore your config.

          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
          • S
            survive
            last edited by

            Hi jimp,

            That's what I did when I can into the problem that prompted me to need to boot the other slice.

            This was back in the end of august when the snapshots were being troublesome upon reboot, I don't remember the exact error.

            I can certainly give your suggestion another shot.

            -Will

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

              Make sure you are writing out a complete NanoBSD image to the drive, and not just an upgrade slice (those can only be used through the pfSense upgrade process, not with dd or similar utils)

              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
              • S
                survive
                last edited by

                Hi jimp,

                I'm pretty sure I did.

                I'll give it another shot soon though.

                what about adding this as an option to the console menu?

                -Will

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

                  For NanoBSD you can switch slices at the console with /etc/rc.nanobsd_switch_boot_slice

                  But if your NanoBSD install is actually working properly, you will have the 1/2 options at boot time.

                  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
                  • S
                    survive
                    last edited by

                    Hi jimp,

                    Will I just tried writing out an image to a different CF card and still didn't see the menu.

                    I used this file:

                    pfSense-2.0-BETA4-1g-20101002-1743-nanobsd.img.gz

                    and wrote it out with the physdiskwrite.exe\physGUI.exe combo of utilites on a freshly wiped CF card.

                    The results were the same as what I posted previously, there was no menu or option to boot the other slice, the only choice I saw was the option to "Hit [Enter] to boot immediately, or any other key for command prompt." which I'm pretty sure we have established is not where I want to go to select the other slice.

                    Other than that the system seemed to boot correctly. So now what? What can I do to help you help me to get this option working?

                    Also what about adding "boot second slice" added as an option to the console menu, which seems to be much easier than (editing, running) some file located in /etc?

                    -Will

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

                      A menu option can be added, one that only shows up on NanoBSD, but that doesn't help your situation overall though, often when you need to boot the other slice by hand, you do so because you cannot boot the current slice at all for whatever reason.

                      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
                      • S
                        survive
                        last edited by

                        Hi jimp,

                        Sure it won't help in all cases, but in the situation I found myself in…I think it was this one:

                        http://forum.pfsense.org/index.php/topic,28032.0.html

                        it might have.

                        Either way, any idea what I can do to help resolve why I don't get the menu that lets me select the slice at bootup?

                        I'm booting from a CF card in a SATA <-> CF adapter. I don't get (and don't recall ever seeing) the menu you see that allows you to select to boot single user like you see in the rest of the FreeBSD family.

                        -Will

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

                          The NanoBSD images don't have that menu with safe mode and such.

                          I'm not sure why you aren't seeing that message, but it shows up for me on ALIX, on my VMs, and anywhere else I've put NanoBSD.

                          As a test, can you try the 1.2.3-RELEASE NanoBSD image on a spare CF just to see if that shows you the menu?

                          I suppose it may be that the menu only shows up for a second, perhaps something particular to your hardware/BIOS is skipping it somehow… If anyone else was having or reporting the issue I might suspect something had happened to the builder that made them disappear.

                          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
                          • jimpJ
                            jimp Rebel Alliance Developer Netgate
                            last edited by

                            I just wrote out a fresh snapshot from this morning to a CF on my ALIX and I get the menu still. Here is what the first part of my boot output looks like:

                            1  pfSense
                            2  pfSense
                            
                            F6 PXE
                            Boot:  1 
                            /boot.config: -h
                            Consoles: serial port  
                            BIOS drive C: is disk0
                            BIOS 640kB/261120kB available memory
                            
                            FreeBSD/i386 bootstrap loader, Revision 1.1
                            (sullrich@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org, Mon Oct  4 00:14:46 EDT 2010)
                            Loading /boot/defaults/loader.conf 
                            /boot/kernel/kernel text=0x88055c data=0x3c9594+0x9bd20 /
                            \
                            Hit [Enter] to boot immediately, or any other key for command prompt.
                            Booting [/boot/kernel/kernel] in 2 seconds... 
                            

                            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
                            • S
                              survive
                              last edited by

                              Hi jimp,

                              Ah, so that's where I should be looking!

                              I do get an unusual accented letter "a" at the start of the "/boot.config: -h" line in the serial output that doesn't appear to have been copied over in my prior message…

                              I don't get the first 5 lines of your output, I assume they are the cause of the odd "a" character...maybe this is a problem with term settings more than anything.

                              I'll try some other term programs & see if one of those seems to work better. If I have no luck there I'll try a fresh 1.2.3 install.

                              Also, I think post #3 in the thread has one other person seeing the same problem.

                              -Will

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

                                It's possible that it may be coming in at a different speed, if your BIOS does any kind of serial redirection you might check the speed settings there, dial them down to 9600.

                                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
                                  kew
                                  last edited by

                                  @survive:

                                  Hi jimp,

                                  Ah, so that's where I should be looking!

                                  I do get an unusual accented letter "a" at the start of the "/boot.config: -h" line in the serial output that doesn't appear to have been copied over in my prior message…

                                  I don't get the first 5 lines of your output, I assume they are the cause of the odd "a" character...maybe this is a problem with term settings more than anything.

                                  I'll try some other term programs & see if one of those seems to work better. If I have no luck there I'll try a fresh 1.2.3 install.

                                  Also, I think post #3 in the thread has one other person seeing the same problem.

                                  -Will

                                  With version 1.2.3 the same thing happens, do not see the option
                                  shift slice

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

                                    Something I just had remembered, if you have a keyboard plugged in, it might cause some ambiguity in where the boot choice menu is displayed. If no keyboard is found, it should definitely be printing to the serial port.

                                    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
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.