NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Difficulties opening a CGD gpt partition



On Thu, 16 Nov 2023 18:58:00 +0000
Luis Mendes <luisvmendes%yandex.com@localhost> wrote:

> Hi,
>  
> I had everything setup in a nvme disk, so that the 4 wedges of ld0 (nvme) were:
> dk0 efi partition
> dk1 swap
> dk2 ffs
> dk3 cgd
>  
> I did a image copy of the disk with clonezilla because sometimes the system stopped and the disk light was blinking regularly.
> It could be a hardware problem and I wanted to try the original Windows installation that came with the computer so that I could use the warranty.  
> So, I replaced the NetBSD installation with the Windows image (also from clonezilla), but detected no problems.
>  
> When I tried to restore the NetBSD image, there were some problems in the last gpt partition, dk3, the encrypted partition.
> This partition has zfs datasets for /usr/pkg, /usr/pkgsrc, /usr/local and others.
>  
> When I try to open the partition I get an error (code 255):
> "cgdconfig: failed to generate Argon2id key, error -22"

I booted the system again.
This time I could open the CGD partition, but a message is show:
"cgd0: bad GPT partition array CRC"
gpt is the verification method I used for the configuration of cgd.

What could be the cause of this message?



Luis



Home | Main Index | Thread Index | Old Index