Error with GPT partitions on VMWare ESXi 7.0 - SOLVED

Started by naltalef, March 06, 2023, 06:30:01 PM

Previous topic - Next topic
March 06, 2023, 06:30:01 PM Last Edit: March 06, 2023, 09:55:57 PM by naltalef
Hello everyone. I'm having a problem installing OPNSense on VMWare ESXi 7.0.
Using default install procedure I receive the following error, when the install prcedure is in the disk partition step

Error mounting partition /mnt/boot/efi
mount_msdosfs: /dev/gpt/efifs: Invalid argument


The same error occurs if BIOS or EFI is selected in the VM setup.
This does not happen with VMWare ESXi 6.7 where I have installed several versions of OPNSense many times.

Using EFI/GPT does have any advantage? If the answer is yes, do you suggest any workaround ?
Or  if it's not possible tuo use GPT, which of the disk partition options it would be advisable to use, BSD or MSDOS.?

I appreciate any advice

Many thanks
Norberto

what controller type did you choose when creating the vm - vmware paravirtual or LSI logic SAS?

when adding a vm in esxi7 and choosing 'freebsd 13 64-bit' as the OS ( which is of course the right choice for opnsense ) the default controller setting is 'vmware paravirtual' - however this won't work with the bootable image, you need to change it to 'lsi logic sas', run the install and THEN once the install is complete and you're booting off the vm disk ( as opposed to the bootable .iso ) you can then change to vmware paravirtual

It's exactly as you say. It worked perfectly!

Thanks so much for the help!