As I'm currently preparing a replacement router for a client I wanted to use the offered option during Installation:
Press any key to start the configuration importer: ..
But entering the USB Stick's device name only lead's me to an error message. If I google for that message I find this Topic (https://forum.opnsense.org/index.php?topic=6315.msg26774#msg26774). And additionally I found that (https://forum.opnsense.org/index.php?topic=3297.0), but none of those solve the issue by using the offer during install.
BTW: I'm using OPNsense-18.1.6-OpenSSL-serial-amd64.img
So if I enter the drive's dev name all I get is:
Press any key to start the configuration importer: ..
<SATA SSD S9FM02.9> at scbus0 target 0 lun 0 (pass0,ada0)
<Verbatim STORE N GO 5.00> at scbus2 target 0 lun 0 (pass1,da0)
<General USB Flash Disk 1.00> at scbus3 target 0 lun 0 (pass2,da1)
Select device to import from (e.g. ada0) or leave blank to exit: da0
No known partition layout was found for 'da0'.
<SATA SSD S9FM02.9> at scbus0 target 0 lun 0 (pass0,ada0)
So for this time I'll stick with the import through the WebGUI, but for the future I'ld love to have an USB-Stick at hand that I connect in next to the installer stick and have some Client config's on that...
So my question is how has the partition layout to be like, to be able to make a use of the offered import option?
Hi mircsicz,
The importer requires a previous installation to import a configuration from.
I think what you're looking for is this:
https://github.com/opnsense/core/issues/1372
There have been many ideas over the years, yet few people who are willing to work on it.
Cheers,
Franco
Quote from: franco on June 23, 2018, 05:22:44 PM
Hi mircsicz,
The importer requires a previous installation to import a configuration from.
I think what you're looking for is this:
https://github.com/opnsense/core/issues/1372
There have been many ideas over the years, yet few people who are willing to work on it.
Cheers,
Franco
And it has to be a single drive install, Geom Mirror or ZFS Raid will not work.
That seems so, but it's untrue:
For mirror and RAID use mirror/NAME or raid/NAME respectively. It always worked. 18.7 makes this clearer:
https://github.com/opnsense/core/commit/68ac728d1fec
For ZFS use "zfsroot" on 18.7.
Cheers,
Franco
@franco: Looking forward for 18.7 and THX for letting me know how I can use the current feature...
It should be fixed now and can import from FAT USB sticks in simple one partition MBR or GPT layout. Soon available for testing in the 18.7-RC1 images.
Cheers,
Franco