archlinux / archinstall

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

FS type bcachefs is Unknown #2474

Open kezyr opened 7 months ago

kezyr commented 7 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 7 months ago

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

codefiles commented 7 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 7 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 6 months 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 5 months ago

This issue is still occurring for me

Torxed commented 5 months ago

Even after the release yesterday?

kezyr commented 2 months ago

yes the issue is still here (checked using archlinux-2024.09.01-x86_64.iso) During install there is an error message "File system type not set".