OPNsense Forum

English Forums => General Discussion => Topic started by: Morta on November 09, 2021, 11:50:16 AM

Title: [SOLVED]DVD ISO UEFI boot error
Post by: Morta on November 09, 2021, 11:50:16 AM
If i boot a dvd iso image from the stick only a console is coming with FREE BSD boot.

What have I to do?

I hava a single nvme drive on which I want install opnsense.
Title: Re: DVD ISO UEFI boot error
Post by: Patrick M. Hausen on November 09, 2021, 12:05:00 PM
Download the VGA or serial image depending on you device for intallation from USB flash drive.
Title: Re: DVD ISO UEFI boot error
Post by: Morta on November 09, 2021, 12:14:01 PM
I have a normal PC/Server with x64 and a nvidia graphic card so i should vga. Or not?

The error is

gptboot: No /boot/loader on 0:ad(0p4)
gptboot: No /boot/kernel/kernel on 0:ad(0p4)

Then comes the boot FreeBSD console. Why doesn't boot?
Title: Re: DVD ISO UEFI boot error
Post by: Morta on November 09, 2021, 12:28:47 PM
No changes same error. Could be that not finding the nvme?

In the uefi shows me the nvme drive as first boot drive...
Title: Re: DVD ISO UEFI boot error
Post by: Patrick M. Hausen on November 09, 2021, 12:40:04 PM
When booting the nvme drive us irrelevant. The USB drive is supposed to boot into OPNsense without any other drive present at all.

Yes, VGA is correct, of course.

How did you write the image to the USB drive?
Title: Re: DVD ISO UEFI boot error
Post by: Morta on November 09, 2021, 12:43:29 PM
Quote from: pmhausen on November 09, 2021, 12:40:04 PM
When booting the nvme drive us irrelevant. The USB drive is supposed to boot into OPNsense without any other drive present at all.

Yes, VGA is correct, of course.

How did you write the image to the USB drive?

With dd on a Arch Linux like is written in the wiki

dd  if=OPNsense-##.#.##-[Type]-[Architecture].img of=/dev/sdX bs=16k
Title: Re: DVD ISO UEFI boot error
Post by: Patrick M. Hausen on November 09, 2021, 12:58:04 PM
Looks good.

Can you try either disabling the CSM completely in your BIOS leaving only UEFI boot enabled - or the other way round, disable UEFI and boot in legacy mode?
Title: Re: DVD ISO UEFI boot error
Post by: Morta on November 09, 2021, 01:24:00 PM
Ok I will do that when I'm at home.

What is CSM exactly?
Title: Re: DVD ISO UEFI boot error
Post by: Patrick M. Hausen on November 09, 2021, 02:29:27 PM
Compatibility Support Module. Sort of like pretending to boot in legacy BIOS mode while actually starting up under UEFI control. Best disabled if the system is supposed to start UEFI compatible OSes only.
Title: Re: DVD ISO UEFI boot error
Post by: Morta on November 09, 2021, 06:10:32 PM
Thanks for reply. I believe the problem is either uefi nor csm. The problem is on creating the stick. The throughput was to high with 1.6 Gb/s and the duration to short. So I will /dev/zero with dd the usb stick and try with other option they are slower.

dd if=FreeBSD-11.1-RELEASE-amd64-memstick.img of=/dev/dsX bs=1M conv=sync
Title: Re: DVD ISO UEFI boot error
Post by: Morta on November 09, 2021, 07:38:46 PM
I have now a stick which boot and is was a mixture. You was also right at half. I have to enable legacy mode and csm. It's works! Thanks for the support. Have nice day!