OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • [SOLVED] Serial image fails to boot on APU4D4
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Serial image fails to boot on APU4D4  (Read 1446 times)

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6925
  • Karma: 583
    • View Profile
[SOLVED] Serial image fails to boot on APU4D4
« on: January 30, 2024, 01:04:48 pm »
Code: [Select]
GEOM: da0: corrupt or invalid GPT detected.                                                                                         
GEOM: da0: GPT rejected -- may not be recoverable.                                                                                 
GEOM: diskid/DISK-V9UHNHZ7: corrupt or invalid GPT detected.                                                                       
GEOM: diskid/DISK-V9UHNHZ7: GPT rejected -- may not be recoverable.                                                                 
mountroot: waiting for device /dev/ufs/OPNsense_Install...                                                                         
Mounting from ufs:/dev/ufs/OPNsense_Install failed with error 19.                                                                   
                                                                                                                                   
Loader variables:                                                                                                                   
  vfs.root.mountfrom=ufs:/dev/ufs/OPNsense_Install                                                                                 
  vfs.root.mountfrom.options=ro,noatime                                                                                             
                                                                                                                                   
Manual root filesystem specification:                                                                                               
  <fstype>:<device> [options]                                                                                                       
      Mount <device> using filesystem <fstype>                                                                                     
      and with the specified (optional) option list.                                                                               
                                                                                                                                   
    eg. ufs:/dev/da0s1a                                                                                                             
        zfs:zroot/ROOT/default                                                                                                     
        cd9660:/dev/cd0 ro                                                                                                         
          (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)                                                               
                                                                                                                                   
  ?               List valid disk boot devices                                                                                     
  .               Yield 1 second (for background tasks)                                                                             
  <empty line>    Abort manual input                                                                                               
                                                                                                                                   

I checked the SHA256 sum twice, dd'ed to a USB drive twice. Examining the drive in a FreeBSD 13.2 installation also reports "GPT rejected".
« Last Edit: January 30, 2024, 04:10:18 pm by Patrick M. Hausen »
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

DEC670airp414user

  • Full Member
  • ***
  • Posts: 166
  • Karma: 8
    • View Profile
Re: Serial image fails to boot on APU4D4
« Reply #1 on: January 30, 2024, 03:06:09 pm »
ive downloaded from 3 servers.

all of them are failing to write to usb.

tried 2 different devices. windows and Mac. and 2 different working thumb drives!
Logged

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6925
  • Karma: 583
    • View Profile
Re: Serial image fails to boot on APU4D4
« Reply #2 on: January 30, 2024, 03:38:09 pm »
STOP! STOP! My fault altogether! Gnaaa ...

When did the installer image cross the size of 2G? :o ::)

So, grab larger USB drive and try again ...


For the record:
----------------

OK, when I use a FreeBSD system, uncompress the image and turn it into a block device like so:
Code: [Select]
mdconfig -t vnode OPNsense-24.1-serial-amd64.imgthen everything looks good:
Code: [Select]
root@freebsd:~ # gpart show /dev/md0
=>      3  4676563  md0  GPT  (2.2G)
        3    66584    1  efi  (33M)
    66587      123    2  freebsd-boot  (62K)
    66710     1024    3  freebsd-swap  (512K)
    67734  4608832    4  freebsd-ufs  (2.2G)

So possibly something went wrong with me writing to USB device on my Mac (which I have literally done hundreds of times over the last years), or the APU4 booting, recognising the missing backup GPT header and *somehow* destroying the partition table in the process.

I will now write the image to the USB drive on FreeBSD and do a
Code: [Select]
gpart recover first. Then try to boot again.
« Last Edit: January 30, 2024, 03:41:46 pm by Patrick M. Hausen »
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6925
  • Karma: 583
    • View Profile
Re: [SOLVED] Serial image fails to boot on APU4D4
« Reply #3 on: January 30, 2024, 04:10:43 pm »
Installer is working fine. Apologies for the noise.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

DEC670airp414user

  • Full Member
  • ***
  • Posts: 166
  • Karma: 8
    • View Profile
Re: [SOLVED] Serial image fails to boot on APU4D4
« Reply #4 on: January 30, 2024, 04:43:45 pm »
I was using a 4-8gb on my Mac's using balena etcher

Then noticed the patch to download patch  to download 24.1
It installed over the internet no issues!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • [SOLVED] Serial image fails to boot on APU4D4
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2