void-mklive icon indicating copy to clipboard operation
void-mklive copied to clipboard

In void-installer, after changing partition layout, filesystem creator sees old partitions until reboot

Open nyanpasu64 opened this issue 4 years ago • 2 comments

I tried installing void-live-x86_64-20191109.iso on an old computer with a mechanical drive. After running void-installer, I repartitioned /dev/sda using cfdisk, and tried to setup filesystems on the partitions. However the filesystem creator saw the old partition layout. This persisted even after restarting void-installer and was only fixed by rebooting.

One person told me I could run sudo partprobe /dev/sd*, but partprobe is not found on the live ISO.

nyanpasu64 avatar Jul 05 '20 18:07 nyanpasu64

Hi there,

this looks like a duplicate of #98, doesn't it?

msiism avatar Jul 08 '20 22:07 msiism

I don't think that's the same issue. From scanning through the images, I think #98 describes how setting a filesystem for a partition doesn't change the filesystem displayed. The assumption is that the partition layout is not changing.

As far as I can see, this is not actually a bug, but rather a design issue. The file system setup dialog generated by menu_filesystems() can't reflect the user's choices for the new installation simply because it gets the information it displays by looking up the actual partition and file system layout on the device.

In my case, I think I ran cfdisk, wrote partition layout to disk... and the filesystem selection didn't see the partitions until reboot. My bug is about the partition layout, not the filesystems displayed.

nyanpasu64 avatar Jul 08 '20 22:07 nyanpasu64