Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Having problem installing the installer is not working
« previous
next »
Print
Pages:
1
[
2
]
3
Author
Topic: Having problem installing the installer is not working (Read 10974 times)
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Having problem installing the installer is not working
«
Reply #15 on:
July 29, 2021, 11:06:18 am »
Are you able to make these changes to /usr/libexec/bsdinstall/opnsense.subr
https://github.com/opnsense/installer/commit/4ca6b0976fe
And get the contents of /tmp/bsdinstall_log ?
Thanks,
Franco
Logged
Meditux
Jr. Member
Posts: 86
Karma: 12
Re: Having problem installing the installer is not working
«
Reply #16 on:
July 29, 2021, 11:45:39 am »
No problem,
same error pattern. Here is the log.
Greeting Meditux
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Having problem installing the installer is not working
«
Reply #17 on:
July 29, 2021, 11:58:23 am »
Thanks a lot! This will avoid touching tty devices:
https://github.com/opnsense/installer/commit/367d6c689
But does it work?
Cheers,
Franco
Logged
Meditux
Jr. Member
Posts: 86
Karma: 12
Re: Having problem installing the installer is not working
«
Reply #18 on:
July 29, 2021, 12:01:51 pm »
Moment Please
«
Last Edit: July 29, 2021, 12:07:20 pm by Meditux
»
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Having problem installing the installer is not working
«
Reply #19 on:
July 29, 2021, 12:07:27 pm »
Need the logs...
Thanks,
Franco
Logged
Meditux
Jr. Member
Posts: 86
Karma: 12
Re: Having problem installing the installer is not working
«
Reply #20 on:
July 29, 2021, 12:30:32 pm »
With the customization it works, only unfortunately you can only choose the USB installation stick (souce) as destination. The installed SSD is only selectable as a target when you drag the installation stick.
Here are the current logs
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Having problem installing the installer is not working
«
Reply #21 on:
July 29, 2021, 12:38:46 pm »
Thanks, looks like a typo:
https://github.com/opnsense/installer/commit/cad5641c88b
Cheers,
Franco
Logged
Meditux
Jr. Member
Posts: 86
Karma: 12
Re: Having problem installing the installer is not working
«
Reply #22 on:
July 29, 2021, 12:57:07 pm »
The drive selection now works, however there is a new problem. (The partition editor run failed)
Again with new logs ;-)
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Having problem installing the installer is not working
«
Reply #23 on:
July 29, 2021, 01:02:51 pm »
> DEBUG: Running installation step: scriptedpart ada0 gpt { 209715200 efi, 524288 freebsd-boot, 29806419968 freebsd-ufs / }
> exec: /usr/libexec/bsdinstall/scriptedpart: Input/output error
Hmm, "scriptedpart" is a FreeBSD installer builtin. I suppose the disk already holds another GPT installation of some kind?
It's worth a try to completely clear the GPT area of the disk:
# gpart destroy -F ada0
Cheers,
Franco
Logged
Meditux
Jr. Member
Posts: 86
Karma: 12
Re: Having problem installing the installer is not working
«
Reply #24 on:
July 29, 2021, 01:10:40 pm »
This is actually a new SSD from Distributor.
Using SSH as root I get the following output:
root@OPNsense:~ # gpart destroy -F ada0
gpart: Cannot access library: Device not configured
root@OPNsense:~ #
Logged
Meditux
Jr. Member
Posts: 86
Karma: 12
Re: Having problem installing the installer is not working
«
Reply #25 on:
July 29, 2021, 01:18:20 pm »
Here my modified opnsense.subr, not that I mistyped somewhere ;-)
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Having problem installing the installer is not working
«
Reply #26 on:
July 29, 2021, 01:27:20 pm »
Phew, unfortunately scriptedpart is a binary and debugging is not easy.
So does the ZFS install work instead? And if yes, does the UFS install work afterwards?
Cheers,
Franco
Logged
Meditux
Jr. Member
Posts: 86
Karma: 12
Re: Having problem installing the installer is not working
«
Reply #27 on:
July 29, 2021, 01:50:35 pm »
ZFS works. UFS in the connection also, however, I think that it was not on the SSD, but on the fact that is in between the USB stick for installation once pulled.
At the current attempt have rebooted from stick and then copied the customized file in the RAM disk.
When installing on UFS process runs visually from the menu. Does not look great but works ;-)
Greetings and thanks Meditux
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Having problem installing the installer is not working
«
Reply #28 on:
July 30, 2021, 09:45:29 am »
Would you mind sending me that in German... I think I am a bit lost in the translation.
Danke,
Franco
Logged
hushcoden
Hero Member
Posts: 544
Karma: 23
Re: Having problem installing the installer is not working
«
Reply #29 on:
July 30, 2021, 03:58:19 pm »
I'm also stuck (1 hour and nothing happens) just after selecting UFS installation, what should I do?
Tia.
Logged
Print
Pages:
1
[
2
]
3
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Having problem installing the installer is not working