You are not logged in.

#1 2022-05-29 09:59:25

Daedalus24
Member
From: Bucharest, Romania
Registered: 2015-03-27
Posts: 39
Website

archinstall - create subvolumes when performing manual partitioning

Hi,

I'm trying to install Arch on a new Asus laptop that comes (unfortunately) with Windows 11 pre-installed. I would have formatted the whole SDD but it's an office laptop and I am not supposed to do that.

I have created a new btrfs partition, under which I would like to create the subvolumes. I usually did it by typing

btrfs su cr /mnt/@
btrfs su cr /mnt/@home
btrfs su cr /mnt/@var
btrfs su cr /mnt/@snapshots

So, under the 'archinstall' "environment" I tried to label the first subvolume  "@" or "root".  Then, the first step was to mount it as "/" or "/@". After I do so, it takes me out of the archinstall script.

I also tested

mountpoint: /
name: /@ ('@' or 'root')

No good.
Can you please give me a hint what is the correct syntax under the 'archinstall' script?

Thank you!

Last edited by Daedalus24 (2022-05-29 10:25:16)

Offline

#2 2022-05-29 11:38:48

Torxed
Member
Registered: 2013-01-10
Posts: 200

Re: archinstall - create subvolumes when performing manual partitioning

Unfortunately I don't have much information to go on here.
Do you have the `install.log` or a picture of the error (I'm assuming you got some sort of error, not just exited the installer)?

For reference, here's the default BTRFS subvolume layout we setup that can be used with `archinstall --disk-layout /path/to/file.json`

{
    "/dev/loop0": {
        "partitions": [
            {
                "boot": true,
                "encrypted": false,
                "PARTUUID": "some-part-uuid",
                "filesystem": {
                    "format": "fat32"
                },
                "mountpoint": "/boot",
                "size": "512MiB",
                "start": "1MiB",
                "type": "primary",
                "wipe": false
            },
            {
                "btrfs": {
                    "subvolumes": {
                        "@": "/",
                        "@.snapshots": "/.snapshots",
                        "@home": "/home",
                        "@log": "/var/log",
                        "@pkg": "/var/cache/pacman/pkg"
                    }
                },
                "encrypted": false,
                "filesystem": {
                    "format": "btrfs",
                    "mount_options": [
                        "compress=zstd"
                    ]
                },
                "mountpoint": null,
                "PARTUUID": "some-part-uuid",
                "size": "100%",
                "start": "513MiB",
                "type": "primary",
                "wipe": true
            }
        ]
    }
}

Be aware of https://github.com/archlinux/archinstall/issues/998 if you decide to use encryption.
It's been fixed but you'd have to wait for the next ISO to drop or use the latest master/development version to get around that issue.

Offline

#3 2022-05-29 14:44:25

Daedalus24
Member
From: Bucharest, Romania
Registered: 2015-03-27
Posts: 39
Website

Re: archinstall - create subvolumes when performing manual partitioning

Torxed wrote:

Unfortunately I don't have much information to go on here.
Do you have the `install.log` or a picture of the error (I'm assuming you got some sort of error, not just exited the installer)?

The error message is:

Traceback (most recent call last):
  File "/usr/bin/archinstall", line 8, in <module>
     sys.exit(run_as_a_module())
  File "/usr/bin/libpython3.10/site-packages/archinstall/__init__.py, line 275, in run_as_a_module
     script.execute()
  File "/usr/bin/libpython3.10/site-packages/archinstall/lib/profiles.py, line 195, in execute
     self.spec.loader.exec_module(sys.modules[self.namespace])
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/bin/libpython3.10/site-packages/archinstall/examples/guided.py, line 292, in <module>
     ask_user_questions     
  File "/usr/bin/libpython3.10/site-packages/archinstall/examples/guided.py, line 101, in ask_user_questions
     global_menu.run()
  File "/usr/bin/libpython3.10/site-packages/archinstall/lib/menu/selection_menu.py, line 304, in run
     if not self._process_selection(selection):
  File "/usr/bin/libpython3.10/site-packages/archinstall/lib/menu/selection_menu.py, line 316, in _process_selection
     return self.exec_option(config_name, selector)
  File "/usr/bin/libpython3.10/site-packages/archinstall/lib/menu/selection_menu.py, line 336, in exec_option
     result = selector.func(presel_val)
  File "/usr/bin/libpython3.10/site-packages/archinstall/lib/menu//global_menu.py, line 66, in <lambda> 
     lambda x: select_disk_layout(
  File "/usr/bin/libpython3.10/site-packages/archinstall/lib/user_interaction/disk_conf.py, line 50, in select_disk_layout
     return select_individual_blockdevice_usage(block_devices)
  File "/usr/bin/libpython3.10/site-packages/archinstall/lib/user_interaction/disk_conf.py, line 32, in select_individual_blockdevice_usage
     layout = manage_new_and_existing_partitions(device)
  File "/usr/bin/libpython3.10/site-packages/archinstall/lib/user_interaction/partitioning_conf.py, line 328, in manage_new_and_existing_partitions
     result = SubvolumeList(_("Manage btrfs subvolumes for current partition"),prev).run()
  File "/usr/bin/libpython3.10/site-packages/archinstall/lib/menu/list_manager.py, line 180, in run
     self.exec_action(self._data)
  File "/usr/bin/libpython3.10/site-packages/archinstall/lib/user_interaction/subvolume_config.py, line 54, in exec_action
     data.update(self.target)
AttributeError: "str' object has no attribute 'update'

From what I see it seems like a Python syntax error.

Offline

#4 2022-05-29 17:48:45

Torxed
Member
Registered: 2013-01-10
Posts: 200

Re: archinstall - create subvolumes when performing manual partitioning

I think this is related to https://github.com/archlinux/archinstall/pull/1277 that got fixed a few hours ago.
Could you confirm with v2.5.0 and see if this still exists? The guided partitioning tool still leaves some stuff to be desired unfortunately, and the hopes is that https://github.com/archlinux/archinstall/pull/1053 will help a lot. Unfortunately the creator of that PR is on a well deserved rest at the moment.

Offline

#5 2022-05-29 18:56:52

Daedalus24
Member
From: Bucharest, Romania
Registered: 2015-03-27
Posts: 39
Website

Re: archinstall - create subvolumes when performing manual partitioning

Torxed wrote:

I think this is related to https://github.com/archlinux/archinstall/pull/1277 that got fixed a few hours ago.
Could you confirm with v2.5.0 and see if this still exists? The guided partitioning tool still leaves some stuff to be desired unfortunately, and the hopes is that https://github.com/archlinux/archinstall/pull/1053 will help a lot. Unfortunately the creator of that PR is on a well deserved rest at the moment.

I admit to never have installed the system in such manner, but it's more than challenging. I am just asking for confirmation on the steps to follow

# pacman -S git
# git clone https://github.com/archlinux/archinstall
# import archinstall
# archinstall --script guided 
...

Thank you once more. I will test it tomorrow and get back to you.

Last edited by Daedalus24 (2022-05-30 15:44:07)

Offline

#6 2022-05-29 19:29:16

Torxed
Member
Registered: 2013-01-10
Posts: 200

Re: archinstall - create subvolumes when performing manual partitioning

Steps would be:

# git clone https://github.com/archlinux/archinstall
# cd archinstall
# cp examples/guided.py ./
# python guided.py

That should do the trick smile

Offline

#7 2022-05-30 05:39:15

Daedalus24
Member
From: Bucharest, Romania
Registered: 2015-03-27
Posts: 39
Website

Re: archinstall - create subvolumes when performing manual partitioning

Thank you Torxed  smile . Much obliged.

Offline

#8 2022-05-30 15:39:12

Daedalus24
Member
From: Bucharest, Romania
Registered: 2015-03-27
Posts: 39
Website

Re: archinstall - create subvolumes when performing manual partitioning

It still doesn't work. I tried yesterday evening, and again today

! Formatting [BlockDevice(/dev/nvme0n1p7, size=953.9GB, free_space=1031kB+20488+335kb, bus_type=nvme] in 5....4.... ..1....
Marking partition Partition(path=/dev/nvme0n1p1, size=0.3, PARTUUID= ..., fs=vfat) as bootable.
Setting boot on on (parted) partition index 1
Filesystem(blockdevice=BlockDevice(/dev/nvme0n1, size=953.9GB, free_space=1031kb+2048B+335kB, bus_type=nvme), mode=1.load_layout() doesn't know how to work without 'wipe' being set or UUID () was given and found.
Mounting partition(path=/dev/nvme0n1p7, size=676.8, PARTUUID=..., fs=btrfs) to /mnt/archinstall/
Setting up subvolumes: {'@': {'mountpoint': '/', 'options': ['compress']}, '@home': {'mountpoint': '/home', 'options': ['compress']}, '@log': {'mountpoint': '/var/log', 'options': ['compress']},'@.snapshots': {'mountpoint': '/.snapshots', 'options': ['compress']}, 
'@pkg': {'mountpoint': 'var/cache/pacman/pkg', options':['compress']}

'Partition' object has no attribute 'create_subvolume'

Traceback (most recent call last);
   File "/root/archinstall/guided.py", line 307, in <module>
      perform_installation(archinstall.storage.get('MOUNT_POINT', '/mnt'))
   File "/root/archinstall/guided.py", line 137, in perform_installation
      with archinstall.Installer(mountpoint, kernels=archinstall.arguments.get('kernels', ['linux'])) as installation:
   File "/root/archinstall/guided.py", line 159, in __exit__
      raise args[1]
   File "/root/archinstall/guided.py", line 141, in perform_installation
      installation.mount_ordered_layout(archinstall.arguments['disk_layouts'])
   File "/root/archinstall/lib/installer.py", line 274, in mount_ordered_layout
      setup_subvolumes(
   File "/root/archinstall/archinstall/lib/disk/btrfs/btrfs_helpers.py", line 73, in setup_subvolumes
      partition_dict['device_instance'].create_subvolume(name, installation=installation)
AttributeError: 'Partition' object has no attribute 'create_subvolume'
python guided.py

I will probably have to install Arch manually, the script still needs a little bit of tuning.

Thank you again.

Last edited by Daedalus24 (2022-05-31 16:22:44)

Offline

#9 2022-05-31 16:31:51

Daedalus24
Member
From: Bucharest, Romania
Registered: 2015-03-27
Posts: 39
Website

Re: archinstall - create subvolumes when performing manual partitioning

And here is the install.log

Hardware model detected: ASUSTeK COMPUTER INC. Vivobook_ASUSLaptop M7600QE_M7600QE; UEFI mode: True
Processor model detected: AMD Ryzen 7 5800H with Radeon Graphics
Memory statistics: 15149840 available out of 15834332 total installed
Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [256]: b'none\r\n'
System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [256]: b'none\r\n'
Virtualization detected: None; is VM: None
Graphics devices detected: dict_keys(['NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)', 'Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c5)'])
Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '669.2M'}, {'name': 'sda', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '115.6G', 'children': [{'name': 'sda1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'ARCH_202205', 'uuid': '1A1D-1952', 'fsavail': '114.8G', 'fsuse%': '1%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '115.6G'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '953.9G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'SYSTEM', 'uuid': '66FE-32E1', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '260M'}, {'name': 'nvme0n1p2', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '16M'}, {'name': 'nvme0n1p3', 'fstype': 'ntfs', 'fsver': None, 'label': 'OS', 'uuid': 'A633000332FFD671', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '144.5G'}, {'name': 'nvme0n1p4', 'fstype': 'ntfs', 'fsver': None, 'label': None, 'uuid': '01D86C69A62750F0', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '131.1G'}, {'name': 'nvme0n1p5', 'fstype': 'ntfs', 'fsver': None, 'label': 'RECOVERY', 'uuid': '245447255446F956', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '1G'}, {'name': 'nvme0n1p6', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'MYASUS', 'uuid': '5A0D-A168', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '200M'}]}]}
Testing connectivity to the Arch Linux mirrors ...
Hardware model detected: ASUSTeK COMPUTER INC. Vivobook_ASUSLaptop M7600QE_M7600QE; UEFI mode: True
Processor model detected: AMD Ryzen 7 5800H with Radeon Graphics
Memory statistics: 15148516 available out of 15834332 total installed
Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [256]: b'none\r\n'
System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [256]: b'none\r\n'
Virtualization detected: None; is VM: None
Graphics devices detected: dict_keys(['NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)', 'Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c5)'])
Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '669.2M'}, {'name': 'sda', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '115.6G', 'children': [{'name': 'sda1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'ARCH_202205', 'uuid': '1A1D-1952', 'fsavail': '114.8G', 'fsuse%': '1%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '115.6G'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '953.9G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'SYSTEM', 'uuid': '66FE-32E1', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '260M'}, {'name': 'nvme0n1p2', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '16M'}, {'name': 'nvme0n1p3', 'fstype': 'ntfs', 'fsver': None, 'label': 'OS', 'uuid': 'A633000332FFD671', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '144.5G'}, {'name': 'nvme0n1p4', 'fstype': 'ntfs', 'fsver': None, 'label': None, 'uuid': '01D86C69A62750F0', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '131.1G'}, {'name': 'nvme0n1p5', 'fstype': 'ntfs', 'fsver': None, 'label': 'RECOVERY', 'uuid': '245447255446F956', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '1G'}, {'name': 'nvme0n1p6', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'MYASUS', 'uuid': '5A0D-A168', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '200M'}, {'name': 'nvme0n1p7', 'fstype': 'btrfs', 'fsver': None, 'label': None, 'uuid': 'e757be8d-b998-4645-bca2-bc0a97c2ddf2', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '676.8G'}]}]}
Testing connectivity to the Arch Linux mirrors ...
 -- Chosen configuration --
{
    "HSM": null,
    "__separator__": null,
    "additional-repositories": [
        "multilib"
    ],
    "archinstall-language": "English",
    "audio": "pipewire",
    "bootloader": "systemd-bootctl",
    "config_version": "2.5.0",
    "debug": false,
    "harddrives": [
        "/dev/nvme0n1"
    ],
    "hostname": "archlinux",
    "kernels": [
        "linux",
        "linux-zen"
    ],
    "keyboard-layout": "us",
    "mirror-region": { ...
              },
    "mount_point": null,
    "nic": {
        "dhcp": true,
        "dns": null,
        "gateway": null,
        "iface": null,
        "ip": null,
        "type": "nm"
    },
    "ntp": true,
    "packages": [
        "base",
        "base-devel",
        "linux-firmware",
        "efibootmgr",
        "refind"
    ],
    "plugin": null,
    "profile": null,
    "save_config": null,
    "script": "guided",
    "silent": false,
    "swap": true,
    "sys-encoding": "UTF-8",
    "sys-language": "en_US",
    "timezone": "Europe/...",
    "version": "2.5.0"
}
{
    "/dev/nvme0n1": {
        "partitions": [
            {
                "ESP": true,
                "PARTUUID": "66FE-32E1",
                "boot": true,
                "encrypted": false,
                "filesystem": {
                    "format": "vfat"
                },
                "mountpoint": null,
                "size": 532480,
                "start": 2048,
                "type": "primary",
                "wipe": false
            },
            {
                "ESP": false,
                "PARTUUID": "",
                "boot": false,
                "encrypted": false,
                "filesystem": {
                    "format": ""
                },
                "mountpoint": null,
                "size": 32768,
                "start": 534528,
                "type": "primary",
                "wipe": false
            },
            {
                "ESP": false,
                "PARTUUID": "A633000332FFD671",
                "boot": false,
                "encrypted": false,
                "filesystem": {
                    "format": "ntfs"
                },
                "mountpoint": null,
                "size": 302969252,
                "start": 567296,
                "type": "primary",
                "wipe": false
            },
            {
                "ESP": false,
                "PARTUUID": "01D86C69A62750F0",
                "boot": false,
                "encrypted": false,
                "filesystem": {
                    "format": "ntfs"
                },
                "mountpoint": null,
                "size": 274889288,
                "start": 303536552,
                "type": "primary",
                "wipe": false
            },
            {
                "ESP": false,
                "PARTUUID": "245447255446F956",
                "boot": false,
                "encrypted": false,
                "filesystem": {
                    "format": "ntfs"
                },
                "mountpoint": null,
                "size": 2150400,
                "start": 1997848576,
                "type": "primary",
                "wipe": false
            },
            {
                "ESP": false,
                "PARTUUID": "5A0D-A168",
                "boot": false,
                "encrypted": false,
                "filesystem": {
                    "format": "vfat"
                },
                "mountpoint": null,
                "size": 409600,
                "start": 1999998976,
                "type": "primary",
                "wipe": false
            },
            {
                "ESP": false,
                "PARTUUID": "e757be8d-b998-4645-bca2-bc0a97c2ddf2",
                "boot": false,
                "btrfs": {
                    "subvolumes": {
                        "@": {
                            "mountpoint": "/",
                            "options": [
                                "compress"
                            ]
                        },
                        "@.snapshots": {
                            "mountpoint": "/.snapshots",
                            "options": [
                                "compress"
                            ]
                        },
                        "@home": {
                            "mountpoint": "/home",
                            "options": [
                                "compress"
                            ]
                        },
                        "@log": {
                            "mountpoint": "/var/log",
                            "options": [
                                "compress"
                            ]
                        },
                        "@pkg": {
                            "mountpoint": "/var/cache/pacman/pkg",
                            "options": [
                                "compress"
                            ]
                        }
                    }
                },
                "encrypted": false,
                "filesystem": {
                    "format": "btrfs"
                },
                "mountpoint": null,
                "size": 1419422736,
                "start": 578425840,
                "type": "primary",
                "wipe": false
            }
        ]
    }
}
Could not locate mount information for /dev/nvme0n1p1: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p1'] exited with abnormal exit code [256]: b''
Re-using partition instance: Partition(path=/dev/nvme0n1p1, size=0.3, PARTUUID=66FE-32E1, fs=vfat)
Could not locate mount information for /dev/nvme0n1p1: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p1'] exited with abnormal exit code [256]: b''
Marking partition Partition(path=/dev/nvme0n1p1, size=0.3, PARTUUID=66FE-32E1, fs=vfat) as bootable.
Setting boot on on (parted) partition index 1
Filesystem(blockdevice=BlockDevice(/dev/nvme0n1, size=953.9GB, free_space=1031kB+2048B+335kB, bus_type=nvme), mode=1).load_layout() doesn't know how to work without 'wipe' being set or UUID () was given and found.
Could not locate mount information for /dev/nvme0n1p2: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p2'] exited with abnormal exit code [256]: b''
Could not get UUID/PARTUUID of Partition(path=/dev/nvme0n1p2, size=0.0, PARTUUID=, fs=): Could not get PARTUUID for /dev/nvme0n1p2 using 'blkid -s PARTUUID -o value /dev/nvme0n1p2'
Could not locate mount information for /dev/nvme0n1p3: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p3'] exited with abnormal exit code [256]: b''
Re-using partition instance: Partition(path=/dev/nvme0n1p3, size=144.5, PARTUUID=A633000332FFD671, fs=ntfs)
Could not locate mount information for /dev/nvme0n1p2: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p2'] exited with abnormal exit code [256]: b''
Could not get UUID/PARTUUID of Partition(path=/dev/nvme0n1p2, size=0.0, PARTUUID=, fs=): Could not get PARTUUID for /dev/nvme0n1p2 using 'blkid -s PARTUUID -o value /dev/nvme0n1p2'
Could not locate mount information for /dev/nvme0n1p4: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p4'] exited with abnormal exit code [256]: b''
Re-using partition instance: Partition(path=/dev/nvme0n1p4, size=131.1, PARTUUID=01D86C69A62750F0, fs=ntfs)
Could not locate mount information for /dev/nvme0n1p2: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p2'] exited with abnormal exit code [256]: b''
Could not get UUID/PARTUUID of Partition(path=/dev/nvme0n1p2, size=0.0, PARTUUID=, fs=): Could not get PARTUUID for /dev/nvme0n1p2 using 'blkid -s PARTUUID -o value /dev/nvme0n1p2'
Could not locate mount information for /dev/nvme0n1p5: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p5'] exited with abnormal exit code [256]: b''
Re-using partition instance: Partition(path=/dev/nvme0n1p5, size=1.0, PARTUUID=245447255446F956, fs=ntfs)
Could not locate mount information for /dev/nvme0n1p2: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p2'] exited with abnormal exit code [256]: b''
Could not get UUID/PARTUUID of Partition(path=/dev/nvme0n1p2, size=0.0, PARTUUID=, fs=): Could not get PARTUUID for /dev/nvme0n1p2 using 'blkid -s PARTUUID -o value /dev/nvme0n1p2'
Could not locate mount information for /dev/nvme0n1p6: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p6'] exited with abnormal exit code [256]: b''
Re-using partition instance: Partition(path=/dev/nvme0n1p6, size=0.2, PARTUUID=5A0D-A168, fs=vfat)
Could not locate mount information for /dev/nvme0n1p2: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p2'] exited with abnormal exit code [256]: b''
Could not get UUID/PARTUUID of Partition(path=/dev/nvme0n1p2, size=0.0, PARTUUID=, fs=): Could not get PARTUUID for /dev/nvme0n1p2 using 'blkid -s PARTUUID -o value /dev/nvme0n1p2'
Could not locate mount information for /dev/nvme0n1p7: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p7'] exited with abnormal exit code [256]: b''
Re-using partition instance: Partition(path=/dev/nvme0n1p7, size=676.8, PARTUUID=e757be8d-b998-4645-bca2-bc0a97c2ddf2, fs=btrfs)
Could not locate mount information for /dev/nvme0n1p7: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p7'] exited with abnormal exit code [256]: b''
Could not locate mount information for /dev/nvme0n1p7: ['/usr/bin/findmnt', '--json', '-R', '/dev/nvme0n1p7'] exited with abnormal exit code [256]: b''
Mounting Partition(path=/dev/nvme0n1p7, size=676.8, PARTUUID=e757be8d-b998-4645-bca2-bc0a97c2ddf2, fs=btrfs) to /mnt/archinstall/
Setting up subvolumes: {'@': {'mountpoint': '/', 'options': ['compress']}, '@home': {'mountpoint': '/home', 'options': ['compress']}, '@log': {'mountpoint': '/var/log', 'options': ['compress']}, '@.snapshots': {'mountpoint': '/.snapshots', 'options': ['compress']}, '@pkg': {'mountpoint': '/var/cache/pacman/pkg', 'options': ['compress']}}
'Partition' object has no attribute 'create_subvolume'

Last edited by Daedalus24 (2022-05-31 16:34:51)

Offline

#10 2022-06-22 15:04:23

xaocon
Member
Registered: 2022-06-22
Posts: 1

Re: archinstall - create subvolumes when performing manual partitioning

Ran into what looks like the same problem. I'm going to give all the info I can, sorry about the duplication in some places.

>>> archinstall.__version__
'2.5.0'

output config:

{
    "HSM": null,
    "__separator__": null,
    "additional-repositories": [],
    "archinstall-language": "English",
    "audio": "pipewire",
    "bootloader": "systemd-bootctl",
    "config_version": "2.5.0",
    "debug": false,
    "desktop-environment": "gnome",
    "gfx_driver": "VMware / VirtualBox (open-source)",
    "harddrives": [
        "/dev/sda"
    ],
    "hostname": "emp-arch",
    "kernels": [
        "linux"
    ],
    "keyboard-layout": "colemak",
    "mirror-region": {
        "United States": {
            "http://arch.hu.fo/archlinux/$repo/os/$arch": true,
            "http://arch.mirror.constant.com/$repo/os/$arch": true,
            "http://archlinux.qern-industries.pw/$repo/os/$arch": true,
            "http://archmirror1.octyl.net/$repo/os/$arch": true,
            "http://arlm.tyzoid.com/$repo/os/$arch": true,
            "http://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch": true,
            "http://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "http://distro.ibiblio.org/archlinux/$repo/os/$arch": true,
            "http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch": true,
            "http://iad.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "http://iad.mirrors.misaka.one/archlinux/$repo/os/$arch": true,
            "http://il.us.mirror.archlinux-br.org/$repo/os/$arch": true,
            "http://mirror.arizona.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.clarkson.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.cs.pitt.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/$arch": true,
            "http://mirror.ette.biz/archlinux/$repo/os/$arch": true,
            "http://mirror.fcix.net/archlinux/$repo/os/$arch": true,
            "http://mirror.hackingand.coffee/arch/$repo/os/$arch": true,
            "http://mirror.lty.me/archlinux/$repo/os/$arch": true,
            "http://mirror.math.princeton.edu/pub/archlinux/$repo/os/$arch": true,
            "http://mirror.metrocast.net/archlinux/$repo/os/$arch": true,
            "http://mirror.phx1.us.spryservers.net/archlinux/$repo/os/$arch": true,
            "http://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch": true,
            "http://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch": true,
            "http://mirror.siena.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.stephen304.com/archlinux/$repo/os/$arch": true,
            "http://mirror.umd.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.vtti.vt.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch": true,
            "http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch": true,
            "http://mirrors.aggregate.org/archlinux/$repo/os/$arch": true,
            "http://mirrors.bloomu.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.gigenet.com/archlinux/$repo/os/$arch": true,
            "http://mirrors.kernel.org/archlinux/$repo/os/$arch": true,
            "http://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.mit.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.radwebhosting.com/archlinux/$repo/os/$arch": true,
            "http://mirrors.rit.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.rutgers.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.sonic.net/archlinux/$repo/os/$arch": true,
            "http://mirrors.vectair.net/archlinux/$repo/os/$arch": true,
            "http://mirrors.xmission.com/archlinux/$repo/os/$arch": true,
            "http://mirrors.xtom.com/archlinux/$repo/os/$arch": true,
            "http://ord.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "http://plug-mirror.rcac.purdue.edu/archlinux/$repo/os/$arch": true,
            "http://repo.ialab.dsu.edu/archlinux/$repo/os/$arch": true,
            "http://repo.miserver.it.umich.edu/archlinux/$repo/os/$arch": true,
            "http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch": true,
            "https://america.mirror.pkgbuild.com/$repo/os/$arch": true,
            "https://arch.hu.fo/archlinux/$repo/os/$arch": true,
            "https://arch.mirror.constant.com/$repo/os/$arch": true,
            "https://arch.mirror.ivo.st/$repo/os/$arch": true,
            "https://archlinux.qern-industries.pw/$repo/os/$arch": true,
            "https://archmirror1.octyl.net/$repo/os/$arch": true,
            "https://arlm.tyzoid.com/$repo/os/$arch": true,
            "https://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch": true,
            "https://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "https://iad.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "https://iad.mirrors.misaka.one/archlinux/$repo/os/$arch": true,
            "https://mirror.arizona.edu/archlinux/$repo/os/$arch": true,
            "https://mirror.clarkson.edu/archlinux/$repo/os/$arch": true,
            "https://mirror.ette.biz/archlinux/$repo/os/$arch": true,
            "https://mirror.fcix.net/archlinux/$repo/os/$arch": true,
            "https://mirror.lty.me/archlinux/$repo/os/$arch": true,
            "https://mirror.phx1.us.spryservers.net/archlinux/$repo/os/$arch": true,
            "https://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch": true,
            "https://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch": true,
            "https://mirror.stephen304.com/archlinux/$repo/os/$arch": true,
            "https://mirror.theash.xyz/arch/$repo/os/$arch": true,
            "https://mirror.tmmworkshop.com/archlinux/$repo/os/$arch": true,
            "https://mirror.umd.edu/archlinux/$repo/os/$arch": true,
            "https://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch": true,
            "https://mirror2.sandyriver.net/pub/archlinux/$repo/os/$arch": true,
            "https://mirrors.bloomu.edu/archlinux/$repo/os/$arch": true,
            "https://mirrors.kernel.org/archlinux/$repo/os/$arch": true,
            "https://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch": true,
            "https://mirrors.mit.edu/archlinux/$repo/os/$arch": true,
            "https://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch": true,
            "https://mirrors.radwebhosting.com/archlinux/$repo/os/$arch": true,
            "https://mirrors.rit.edu/archlinux/$repo/os/$arch": true,
            "https://mirrors.sonic.net/archlinux/$repo/os/$arch": true,
            "https://mirrors.vectair.net/archlinux/$repo/os/$arch": true,
            "https://mirrors.xtom.com/archlinux/$repo/os/$arch": true,
            "https://ord.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "https://plug-mirror.rcac.purdue.edu/archlinux/$repo/os/$arch": true,
            "https://repo.ialab.dsu.edu/archlinux/$repo/os/$arch": true,
            "https://zxcvfdsa.com/arch/$repo/os/$arch": true
        }
    },
    "mount_point": null,
    "nic": {
        "dhcp": true,
        "dns": null,
        "gateway": null,
        "iface": null,
        "ip": null,
        "type": "iso"
    },
    "ntp": true,
    "packages": [
        "xf86-input-vmmouse",
        "xf86-video-vmware",
        "mesa",
        "open-vm-tools"
    ],
    "plugin": null,
    "profile": {
        "path": "/usr/lib/python3.10/site-packages/archinstall/profiles/desktop.py"
    },
    "save_config": null,
    "script": "guided",
    "silent": false,
    "swap": true,
    "sys-encoding": "UTF-8",
    "sys-language": "en_US",
    "timezone": "America/New_York",
    "version": "2.5.0"
}
{
    "/dev/sda": {
        "partitions": [
            {
                "ESP": true,
                "PARTUUID": "86F3-3CD9",
                "boot": true,
                "encrypted": false,
                "filesystem": {
                    "format": "vfat"
                },
                "mountpoint": "/boot",
                "size": 1024000,
                "start": 2048,
                "type": "primary",
                "wipe": false
            },
            {
                "ESP": false,
                "PARTUUID": "277351cb-65e8-4239-ada5-460bf3115414",
                "boot": false,
                "encrypted": false,
                "filesystem": {
                    "format": "swap"
                },
                "mountpoint": null,
                "size": 2097152,
                "start": 1026048,
                "type": "primary",
                "wipe": false
            },
            {
                "ESP": false,
                "PARTUUID": "7b2cae84-9724-47aa-9d14-e7e2525abd44",
                "boot": false,
                "btrfs": {
                    "subvolumes": {
                        "@": {
                            "mountpoint": "/"
                        },
                        "@home": {
                            "mountpoint": "/home",
                            "options": [
                                "compress"
                            ]
                        },
                        "@var": {
                            "mountpoint": "/var",
                            "options": [
                                "compress"
                            ]
                        }
                    }
                },
                "encrypted": false,
                "filesystem": {
                    "format": "btrfs"
                },
                "mountpoint": null,
                "size": 122703872,
                "start": 3123200,
                "type": "primary",
                "wipe": false
            }
        ]
    }
}

Output at install:

 ! Formatting [BlockDevice(/dev/sda, size=60.0GB, free_space=1031kB+1032kB, bus_type=spi)] in 5....4....3....2....1....
Marking partition Partition(path=/dev/sda1, size=0.5, PARTUUID=86F3-3CD9, fs=vfat) as bootable.
Setting boot on on (parted) partition index 1
Mounting Partition(path=/dev/sda3, size=58.5, PARTUUID=7b2cae84-9724-47aa-9d14-e7e2525abd44, fs=btrfs) to /mnt/archinstall/
Setting up subvolumes: {'@': {'mountpoint': '/'}, '@var': {'mountpoint': '/var', 'options': ['compress']}, '@home': {'mountpoint': '/home', 'options': ['compress']}}
'Partition' object has no attribute 'create_subvolume'
[!] A log file has been created here: /var/log/archinstall/install.log
    Please submit this issue (and file) to https://github.com/archlinux/archinstall/issues
Traceback (most recent call last):
  File "/usr/bin/archinstall", line 8, in <module>
    sys.exit(run_as_a_module())
  File "/usr/lib/python3.10/site-packages/archinstall/__init__.py", line 281, in run_as_a_module
    script.execute()
  File "/usr/lib/python3.10/site-packages/archinstall/lib/profiles.py", line 195, in execute
    self.spec.loader.exec_module(sys.modules[self.namespace])
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/archinstall/examples/guided.py", line 307, in <module>
    perform_installation(archinstall.storage.get('MOUNT_POINT', '/mnt'))
  File "/usr/lib/python3.10/site-packages/archinstall/examples/guided.py", line 137, in perform_installation
    with archinstall.Installer(mountpoint, kernels=archinstall.arguments.get('kernels', ['linux'])) as installation:
  File "/usr/lib/python3.10/site-packages/archinstall/lib/installer.py", line 159, in __exit__
    raise args[1]
  File "/usr/lib/python3.10/site-packages/archinstall/examples/guided.py", line 141, in perform_installation
    installation.mount_ordered_layout(archinstall.arguments['disk_layouts'])
  File "/usr/lib/python3.10/site-packages/archinstall/lib/installer.py", line 274, in mount_ordered_layout
    setup_subvolumes(
  File "/usr/lib/python3.10/site-packages/archinstall/lib/disk/btrfs/btrfs_helpers.py", line 73, in setup_subvolumes
    partition_dict['device_instance'].create_subvolume(name, installation=installation)
AttributeError: 'Partition' object has no attribute 'create_subvolume'

log from install:

Hardware model detected: VMware, Inc. VMware7,1; UEFI mode: True
Processor model detected: Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz
Memory statistics: 17951056 available out of 18778596 total installed
Virtualization detected: vmware; is VM: True
Graphics devices detected: dict_keys(['VMware SVGA II Adapter'])
Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '688.2M'}, {'name': 'sda', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '60G', 'children': [{'name': 'sda1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': None, 'uuid': '86F3-3CD9', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '500M'}, {'name': 'sda2', 'fstype': 'swap', 'fsver': '1', 'label': None, 'uuid': '277351cb-65e8-4239-ada5-460bf3115414', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '1G'}, {'name': 'sda3', 'fstype': 'btrfs', 'fsver': None, 'label': None, 'uuid': '7b2cae84-9724-47aa-9d14-e7e2525abd44', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '58.5G'}]}, {'name': 'sr0', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'ARCH_202206', 'uuid': '2022-06-01-15-35-22-00', 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'rom', 'size': '861.3M'}]}
Testing connectivity to the Arch Linux mirrors ...
Could not fetch an active mirror-list: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)>
 * Menu didn't find any options to choose from *
invalid parameter at Menu() call was at <select_mirror_regions>
Hardware model detected: VMware, Inc. VMware7,1; UEFI mode: True
Processor model detected: Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz
Memory statistics: 17929684 available out of 18778596 total installed
Virtualization detected: vmware; is VM: True
Graphics devices detected: dict_keys(['VMware SVGA II Adapter'])
Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '688.2M'}, {'name': 'sda', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '60G', 'children': [{'name': 'sda1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': None, 'uuid': '86F3-3CD9', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '500M'}, {'name': 'sda2', 'fstype': 'swap', 'fsver': '1', 'label': None, 'uuid': '277351cb-65e8-4239-ada5-460bf3115414', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '1G'}, {'name': 'sda3', 'fstype': 'btrfs', 'fsver': None, 'label': None, 'uuid': '7b2cae84-9724-47aa-9d14-e7e2525abd44', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '58.5G'}]}, {'name': 'sr0', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'ARCH_202206', 'uuid': '2022-06-01-15-35-22-00', 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'rom', 'size': '861.3M'}]}
Testing connectivity to the Arch Linux mirrors ...
Could not get free space on /dev/sr0: ['/usr/bin/parted', '-s', '--machine', '/dev/sr0', 'print', 'free'] exited with abnormal exit code [256]: b"Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.\r\nError: Can't have a partition outside the disk!\r\nBYT;\r\n/dev/sr0:903MB:scsi:2048:2048:unknown:NECVMWar VMware IDE CDR10:;\r\n"
Marked partition as bootable because mountpoint was set to /boot.
 -- Chosen configuration --
{
    "HSM": null,
    "__separator__": null,
    "additional-repositories": [],
    "archinstall-language": "English",
    "audio": "pipewire",
    "bootloader": "systemd-bootctl",
    "config_version": "2.5.0",
    "debug": false,
    "desktop-environment": "gnome",
    "gfx_driver": "VMware / VirtualBox (open-source)",
    "harddrives": [
        "/dev/sda"
    ],
    "hostname": "emp-arch",
    "kernels": [
        "linux"
    ],
    "keyboard-layout": "colemak",
    "mirror-region": {
        "United States": {
            "http://arch.hu.fo/archlinux/$repo/os/$arch": true,
            "http://arch.mirror.constant.com/$repo/os/$arch": true,
            "http://archlinux.qern-industries.pw/$repo/os/$arch": true,
            "http://archmirror1.octyl.net/$repo/os/$arch": true,
            "http://arlm.tyzoid.com/$repo/os/$arch": true,
            "http://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch": true,
            "http://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "http://distro.ibiblio.org/archlinux/$repo/os/$arch": true,
            "http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch": true,
            "http://iad.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "http://iad.mirrors.misaka.one/archlinux/$repo/os/$arch": true,
            "http://il.us.mirror.archlinux-br.org/$repo/os/$arch": true,
            "http://mirror.arizona.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.clarkson.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.cs.pitt.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/$arch": true,
            "http://mirror.ette.biz/archlinux/$repo/os/$arch": true,
            "http://mirror.fcix.net/archlinux/$repo/os/$arch": true,
            "http://mirror.hackingand.coffee/arch/$repo/os/$arch": true,
            "http://mirror.lty.me/archlinux/$repo/os/$arch": true,
            "http://mirror.math.princeton.edu/pub/archlinux/$repo/os/$arch": true,
            "http://mirror.metrocast.net/archlinux/$repo/os/$arch": true,
            "http://mirror.phx1.us.spryservers.net/archlinux/$repo/os/$arch": true,
            "http://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch": true,
            "http://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch": true,
            "http://mirror.siena.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.stephen304.com/archlinux/$repo/os/$arch": true,
            "http://mirror.umd.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.vtti.vt.edu/archlinux/$repo/os/$arch": true,
            "http://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch": true,
            "http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch": true,
            "http://mirrors.aggregate.org/archlinux/$repo/os/$arch": true,
            "http://mirrors.bloomu.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.gigenet.com/archlinux/$repo/os/$arch": true,
            "http://mirrors.kernel.org/archlinux/$repo/os/$arch": true,
            "http://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.mit.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.radwebhosting.com/archlinux/$repo/os/$arch": true,
            "http://mirrors.rit.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.rutgers.edu/archlinux/$repo/os/$arch": true,
            "http://mirrors.sonic.net/archlinux/$repo/os/$arch": true,
            "http://mirrors.vectair.net/archlinux/$repo/os/$arch": true,
            "http://mirrors.xmission.com/archlinux/$repo/os/$arch": true,
            "http://mirrors.xtom.com/archlinux/$repo/os/$arch": true,
            "http://ord.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "http://plug-mirror.rcac.purdue.edu/archlinux/$repo/os/$arch": true,
            "http://repo.ialab.dsu.edu/archlinux/$repo/os/$arch": true,
            "http://repo.miserver.it.umich.edu/archlinux/$repo/os/$arch": true,
            "http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch": true,
            "https://america.mirror.pkgbuild.com/$repo/os/$arch": true,
            "https://arch.hu.fo/archlinux/$repo/os/$arch": true,
            "https://arch.mirror.constant.com/$repo/os/$arch": true,
            "https://arch.mirror.ivo.st/$repo/os/$arch": true,
            "https://archlinux.qern-industries.pw/$repo/os/$arch": true,
            "https://archmirror1.octyl.net/$repo/os/$arch": true,
            "https://arlm.tyzoid.com/$repo/os/$arch": true,
            "https://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch": true,
            "https://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "https://iad.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "https://iad.mirrors.misaka.one/archlinux/$repo/os/$arch": true,
            "https://mirror.arizona.edu/archlinux/$repo/os/$arch": true,
            "https://mirror.clarkson.edu/archlinux/$repo/os/$arch": true,
            "https://mirror.ette.biz/archlinux/$repo/os/$arch": true,
            "https://mirror.fcix.net/archlinux/$repo/os/$arch": true,
            "https://mirror.lty.me/archlinux/$repo/os/$arch": true,
            "https://mirror.phx1.us.spryservers.net/archlinux/$repo/os/$arch": true,
            "https://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch": true,
            "https://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch": true,
            "https://mirror.stephen304.com/archlinux/$repo/os/$arch": true,
            "https://mirror.theash.xyz/arch/$repo/os/$arch": true,
            "https://mirror.tmmworkshop.com/archlinux/$repo/os/$arch": true,
            "https://mirror.umd.edu/archlinux/$repo/os/$arch": true,
            "https://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch": true,
            "https://mirror2.sandyriver.net/pub/archlinux/$repo/os/$arch": true,
            "https://mirrors.bloomu.edu/archlinux/$repo/os/$arch": true,
            "https://mirrors.kernel.org/archlinux/$repo/os/$arch": true,
            "https://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch": true,
            "https://mirrors.mit.edu/archlinux/$repo/os/$arch": true,
            "https://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch": true,
            "https://mirrors.radwebhosting.com/archlinux/$repo/os/$arch": true,
            "https://mirrors.rit.edu/archlinux/$repo/os/$arch": true,
            "https://mirrors.sonic.net/archlinux/$repo/os/$arch": true,
            "https://mirrors.vectair.net/archlinux/$repo/os/$arch": true,
            "https://mirrors.xtom.com/archlinux/$repo/os/$arch": true,
            "https://ord.mirror.rackspace.com/archlinux/$repo/os/$arch": true,
            "https://plug-mirror.rcac.purdue.edu/archlinux/$repo/os/$arch": true,
            "https://repo.ialab.dsu.edu/archlinux/$repo/os/$arch": true,
            "https://zxcvfdsa.com/arch/$repo/os/$arch": true
        }
    },
    "mount_point": null,
    "nic": {
        "dhcp": true,
        "dns": null,
        "gateway": null,
        "iface": null,
        "ip": null,
        "type": "iso"
    },
    "ntp": true,
    "packages": [
        "xf86-input-vmmouse",
        "xf86-video-vmware",
        "mesa",
        "open-vm-tools"
    ],
    "plugin": null,
    "profile": {
        "path": "/usr/lib/python3.10/site-packages/archinstall/profiles/desktop.py"
    },
    "save_config": null,
    "script": "guided",
    "silent": false,
    "swap": true,
    "sys-encoding": "UTF-8",
    "sys-language": "en_US",
    "timezone": "America/New_York",
    "version": "2.5.0"
}
{
    "/dev/sda": {
        "partitions": [
            {
                "ESP": true,
                "PARTUUID": "86F3-3CD9",
                "boot": true,
                "encrypted": false,
                "filesystem": {
                    "format": "vfat"
                },
                "mountpoint": "/boot",
                "size": 1024000,
                "start": 2048,
                "type": "primary",
                "wipe": false
            },
            {
                "ESP": false,
                "PARTUUID": "277351cb-65e8-4239-ada5-460bf3115414",
                "boot": false,
                "encrypted": false,
                "filesystem": {
                    "format": "swap"
                },
                "mountpoint": null,
                "size": 2097152,
                "start": 1026048,
                "type": "primary",
                "wipe": false
            },
            {
                "ESP": false,
                "PARTUUID": "7b2cae84-9724-47aa-9d14-e7e2525abd44",
                "boot": false,
                "btrfs": {
                    "subvolumes": {
                        "@": {
                            "mountpoint": "/"
                        },
                        "@home": {
                            "mountpoint": "/home",
                            "options": [
                                "compress"
                            ]
                        },
                        "@var": {
                            "mountpoint": "/var",
                            "options": [
                                "compress"
                            ]
                        }
                    }
                },
                "encrypted": false,
                "filesystem": {
                    "format": "btrfs"
                },
                "mountpoint": null,
                "size": 122703872,
                "start": 3123200,
                "type": "primary",
                "wipe": false
            }
        ]
    }
}
Could not locate mount information for /dev/sda1: ['/usr/bin/findmnt', '--json', '-R', '/dev/sda1'] exited with abnormal exit code [256]: b''
Re-using partition instance: Partition(path=/dev/sda1, size=0.5, PARTUUID=86F3-3CD9, fs=vfat)
Could not locate mount information for /dev/sda1: ['/usr/bin/findmnt', '--json', '-R', '/dev/sda1'] exited with abnormal exit code [256]: b''
Marking partition Partition(path=/dev/sda1, size=0.5, PARTUUID=86F3-3CD9, fs=vfat) as bootable.
Setting boot on on (parted) partition index 1
Could not locate mount information for /dev/sda2: ['/usr/bin/findmnt', '--json', '-R', '/dev/sda2'] exited with abnormal exit code [256]: b''
Re-using partition instance: Partition(path=/dev/sda2, size=1.0, PARTUUID=277351cb-65e8-4239-ada5-460bf3115414, fs=swap)
Could not locate mount information for /dev/sda3: ['/usr/bin/findmnt', '--json', '-R', '/dev/sda3'] exited with abnormal exit code [256]: b''
Re-using partition instance: Partition(path=/dev/sda3, size=58.5, PARTUUID=7b2cae84-9724-47aa-9d14-e7e2525abd44, fs=btrfs)
Could not locate mount information for /dev/sda3: ['/usr/bin/findmnt', '--json', '-R', '/dev/sda3'] exited with abnormal exit code [256]: b''
Could not locate mount information for /dev/sda3: ['/usr/bin/findmnt', '--json', '-R', '/dev/sda3'] exited with abnormal exit code [256]: b''
Mounting Partition(path=/dev/sda3, size=58.5, PARTUUID=7b2cae84-9724-47aa-9d14-e7e2525abd44, fs=btrfs) to /mnt/archinstall/
Setting up subvolumes: {'@': {'mountpoint': '/'}, '@var': {'mountpoint': '/var', 'options': ['compress']}, '@home': {'mountpoint': '/home', 'options': ['compress']}}
'Partition' object has no attribute 'create_subvolume'

Offline

Board footer

Powered by FluxBB