Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
NanoBSD image trashed after first reboot [resolved]
« previous
next »
Print
Pages: [
1
]
Author
Topic: NanoBSD image trashed after first reboot [resolved] (Read 6387 times)
namezero111111
Jr. Member
Posts: 94
Karma: 10
NanoBSD image trashed after first reboot [resolved]
«
on:
January 21, 2018, 09:56:21 am »
Hello folks,
we tried out OpnSense on an Alix 3D2 with 4GB CF Card.
The card was flashed with the OPNsense-18.1.r1-OpenSSL-nano-i386 image using both physdiskwrite and Win32DiskImager (we tried both).
The system comes up on the console successfully on the first boot, but then the file system seems to get trashed on reboot. If we just select option 6 from the console, on the next bootup it hangs at the rotating bar on kernel load. If we then powercycle, the bios says no bootable media can be found.
This seems to have been an issue before (
https://forum.opnsense.org/index.php?topic=4601.0
) (
https://forum.opnsense.org/index.php?topic=5664.msg23136#msg23136
) , but there is no solution in that thread.
Bios is the latest version, and we tried both CHS and LBA settings; the outcome is the same.
If, instead of rebooting, we enter the console and issue a manual sync before reboot, the file system is trashed immediately.
If, instead of rebooting, we configure via WebGUI, eventually the kernel panics with UFS corruption. If not, the reboot does the same.
We have also tried the OPNsense-17.7.5-OpenSSL-nano-i386 image with the same result.
Any help would be greatly appreciated!!
«
Last Edit: January 21, 2018, 02:02:19 pm by namezero111111
»
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: NanoBSD image trashed after first reboot
«
Reply #1 on:
January 21, 2018, 01:28:55 pm »
Hi there,
See:
https://forum.opnsense.org/index.php?topic=6942.0
Cheers,
Franco
Logged
namezero111111
Jr. Member
Posts: 94
Karma: 10
Re: NanoBSD image trashed after first reboot
«
Reply #2 on:
January 21, 2018, 01:31:33 pm »
Hi,
thanks,
but the 2D3 does not boot from USB. For whatever reason PCEngines decided not to support that.
I tried full install onto CF Card in Virtualbox, but the hangs at the moving "/" then on bootup (F1 FreeBSD...)
Logged
namezero111111
Jr. Member
Posts: 94
Karma: 10
Re: NanoBSD image trashed after first reboot
«
Reply #3 on:
January 21, 2018, 01:39:34 pm »
I'm thinking, the installer probably chose vga.
Is there a way to force the installer to install with serial output while installing from VGA in a VM?
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: NanoBSD image trashed after first reboot
«
Reply #4 on:
January 21, 2018, 01:41:14 pm »
You can set it to serial + bps via System: Settings: Administration (e.g. VGA as secondary to keep it in an installable state).
Installing it from a different serial device with the serial image, then moving the installed media over works fine, too.
Cheers,
Franco
Logged
namezero111111
Jr. Member
Posts: 94
Karma: 10
Re: NanoBSD image trashed after first reboot
«
Reply #5 on:
January 21, 2018, 02:02:04 pm »
Thank you, I missed the webgui part because I was trying to configure serial before initial boot.
I have replied to the linked post with howto do it on an alix 2d3 board.
It would be awesome be able to configure this before initial bootup (i.e. during setup).
Is there a root cause for the (presumable) resizing of the disk destroying the FS?
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: NanoBSD image trashed after first reboot [resolved]
«
Reply #6 on:
January 21, 2018, 02:08:11 pm »
We do not know why this is happening. It's gotten worse with FreeBSD 11, but it's hard to say what happened exactly as the image builds did not change drastically and we tried most knobs known to us. It also does not happen with all devices, not even with all APUs. In fact, I have multiple APUs and one ALIX (and a dusty WRAP) and all of them work for me. oO
Hmm, that's why we have the live environment. You can try all settings and if you are satisfied you start the installer and everything will be kept as you configured it.
Cheers,
Franco
«
Last Edit: January 21, 2018, 02:09:52 pm by franco
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
NanoBSD image trashed after first reboot [resolved]