Subject: Re: [bug#71940] [PATCH] system: images: Add comment how to enlarge visionfive2 root partition.
From: "pelzflorian" <[email-masked]>
To: "Zheng Junjie" <[email-masked]>
Cc: [email-masked]
Date: Sun, 07 Jul 2024 11:03:24 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Zheng, you are right: growpart indeed can properly enlarge my again newly bought, identical microSD card.  However this time, fdisk works too as described in upstream’s Quick Start Guide.  It appears the newly bought first microSD and the old microSD cards were somehow faulty as well.

Perhaps we could add a warning of faulty microSD cards, but actually this is not just about visionfive2.

We could add a comment to visionfive2.scm to use growpart, but I believe fdisk is not at fault, fdisk could be used just as well.  parted worked better than fdisk by chance.

We could remove unused modules from visionfive2.scm like in the patch, as reported by

$ guix shell guile-next
[env]$ guild compile -Wunused-module gnu/system/images/visionfive2.scm

but visionfive2.scm is not the only file in images with unused modules.

I just close this patch now.

Regards,
Florian