Having problem installing the installer is not working

Started by saki22, July 29, 2021, 08:30:05 AM

Previous topic - Next topic
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

No problem,

same error pattern. Here is the log.

Greeting Meditux

Thanks a lot! This will avoid touching tty devices:

https://github.com/opnsense/installer/commit/367d6c689

But does it work? :)


Cheers,
Franco

July 29, 2021, 12:01:51 PM #18 Last Edit: July 29, 2021, 12:07:20 PM by Meditux
Moment Please


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



The drive selection now works, however there is a new problem. (The partition editor run failed)

Again with new logs ;-)



> 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

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:~ #

Here my modified opnsense.subr, not that I mistyped somewhere ;-)

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

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

Would you mind sending me that in German... I think I am a bit lost in the translation. :)


Danke,
Franco

I'm also stuck (1 hour and nothing happens) just after selecting UFS installation, what should I do?

Tia.