Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Can't install OPNsense: FAILED with a return code of 1
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can't install OPNsense: FAILED with a return code of 1 (Read 1483 times)
guest27102
Guest
Can't install OPNsense: FAILED with a return code of 1
«
on:
January 15, 2021, 12:00:46 pm »
I'm trying to install OPNsense, I've logged in as "installer" with "opnsense" as password. I then choose the "guided installation", select the disk "ada0", then "GPT/UEFI mode".
Code:
[Select]
Execution of the command
/sbin/gpart create -s gpt ada0
FAILED with a return code of 1.
I've also tried the "manual instllation" > "install OPNsense" > select the disk "ada0" > "format this disk". Accepting all the defaults. But end up with the same error as above.
What is the issue?
The Qotom box came with OPNsense preinstalled. So I thought the reason for the installation failing, was because I was booting from the SSD and not the USB. But I've changed the boot option order in the BIOS to my USB as number 1 and the SSD is number 2. But I can't verify where OPNsense is booting from. I don't know what return code of 1 means. Is due to a partition? How can I check that? It SSD doesn't seem to be partitioned.
I can't image that it is a hardware problem.
Can anyone help? Ideas on what to try?
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: Can't install OPNsense: FAILED with a return code of 1
«
Reply #1 on:
January 16, 2021, 11:38:50 am »
SSD appears to be on 1 not 0, try using ada1. I use a couple of Qotoms, but it looks like yours is a newer version by the 2020 in the Bios. Never had any problems with them, both are rock solid.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
guest27102
Guest
Re: Can't install OPNsense: FAILED with a return code of 1
«
Reply #2 on:
January 16, 2021, 02:11:07 pm »
You are properly right.
I just ended up erasing the entire SSD. And everything worked out smoothly.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Can't install OPNsense: FAILED with a return code of 1