OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: hirschferkel on August 30, 2017, 09:52:51 am

Title: Stored system broken on flash card after trying to update to 17.7 r2
Post by: hirschferkel on August 30, 2017, 09:52:51 am
Hi there,

after I unlocked the 17.7 r2 release (I was forced to do so, as OPNsense software announced the lifetime end of this software [17.7r1] would have been reached) the update process started and on reboot everything was gone. When i tried to read the content of the flash drive in terminal (OS X) it only stated the volume size but no partitions anymore.

That's wired.

I have an old backup system on another drive. I'm trying to copy it to this broken flash card, now. First attempt was no success as i tried to copy the working volume to a .dmg on the desktop first and than tried to override the second flash card with this .dmg content. But somehow the VARIA router did not read this flash card...?

So my second attempt, now, is this:
disk1 is Flash drive with broken system
disk2 is working system

Code: [Select]
Macintosh HDD:~ admin$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            250.1 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *8.1 GB     disk1
   1:                    FreeBSD                         2.0 GB     disk1s1
   2:                    FreeBSD                         2.0 GB     disk1s2
   3:                    FreeBSD                         52.6 MB    disk1s3
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *7.9 GB     disk2
   1:                    FreeBSD                         2.0 GB     disk2s1
   2:                    FreeBSD                         2.0 GB     disk2s2
   3:                    FreeBSD                         52.6 MB    disk2s3
Macintosh HDD:~ admin$ sudo dd if=/dev/disk2 of=/dev/disk1 

Is this going to work or did I miss something completely to get my Varia Store router with OPNsense software back again?

Best, hirschferkel
Title: Re: Stored system broken on flash card after trying to update to 17.7 r2
Post by: hirschferkel on August 30, 2017, 07:23:14 pm
O.K. it worked this way.