Vanilla-OS/vanilla-installer

label panic

Thatoo opened this issue · 6 comments

Trying to reinstall Vanilla OS (Orchid #117) on a disk of VM where Vanilla OS installation failed earlier (because of encryption issue) I get this error :

failed to label disk : Error : Partition(s) 4 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.

I have to delete the VM and remake one.

By the way, it was working fine with the first beta release (#113).

This still happens on 118 if you shut down the VM during installation.

Might have to do with the installer not being able to overwrite an old installation.

This should definitely be fixed but as a workaround you can try manually deleting the partitions.

Might have to do with the installer not being able to overwrite an old installation.

This should definitely be fixed but as a workaround you can try manually deleting the partitions.

It is supposed to be fixed already 🤔

It's not fixed.
To work around this:

Open a terminal (Alt+F2, type kgx, Enter)

sudo vgremove -y vos-var
sudo vgremove -y vos-root

then kill the installer and open it again with the command vanilla-installer

This and #369 have the same cause