OPNsense Forum

English Forums => General Discussion => Topic started by: Mega32 on October 30, 2023, 08:56:01 AM

Title: Serial image - MBR Only ??
Post by: Mega32 on October 30, 2023, 08:56:01 AM
Hello "Guru's"

I noticed the OPNsense serial image mentions it's MBR only ... AKA no UEFI install or ?
Is that only for the "Live part" , or does that also affect the Installer ???

I'd like to use serial as installer method if possible, but would also like to use UEFI.
Is that possible ??

Title: Re: Serial image - MBR Only ??
Post by: Mega32 on October 30, 2023, 09:21:59 AM
Serial worked like a charm, and i got the possibility to do a ZFS GPT install - When logging into the installer  :)
Thnx Dev's

Installing was a "Tight fit" on the initial disk allocated (used 1.6G of 1.7G created)
But it resized to use the full disk on next boot.



Title: Re: Serial image - MBR Only ??
Post by: franco on October 30, 2023, 09:35:18 AM
The Nano image is MBR only, but it also doesn't have an installer.

The Serial, VGA and DVD images are all GPT/UFS with UEFI support and have an installer for Hybrid UFS or ZFS installation. Hybrid means that you can turn UEFI on and off and the boot won't fail. The standard FreeBSD installers cannot do this. :)


Cheers,
Franco
Title: Re: Serial image - MBR Only ??
Post by: Mega32 on October 30, 2023, 10:01:37 AM
I guess i was confused by this statement:
(https://forum.opnsense.org/index.php?action=dlattach;topic=36722.0;attach=30624)
Title: Re: Serial image - MBR Only ??
Post by: franco on October 30, 2023, 10:13:23 AM
Sorry, this is wrong. Let's fix that.

https://docs.opnsense.org/manual/install.html#installation-images


Cheers,
Franco
Title: Re: Serial image - MBR Only ??
Post by: cookiemonster on October 30, 2023, 11:07:04 AM
Quote from: franco on October 30, 2023, 09:35:18 AM
The Nano image is MBR only, but it also doesn't have an installer.

The Serial, VGA and DVD images are all GPT/UFS with UEFI support and have an installer for Hybrid UFS or ZFS installation. Hybrid means that you can turn UEFI on and off and the boot won't fail.
Franco, if you don't mind me saying, this quoted bit is super useful and clarifies frequent queries on the forum.
IMHO it would be useful to add to the documentation. The improvement you just made is good but with this addition, all is clear.
Title: Re: Serial image - MBR Only ??
Post by: Mega32 on October 30, 2023, 09:17:56 PM
Quote from: franco on October 30, 2023, 09:35:18 AM
Hybrid means that you can turn UEFI on and off and the boot won't fail.

That's outright COOL 8) 8)
Title: Re: Serial image - MBR Only ??
Post by: franco on October 30, 2023, 09:36:07 PM
To be honest it was initially added to make testing easier :D

What most likely also don't know is that auto-grow after disk resize is possible for both UFS and ZFS via

# touch /.probe.for.growfs && opnsense-shell halt

(resize disk in VM and start it back up)


Cheers,
Franco