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

    Using SATA with the PC Engines APU1

    Scheduled Pinned Locked Moved Hardware
    26 Posts 8 Posters 8.3k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      @pmb1010:

      I Used a SATA to mSata converter and wrote a full install CD
      to the drive.

      You mean you installed to the drive from a CD? Or you actually wrote the CD to the drive?

      Steve

      1 Reply Last reply Reply Quote 0
      • P
        pmb1010
        last edited by

        I used a separate HP computer, and its CD drive.
        I took out the SATA hard disk, and plugged in a mSATA to SATA
        adapter board.
        Booted the HP computer, it recongnized the 30 Gig drive.
        Used the live CD and did the "I" option to install the software to the mSATA drive.
        Once it shut itself down, I turned off the computer and moved the mSATA chip
        to the board of the APU1
        It then failed to boot, it was looking for AD0S1A, and the device list on the APU
        shows it as AD4S1A.  Did a SET command and it booted from the mSATA just fine.
        The FIRST time…
        Restoring the config from the SD based APU clobbered things pretty good.

        I did finally get the text to display from serial port. Its running now at 116,500 or some such number.
        It's not booting to the right partition like before. I get F1 boot prompt, then it goes to boot.loader prompt (I think)

        I'm having trouble getting the AD4s1A back into the device boot config, I try the set command, but
        BOOT is not recognized. I might be at the wrong prompt or something.
        I'll take a look this afternoon and report back.

        1 Reply Last reply Reply Quote 0
        • P
          pmb1010
          last edited by

          New info..
          It appears to be trying to start from the mSata drive.
          I get to PFSense F1, and if I press F1 it goes thru all the normal processes,
          but ends at mountroot. (error trying to load from ad0s1a)

          I know the boot drive I need to load from is ad4s1a

          I used to be able to do a Ctrl C to get to the loader prompt but I can't get there now.
          If I do a space bar during the startup (after F1) I get to a boot: prompt,
          but can't seem to get out of that. No matter what I type there I cant get the system restarted.
          (Edit … ok /boot/loader and enter gets it going.

          I just need a way to get that vfs.root.mountfrom=ufs:/dev/ad4s1a  changed and it should start OK.

          EDIT-------------

          I gave up. Something was just way wrong. It was not starting PFSense in the right way...
          I just reformatted and re-did the mSATA card, and put it back in and now the serial speed is good at 9600,
          I see the PFSense menu and can press 7 to get to loader prompt. Have done so, fixing it to the right partition, and it booted to the right
          PFSense regular menu, set the LAN IP address and I can see it on the network now.

          This is where I was last time when I tried to do the restore config option... I think I'll just do this by hand this time.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Usually you would expect it to get as far as the mountroot> prompt and then stop. You can then enter the path to mount the root partition at that prompt, there is no need to CtrlC there.
            Once it's loaded edit the fstab to point at the correct location.

            Steve

            1 Reply Last reply Reply Quote 0
            • P
              pmb1010
              last edited by

              The 2nd try was successful.
              I edited the FSTAB for correct boot partition, rebooted a few times to make sure it was all set,
              then sent the config from my old setup,
              and other than the serial port changing to 115200, all seems well.
              MY IPsec tunnels all came back up OK,  rules are good.

              So running on APU1 with mSATA will full PFSense install.

              1 Reply Last reply Reply Quote 0
              • R
                router_wang
                last edited by

                @pmb1010:

                The 2nd try was successful.

                Why didn't you just boot from a USB stick and install?

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