OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: gizm0 on November 22, 2017, 08:27:45 am

Title: APU2 board not booting installer from USB stick
Post by: gizm0 on November 22, 2017, 08:27:45 am
I yesterday tried to install OPNsense to my APU2 board, but got an error message saying "Mounting from ufs:/dev/ufs/OPNsense_Install failed with error 19.". This is what I have tried so far:
-boot from 3 different usb sticks (sandisk, samsung and lexar) all usb sticks had over 1gb space
-tinycore boots ok
-i managed to install opnsense nano image to msata disk with tinycore from usb stick. but i need the full version. Or is there possibility to change nano to full version somehow?
-used command at the boot loader: set kern.cam.boot_delay="10000"
-tried 17.1 and 17.7 amd64 serial images: OPNsense-17.7.5-OpenSSL-serial-amd64.img.bz2 and OPNsense-17.1.4-OpenSSL-serial-amd64.img.bz2.
-I have another APU2 board working, but can't remember which opnsense version I used back then. That board gives same errors with those 3 usb sticks.
-Used DD and win32imager to write the image to usb sticks



Trying to mount root from ufs:/dev/ufs/OPNsense_Install [ro,noatime]...
mountroot: waiting for device /dev/ufs/OPNsense_Install ...
Mounting from ufs:/dev/ufs/OPNsense_Install failed with error 19.

Loader variables:
  vfs.root.mountfrom=ufs:/dev/ufs/OPNsense_Install
  vfs.root.mountfrom.options=ro,noatime

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        zfs:tank
        cd9660:/dev/acd0 ro
          (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /)

  ?               List valid disk boot devices
  .               Yield 1 second (for background tasks)
  <empty line>    Abort manual input

mountroot>

Title: Re: APU2 board not booting installer from USB stick
Post by: franco on November 22, 2017, 03:42:34 pm
Hi,

Likely a USB 3.0 stick issue. 2.0 works ok and kern.cam.boot_delay is in the images.

Nano is the same as full install, it expands after boot so you don't lose any disk space, but you will want to enable the swap file under System: Settings: Misc.


Cheers,
Franco
Title: Re: APU2 board not booting installer from USB stick
Post by: gizm0 on November 29, 2017, 05:09:20 pm
Hi,

Thank you for your reply. I tried with fourth usb stick and that worked. I guess the system was bit picky on what usb brank to use. All of the sticks were USB 2.0.
Title: Re: APU2 board not booting installer from USB stick
Post by: franco on November 30, 2017, 03:12:34 pm
Also see here, there may be a solution: https://github.com/opnsense/tools/issues/60 and https://forum.opnsense.org/index.php?topic=6366.0

All help confirming this is appreciated. :)


Cheers,
Franco
Title: Re: APU2 board not booting installer from USB stick
Post by: mossi2000 on December 01, 2017, 10:37:40 am
-Used DD and win32imager to write the image to usb sticks

I only used Rufus for creating the sticks and had no problem booting the sticks.
Sticks used:
emTech 8GB USB 2.0 (Slow write, normal read speed)
SanDisk16 GB USB3.0 (medium write speed 35 MB/s)
Kingston Slider 64GB (high write and read speed: 70 MB/s)

What was your target device?  SSD? HDD? SD-Card?
I had AHCI problems with a Transcend MS370 SSD 16GB