Non bootable Image

Started by nicholaswkc, May 13, 2022, 04:39:36 AM

Previous topic - Next topic
Dear All,

I had downloaded latest opnsense from official mirror but when I burn it into USB it say missing partition table then when try to boot it doesn't appear on the boot list at BIOS.

I burn opnsense using balena etcher software in Fedora. I extract the bzip2 file using command bzip2 in Fedora.

What have I doing wrong here? Any suggestion? Appreciate your help. Thanks.



May 14, 2022, 01:46:56 AM #1 Last Edit: May 14, 2022, 01:55:20 AM by nicholaswkc
Anyone can help me. I really want to try out Opnsense firewall. Appreciate it. A billion thanks in advance.

May 14, 2022, 11:58:34 AM #2 Last Edit: May 14, 2022, 12:19:41 PM by i81b4u
When on Fedora you might want to try convert-and-copy a.k.a. dd  ;)

But first make sure the imagefile is okay using sha256sum. So:

#Download
wget https://mirror.dns-root.de/opnsense/releases/22.1/OPNsense-22.1.2-OpenSSL-vga-amd64.img.bz2

#Check
sha256sum < OPNsense-22.1.2-OpenSSL-vga-amd64.img.bz2

#Unpack
bunzip2 OPNsense-22.1.2-OpenSSL-vga-amd64.img.bz2

#Write to device
sudo dd if=./OPNsense-22.1.2-OpenSSL-vga-amd64.img of=/dev/stick bs=4096 status=progress


1. the SHA256SUM for this particular downloaded image should match: c6bbc0755d9458cc6484a98f074b62beaa30c5f02bd728ee1b0e896d2613b4b4
2. Make sure you replace /dev/stick with the correct path for the device you want to store the image on

Good luck!

Best regards.

May 15, 2022, 04:19:56 AM #3 Last Edit: May 15, 2022, 04:26:39 AM by peterwkc
Thanks for your reply. Why flashing from balena etcher is cannot and need dd command?

I will try it out and see.

Because it's the most reliable method that I know of   :)

The writing of image is bootable by other laptop or desktop but cannot detect as bootable device on the target desktop. It doesn't display as bootable USB. Do you know why?

Please help. Appreciate that.

I have same issue, cannot boot 22.X release once installed.  I ended up booting/installing with 21.7.1 release and let system go through several upgrades, 21.7.8, 22.1 then 22.1.7, a little longer than I would like, but it works...
Download 21.7.1 here :
https://pkg.opnsense.org/releases/

May 16, 2022, 03:09:06 AM #7 Last Edit: May 16, 2022, 04:52:02 AM by peterwkc
It is different issue, one is USB bootable, your one is kernel cannot boot.

I had disable secure boot, using legacy mode, plug into usb 2.0. All methods tried but still my usb stick was not detected by the BIOS.

The writing of image is bootable by other laptop or desktop but cannot detect as bootable device on the target desktop. It doesn't display as bootable USB.


Please help. Thanks.

QuoteI had disable secure boot, using legacy mode, plug into usb 2.0. All methods tried but still my usb stick was not detected by the BIOS.

So are you able to get your desktop to boot from any other bootable usb stick?

If not, I suspect your BIOS/(U)EFI settings need some tweaking  ;)

Best regards.

Yes, I able to boot pfsense iso and other iso, just cannot boot dd opnsense ISO.

Please help. Thanks.

Our ISOs are not to be DD'ed onto disks. That's what VGA or Serial images are for.

Yes, nowadays FreeBSD and pfSense have ISO hybrid boot support, but in terms of being able to reduce the number of images for OPNsense it brings nothing to the table so we still use verbatim ISO images.


Cheers,
Franco

I use vga image, it boots, installs via installer login, goes through the process of installing and never boot properly thereafter.

I am forced to use 21.7 vga image, install and upgrade...