OPNsense Forum

English Forums => Hardware and Performance => Topic started by: m_nl on February 24, 2018, 06:14:27 pm

Title: SSD problems with install
Post by: m_nl on February 24, 2018, 06:14:27 pm
Hi,

I`m new to opnsense and firewalls in general. After using a vpnclient on my pc for a while i tried to install opnsense on an itx system with a dual nic to route all network traffic trough a vpntunnel. During the install i encountered the following problem.

I boot from an usbstick with the vga installer and everything goes well until this message appears:

(http://tinyimg.io/i/98kEqGv.jpg)
 
When i connect the same ssd to an usb adapter and i follow exactly the same procedure, there are no problems.
The system boots, opnsense is started without errors and my desktop is connected behind the opnsense firewall. i can reach the opnsence gui @192.168.1.1. How can i get the ssd working for opnsense on an sataport? The uefi-menu recognizes the disk so to me it seems there are no hardware problems.
Title: Re: SSD problems with install
Post by: jelly-ck on February 24, 2018, 06:39:45 pm
For first booting into OPNsense, hold down the <ESC> key when you see the OPNsense menu come up. This will automatically bring up the loader prompt or you can just choose "Option #3" from the menu.

Step #1) when you see the "OK" prompt type the following:

set hint.ahci.0.msi=2 <press Enter afterwards>
boot <press Enter afterwards>

it should boot up fine now

Step #2) Once you have installed OPNsense, reboot without the USB installer, repeat STEP #1. Once you're at the main OPNsense menu, open a shell and add add the settings to /boot/loader.conf.local:

hint.ahci.0.msi=2
Title: Re: SSD problems with install
Post by: m_nl on February 24, 2018, 09:15:57 pm
Thanks for helping jelly :D Step1 worked after removing the space between msi and =.  Installation without trouble and able to boot from the ssd connected at sata. At step two i opened the shell and i`m logged in as root. I`m not familiar with shell commands, which command will open /boot/loader.conf.local: so i can add the line from step1?

-edit
I looked it up, is it something like: echo "hint.ahci.0.msi=2" >> /boot/loader.conf.local ?

echo "hint.ahci.0.msi=2' >> /boot/loader.conf.local worked. Thanks again jelly
Title: Re: SSD problems with install
Post by: jelly-ck on February 25, 2018, 03:56:12 pm
Sorry about that, there should be no spaces. That was a mistake on my part. I have fixed my post. Glad you got it to work.