OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: nicholaswkc on May 13, 2022, 04:39:36 AM

Title: Non bootable Image
Post by: nicholaswkc on May 13, 2022, 04:39:36 AM
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.


Title: Re: Non bootable Image
Post by: nicholaswkc on May 14, 2022, 01:46:56 AM
Anyone can help me. I really want to try out Opnsense firewall. Appreciate it. A billion thanks in advance.
Title: Re: Non bootable Image
Post by: i81b4u on May 14, 2022, 11:58:34 AM
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.
Title: Re: Non bootable Image
Post by: peterwkc on May 15, 2022, 04:19:56 AM
Thanks for your reply. Why flashing from balena etcher is cannot and need dd command?

I will try it out and see.
Title: Re: Non bootable Image
Post by: i81b4u on May 15, 2022, 09:57:38 AM
Because it's the most reliable method that I know of   :)
Title: Re: Non bootable Image
Post by: peterwkc on May 15, 2022, 11:52:18 PM
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.
Title: Re: Non bootable Image
Post by: Lynxcat on May 16, 2022, 12:44:55 AM
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/
Title: Re: Non bootable Image
Post by: peterwkc on May 16, 2022, 03:09:06 AM
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.
Title: Re: Non bootable Image
Post by: i81b4u on May 16, 2022, 06:54:20 PM
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.
Title: Re: Non bootable Image
Post by: nicholaswkc on May 17, 2022, 03:12:37 AM
Yes, I able to boot pfsense iso and other iso, just cannot boot dd opnsense ISO.

Please help. Thanks.
Title: Re: Non bootable Image
Post by: franco on May 17, 2022, 08:57:10 AM
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
Title: Re: Non bootable Image
Post by: Lynxcat on May 18, 2022, 04:59:40 AM
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...