Bereite Gerät /dev/sdb vor (Unmount/Swapoff)... $ swapoff -a $ lsblk -n -l -o NAME /dev/sdb $ umount -f /dev/sdb LOG: umount: /dev/sdb: nicht eingehängt. $ dmsetup remove sdb LOG: device-mapper: remove ioctl on sdb failed: Kein passendes Gerät bzw. keine passende Adresse gefunden Command failed. Lösche Festplatte /dev/sdb... $ wipefs -a -f /dev/sdb OUT: /dev/sdb: 8 Bytes wurden an Position 0x00000200 gelöscht (gpt): 45 46 49 20 50 41 52 54 /dev/sdb: 8 Bytes wurden an Position 0x1dcf855e00 gelöscht (gpt): 45 46 49 20 50 41 52 54 /dev/sdb: 2 Bytes wurden an Position 0x000001fe gelöscht (PMBR): 55 aa $ udevadm settle $ parted -s /dev/sdb mklabel gpt $ lsblk -n -l -o NAME /dev/sdb $ parted -s /dev/sdb mkpart primary fat32 1.0MiB 513.0MiB LOG: Warnung: Die Partition ist nicht sauber ausgerichtet, gemessen an bester Performance: 2048s % 65535s != 0s $ parted -s /dev/sdb set 1 esp on Erstelle Swap Partition (8192 MB) $ parted -s /dev/sdb mkpart primary linux-swap 513.0MiB 8705.0MiB LOG: Warnung: Die Partition ist nicht sauber ausgerichtet, gemessen an bester Performance: 1050624s % 65535s != 0s $ parted -s /dev/sdb mkpart primary btrfs 8705.0MiB 100% LOG: Warnung: Die Partition ist nicht sauber ausgerichtet, gemessen an bester Performance: 17827840s % 65535s != 0s $ udevadm settle Format /dev/sdb1 (vfat) $ mkfs.vfat -F32 /dev/sdb1 OUT: mkfs.fat 4.2 (2021-01-31) Format /dev/sdb2 (swap) $ mkswap /dev/sdb2 OUT: Auslagerungsbereich Version 1 wird angelegt, Größe = 8 GiB (8589930496 Bytes) keine Bezeichnung, UUID=f1cc338d-a41c-4780-8dc6-fffd974412c2 Format /dev/sdb3 (btrfs) $ mkfs.btrfs -f /dev/sdb3 $ mount /dev/sdb3 /tmp/btrfs_gen $ btrfs subvolume create /tmp/btrfs_gen/@ OUT: Create subvolume '/tmp/btrfs_gen/@' $ btrfs subvolume create /tmp/btrfs_gen/@home OUT: Create subvolume '/tmp/btrfs_gen/@home' $ btrfs subvolume create /tmp/btrfs_gen/@snapshots OUT: Create subvolume '/tmp/btrfs_gen/@snapshots' $ btrfs subvolume create /tmp/btrfs_gen/@var_log OUT: Create subvolume '/tmp/btrfs_gen/@var_log' $ umount /tmp/btrfs_gen $ mount -o defaults,subvol=@,compress=zstd /dev/sdb3 /mnt/void $ mount -o defaults,compress=zstd,subvol=@home /dev/sdb3 /mnt/void/home $ mount -o defaults,compress=zstd,subvol=@var_log /dev/sdb3 /mnt/void/var/log $ mount -o defaults,umask=0077 /dev/sdb1 /mnt/void/boot/efi $ swapon /dev/sdb2 Kopiere System (rsync)... $ rsync -aHAX --info=progress2 --exclude /proc/* --exclude /sys/* --exclude /dev/* --exclude /run/* --exclude /tmp/* --exclude /mnt/* --exclude /media/* --exclude /etc/fstab --exclude /etc/crypttab --exclude /home/anon --exclude /boot/grub/grub.cfg --exclude /var/cache/xbps/* --exclude /var/db/xbps/keys/* / /mnt/void $ findmnt -R -n -o TARGET,UUID,FSTYPE,OPTIONS /mnt/void $ ln -sf /usr/share/zoneinfo/Europe/Berlin /mnt/void/etc/localtime $ mount --rbind /proc /mnt/void/proc $ mount --make-rslave /mnt/void/proc $ mount --rbind /sys /mnt/void/sys $ mount --make-rslave /mnt/void/sys $ mount --rbind /dev /mnt/void/dev $ mount --make-rslave /mnt/void/dev $ chroot /mnt/void userdel -r anon LOG: userdel: anon mail spool (/var/mail/anon) not found userdel: anon home directory (/home/anon) not found $ chroot /mnt/void useradd -m -s /bin/bash -G wheel,users,audio,video,network,input,scanner,lp,lpadmin,storage michael $ umount -R /mnt/void/sys/firmware/efi/efivars $ umount -R /mnt/void/dev $ umount -R /mnt/void/sys $ umount -R /mnt/void/proc $ mount --rbind /proc /mnt/void/proc $ mount --make-rslave /mnt/void/proc $ mount --rbind /sys /mnt/void/sys $ mount --make-rslave /mnt/void/sys $ mount --rbind /dev /mnt/void/dev $ mount --make-rslave /mnt/void/dev $ chroot /mnt/void xbps-reconfigure -fa $ umount -R /mnt/void/sys/firmware/efi/efivars $ umount -R /mnt/void/dev $ umount -R /mnt/void/sys $ umount -R /mnt/void/proc $ mount --rbind /proc /mnt/void/proc $ mount --make-rslave /mnt/void/proc $ mount --rbind /sys /mnt/void/sys $ mount --make-rslave /mnt/void/sys $ mount --rbind /dev /mnt/void/dev $ mount --make-rslave /mnt/void/dev $ chroot /mnt/void grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=void --recheck !! FEHLER (Exit 1): Command '['chroot', '/mnt/void', 'grub-install', '--target=x86_64-efi', '--efi-directory=/boot/efi', '--bootloader-id=void', '--recheck']' returned non-zero exit status 1. DETAILS: grub-install: Fehler: /usr/lib64/grub/x86_64-efi/modinfo.sh existiert nicht. Bitte geben Sie --target oder --directory an. $ umount -R /mnt/void/sys/firmware/efi/efivars $ umount -R /mnt/void/dev $ umount -R /mnt/void/sys $ umount -R /mnt/void/proc KRITISCHER FEHLER: Command '['chroot', '/mnt/void', 'grub-install', '--target=x86_64-efi', '--efi-directory=/boot/efi', '--bootloader-id=void', '--recheck']' returned non-zero exit status 1. Traceback (most recent call last): File "/usr/local/bin/installer/installation_view.py", line 87, in _run_process self.backend._bootloader(self.plan) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/local/bin/installer/installation_backend.py", line 365, in _bootloader if plan["uefi"]: self._run(["grub-install", "--target=x86_64-efi", "--efi-directory=/boot/efi", "--bootloader-id=void", "--recheck"], chroot=True) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/bin/installer/installation_backend.py", line 24, in _run res = subprocess.run(cmd, check=check, text=True, capture_output=True) File "/usr/lib/python3.14/subprocess.py", line 577, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['chroot', '/mnt/void', 'grub-install', '--target=x86_64-efi', '--efi-directory=/boot/efi', '--bootloader-id=void', '--recheck']' returned non-zero exit status 1. $ umount -R /mnt/void/sys/firmware/efi/efivars LOG: umount: /mnt/void/sys/firmware/efi/efivars: nicht gefunden $ umount -R /mnt/void/dev LOG: umount: /mnt/void/dev: nicht eingehängt $ umount -R /mnt/void/sys LOG: umount: /mnt/void/sys: nicht eingehängt $ umount -R /mnt/void/proc LOG: umount: /mnt/void/proc: nicht eingehängt