archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
5.82k stars 509 forks source link

FS type bcachefs is Unknown #2474

Open kezyr opened 2 months ago

kezyr commented 2 months ago

Hi, when I select Pre-mounted configuration for Disk configuration where rootfs is bcachefs then it shows FS type as Unknown. image

I use Hyper-V with 1 disk, latest version of archinstall. I formated sda2 as bcachefs and mounted to /mnt, and sda1 as vfat and mounted to /mnt/efi

Then the installer craches because of fstype not set

svartkanin commented 2 months ago

Bcachefs isn't something parted supports which is being used for partitioning under the hood.

codefiles commented 2 months ago

Bcachefs isn't something parted supports which is being used for partitioning under the hood.

That is not accurate for two reasons:

  1. The user is attempting an install with a pre-mounted configuration and therefore has already partitioned and formatted.
  2. parted(8) states that providing a file system when creating a partition is optional. This is true of pyparted as well, give it a try.

I will submit a pull request to fix this since it should work.

svartkanin commented 2 months ago

Apologies I misread the issue, I thought it was for manual partitioning. In that case yes, pre-mounted should work and it's a bug. However, the pre-mounted feature is in general somewhat limited still as it doesn't support many detections, btrfs and lvm being some of them.

codefiles commented 1 month ago

However, the pre-mounted feature is in general somewhat limited still as it doesn't support many detections, btrfs and lvm being some of them.

Btrfs works with the pre-mounted feature in the latest version.

dathide commented 1 week ago

This issue is still occurring for me

Torxed commented 1 week ago

Even after the release yesterday?