Skip to content

failed to run setup operation vgcreate #415

@prebuffo

Description

@prebuffo

Issue Description

Context: Attempt to reinstall Vanilla OS on the same computer

Computer: Tuxedo Infinity Book 14 Pro (Gen 2)
I tried to reinstall Vanilla OS over a previous installation (which I damaged while experimenting). Before installing, I used gparted to clean the disk (I deleted the partitions).

Problem: the installation process froze with the following error shown in the image below.

Image

How I solved it:
with the following commands run from a NixOS live ISO
sudo wipefs -a /dev/nvme0n1
sudo sgdisk --zap-all /dev/nvme0n1
sudo partprobe /dev/nvme0n1
sudo pvscan --cache
sudo vgscan --cache
Perhaps when the user chooses to use the entire disk to install Vanilla OS, these could be run before installation.

I am not a software engineer, just a geek, I apologise for any inaccuracies.

Steps to Reproduce

install vanilla os on entire disk, then install again after having erased partitions with gparted

On what version of Vanilla OS this happens?

Vanilla OS 2 Orchid

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions