Vanilla-OS / vanilla-installer

A frontend in GTK 4 and Libadwaita for Albius.
GNU General Public License v3.0
79 stars 32 forks source link

Creation of partitions fails with `No device found for /dev/sda4` (or similar), but `/dev/sda4` exists #414

Closed PyroDevil closed 1 month ago

PyroDevil commented 1 month ago

I am currently trying to install Vanilla OS on a VirtualBox from the ISO, but I could not get over the automated partition creation process.

The installer doesn't seem to find the partition device nodes of the partition it just created, but on investigation the partitions exists.

I guess that there is some timing issue happening here.

I haven't looked into the code yet, but maybe a blockdev --rereadpt /dev/sda (or whatever the parent device is) is missing after the partitions where created before using them.

I tried it multiple times, with and without enabling encryption. A workaround would likely be to use manual partitioning.

Here is the log: VirtualBox_VanillaOS_04_08_2024_10_10_00

Partitions after this error occurs: VirtualBox_VanillaOS_04_08_2024_10_17_07

(Sorry for the screenshot, copying from the virtual machine didn't work and I was lazy.)

PyroDevil commented 1 month ago

Oh, this is a duplicate of https://github.com/Vanilla-OS/Albius/issues/74

PyroDevil commented 1 month ago

closing because duplicate issue