Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

¨Atleast one partition is being used¨ error, should prompt to format it. #13

Open
PoorPocketsMcNewHold opened this issue Jan 5, 2022 · 0 comments

Comments

@PoorPocketsMcNewHold
Copy link

Downloading images...
archlinux-pinephone-phosh-20211130.sqfs: Réussi
Erreur: Au moins une partition de /dev/sdf est en cours d’utilisation.
Erreur: Vous voulez établir une partition de 0,00B à 256MB (secteurs 0..500000).
La position la plus proche gérable est 512B à 1048kB (secteurs 1..2047). 
Erreur: Impossible d’avoir des partitions qui se chevauchent.
You'll now be asked to type in a new encryption key. DO NOT LOSE THIS!
Saisissez la phrase secrète pour /dev/sdf2 : 
Vérifiez la phrase secrète : 
Le périphérique /dev/sdf2 est utilisé. Impossible de continuer avec l'opération de formatage.
La commande a échoué avec le code -1 (paramètres erronés ou manquants).
/dev/sdf2 n'est pas un périphérique LUKS valide.
ERROR: Failed to locate rootfs mapper. Aborting.

Except if it was because I just had Gnome Disks randomly opened in the background during the process, the script didn't know what to do with the mounted eMMC encrypted partition of my PinePhone, before the encryption process, despite knowingly it wouldn't be able to do anything.

I've did try with, and without decrypting the eMMC partition (With the gnome decryption prompt when plug-in in on Gnome), and both gave the same result.

So, I had to format that eMMC partition clean myself manually.

It's more a suggestion than a real bug, just to prevent confusion in that case to users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant