OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: JetA on February 09, 2018, 05:41:57 pm

Title: How to "install" opnsense on hdd with usb?
Post by: JetA on February 09, 2018, 05:41:57 pm
 Created bootable media with different images. Earned only nano and serial.
I used Win32DiskImager or USB Image Tool for this.

The system boots, everything is ok. I go under: root / opnsense.
But the problem is that it's like livecd.

How to install from bootable usb to hdd?
Title: Re: How to "install" opnsense on hdd with usb?
Post by: JetA on February 09, 2018, 09:02:15 pm
Previously used iso in virtualbox. There were no problems, everything worked as it should and was installed without problems.
But iso I could not write to the USB flash drive
Title: Re: How to "install" opnsense on hdd with usb?
Post by: Mr.Goodcat on February 09, 2018, 11:02:33 pm
Hi,

you can transfer the iso image of OPNSense with rufus to the USB drive: https://rufus.akeo.ie/ (https://rufus.akeo.ie/)

Afterwards you should be able to boot OPN from that drive. If you login with "root" and use "install" as password, the installation wizzard will start so you can install OPN to HDD.
Title: Re: How to "install" opnsense on hdd with usb?
Post by: JetA on February 09, 2018, 11:09:00 pm
I already tried rufus

Title: Re: How to "install" opnsense on hdd with usb?
Post by: Mr.Goodcat on February 09, 2018, 11:21:10 pm
Try "Create bootable disk using: DD" - that's what worked for me.
Title: Re: How to "install" opnsense on hdd with usb?
Post by: JetA on February 09, 2018, 11:26:27 pm
Look at my settings ... I do.
I choose .iso and press start

I rufus record images constantly, and here in any ...
Title: Re: How to "install" opnsense on hdd with usb?
Post by: Mr.Goodcat on February 09, 2018, 11:49:43 pm
You choose "iso", that's why I wrote you should try "DD" instead.
Title: Re: How to "install" opnsense on hdd with usb?
Post by: JetA on February 09, 2018, 11:54:05 pm
DD already tried - same thing
Title: Re: How to "install" opnsense on hdd with usb?
Post by: Noctur on February 10, 2018, 12:12:17 am
I just did this yesterday...


USB Image Tool for windows.

here: http://www.alexpage.de/usb-image-tool/download/
Title: Re: How to "install" opnsense on hdd with usb?
Post by: JetA on February 10, 2018, 12:24:25 am
He does not write a bootloader for Iso
Title: Re: How to "install" opnsense on hdd with usb?
Post by: JetA on February 10, 2018, 12:31:43 am
If you open rufus log, you can observe during the attempt to initialize the image:
Quote
Image is an ISO9660 image
libcdio: Unsupported Rock Ridge extension detected: 'RE'
Title: Re: How to "install" opnsense on hdd with usb?
Post by: kanstin on February 10, 2018, 03:02:12 am
Previously used iso in virtualbox. There were no problems, everything worked as it should and was installed without problems.
But iso I could not write to the USB flash drive
Don't download the iso. Download the "vga" image, decompress, write it to USB with dd.
Title: Re: How to "install" opnsense on hdd with usb?
Post by: nqnguyen2 on February 10, 2018, 03:15:39 am
I've already written something a while back with a ton of screenshots. Let me know if you have any questions.

http://nqnguyen2.com/blog/#/blog/how-to-install-opnsense-18-1/ (http://nqnguyen2.com/blog/#/blog/how-to-install-opnsense-18-1/)
Title: Re: How to "install" opnsense on hdd with usb?
Post by: Noctur on February 10, 2018, 03:46:09 am
He does not write a bootloader for Iso

Oh, in that case, you install it as usual...

Let it boot the live cd.

At the logon prompt, instead of typing 'root' user, type 'installer' user, then 'opnsense' as the password. It will install to the HD.

They changed the installation process a couple of revs back.

Title: Re: How to "install" opnsense on hdd with usb?
Post by: JetA on February 10, 2018, 12:24:50 pm
vga my installation does not work, only with serial or nano.
serial constantly tries to mount, but nothing comes out
nano is ok, but the password is not suitable:
installer
opnsense

accept only:
root
opnsense
Title: Re: How to "install" opnsense on hdd with usb?
Post by: Noctur on February 10, 2018, 11:15:45 pm
Not sure what's up then. I litterally did this 2 days ago... wrote the VGA img to a usb with USB Image Tool, then booted to the 'live' installation, then typed in user "installer" password "opnsense" at the log-in prompt and followed the prompts and it installed.

From the Wiki:

Nano Image

If you have used a Nano image, your system is already up and running as it is designed as such. It is set to read-write attempting to minimise write cycles by mounting relevant partitions as memory file systems. If you should require an installer anyway, log in as user “root”, select option 8 from the menu and type “opnsense-installer”. The “opnsense-importer” can be run this way as well should you require to run the import again.

Create a bootable USB flash drive with the downloaded and unpacked img file. Configure your system to boot from USB.

Installation Steps

The installation process involves a few simple steps.

Note

To invoke the installer login with user installer and password opnsense

Link: https://wiki.opnsense.org/manual/install.html
Title: Re: How to "install" opnsense on hdd with usb?
Post by: us2871 on February 11, 2018, 01:43:31 am
Hi, had the same problem. tried many tools without success. Used at least imageUSB V1.3 from Passmark SW under Win 7 32bit
(http://www.passmark.com (http://www.passmark.com) )
worked fine for me.
Hope this helps...
Title: Re: How to "install" opnsense on hdd with usb?
Post by: JetA on February 11, 2018, 01:02:43 pm

From the Wiki:

Nano Image
 log in as user “root”, select option 8 from the menu and type “opnsense-installer”.


Note

To invoke the installer login with user installer and password opnsense

Link: https://wiki.opnsense.org/manual/install.html
thx
Title: Re: How to "install" opnsense on hdd with usb?
Post by: mike99 on June 29, 2018, 05:13:19 pm
I should have read doc first. Also tryed to install via serial image with "installer" and "opnsense" and it didn't work so looed at the doc and finally use the CLI, option 8 and after, "opnsense-installer". Work fine.
Title: Re: How to "install" opnsense on hdd with usb?
Post by: william.anthony on June 30, 2018, 03:29:15 am
I choosed "vga" version and used rufus to create bootable usb. You have to choose the bios/uefi option other than the default one, I forgot which one and I don't have any access to rufus right now so I cannot tell you more. Just try the option one by one.