"Scanning devices..." getting smart status failed for "/dev/nvme0n1" : Operation not supported "Device found: Unknown" blkid: unknown file system type "" on "/dev/nvme0n1p3" "Partition ‘/dev/nvme0n1p1’ is not properly aligned (last sector: 32723247, modulo: 304)." "Device found: ATA ST1000LM035-1RK1" "Device found: USB DISK 3.0" getting smart status failed for "/dev/sdb" : Operation not supported "Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)." "Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)." "Scan finished." is ^C calculate ~ # calculate ~ # calculate ~ # calculate ~ # history 1 emerge -vt cryptsetup 2 fdisk -l 3 HOSTNAME=$(pwgen -0A $(( 4 + (RANDOM%3) )) ) 4 BOOT=/dev/sda1 5* LUKS=/dev/sda 6 LUKS=/dev/nvme0n1p2 7 BOOT=/dev/nvme0n1p4 8 lukspw=nichon 9 cryptsetup luksFormat $LUKS 10 LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' ) 11 echo $LUKS_UUID 12 cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 13 cryptsetup luksFormat $LUKS 14 pwd 15 mount 16 umount /dev/nvme0n1p2 17 cryptsetup luksFormat $LUKS 18 cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 19 SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 20 pvcreate "${SYSDEV}" 21 vgcreate "${HOSTNAME}" "${SYSDEV}" 22 SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 23 echo $SYSDEV 24 ls -al /dev/mapper/ 25 pvcreate "${SYSDEV}" 26* echo "calculate" "${SYSDEV}" 27 vgcreate --help 28 HOSTNAME=calculate; vgcreate "${HOSTNAME}" "${SYSDEV}" 29 lvcreate -n swap -L 16G "${HOSTNAME}" 30 fdisk -l 31 umount "${SYSDEV}" 32 cryptsetup luksClose "${LUKS}" "luks-${LUKS_UUID}" 33 partitionmanager 34 history calculate ~ # vg vgcfgbackup vgchange vgconvert vgdisplay vgextend vgimportclone vgmknodes vgremove vgs vgsplit vgcfgrestore vgck vgcreate vgexport vgimport vgmerge vgreduce vgrename vgscan calculate ~ # vg vgcfgbackup vgchange vgconvert vgdisplay vgextend vgimportclone vgmknodes vgremove vgs vgsplit vgcfgrestore vgck vgcreate vgexport vgimport vgmerge vgreduce vgrename vgscan calculate ~ # vgrem^C calculate ~ # HOSTNAME=calculate; vgremove "${HOSTNAME}" "${SYSDEV}" /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. skip_dev_dir: Couldn't split up device name luks-29681f1a-307e-4b68-943c-25060fc3f853. Volume group "calculate" successfully removed Volume group "luks-29681f1a-307e-4b68-943c-25060fc3f853" not found Cannot process volume group luks-29681f1a-307e-4b68-943c-25060fc3f853 calculate ~ # partitionmanager & [1] 27984 calculate ~ # Loaded backend plugin: "pmlibpartedbackendplugin" "Using backend plugin: pmlibpartedbackendplugin (1)" "Scanning devices..." getting smart status failed for "/dev/nvme0n1" : Operation not supported "Device found: Unknown" blkid: unknown file system type "" on "/dev/nvme0n1p3" "Partition ‘/dev/nvme0n1p1’ is not properly aligned (last sector: 32723247, modulo: 304)." "Device found: ATA ST1000LM035-1RK1" "Device found: USB DISK 3.0" getting smart status failed for "/dev/sdb" : Operation not supported "Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)." "Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)." "Scan finished." calculate ~ # calculate ~ # calculate ~ # partitionmanager &^C (reverse-i-search)`pv': ^Ccreate "${SYSDEV}" calculate ~ # pv pv pvchange pvck pvcreate pvdisplay pvmove pvremove pvresize pvs pvscan calculate ~ # pv pv pvchange pvck pvcreate pvdisplay pvmove pvremove pvresize pvs pvscan calculate ~ # pvremove "${SYSDEV}" /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. Labels on physical volume "/dev/mapper/luks-29681f1a-307e-4b68-943c-25060fc3f853" successfully wiped. calculate ~ # "Using backend plugin: pmlibpartedbackendplugin (1)" "Scanning devices..." "Device found: Unknown" getting smart status failed for "/dev/nvme0n1" : Operation not supported blkid: unknown file system type "" on "/dev/nvme0n1p3" "Partition ‘/dev/nvme0n1p1’ is not properly aligned (last sector: 32723247, modulo: 304)." "Device found: ATA ST1000LM035-1RK1" "Device found: USB DISK 3.0" getting smart status failed for "/dev/sdb" : Operation not supported "Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)." "Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)." "Scan finished." "Add operation: Delete partition ‘/dev/nvme0n1p2’ (15.00 GiB, luks)" "Add operation: Delete partition ‘/dev/nvme0n1p1’ (15.60 GiB, linuxswap)" "Add operation: Delete partition ‘/dev/nvme0n1p3’ (15.00 GiB, unknown)" "Add operation: Create a new partition (200.00 MiB, fat32) on ‘/dev/nvme0n1’" "Add operation: Delete partition ‘/dev/nvme0n1p4’ (200.00 MiB, fat32)" libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 Aborting aboutToFinish handling. "Applying operations..." "Using backend plugin: pmlibpartedbackendplugin (1)" "Scanning devices..." getting smart status failed for "/dev/nvme0n1" : Operation not supported "Device found: Unknown" "Device found: ATA ST1000LM035-1RK1" "Device found: USB DISK 3.0" getting smart status failed for "/dev/sdb" : Operation not supported "Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)." "Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)." "Scan finished." "Add operation: Set flags for partition ‘/dev/nvme0n1p1’ to \"boot,msft-data,esp\"" "Applying operations..." "Using backend plugin: pmlibpartedbackendplugin (1)" "Scanning devices..." getting smart status failed for "/dev/nvme0n1" : Operation not supported "Device found: Unknown" "Device found: ATA ST1000LM035-1RK1" "Device found: USB DISK 3.0" getting smart status failed for "/dev/sdb" : Operation not supported "Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)." "Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)." "Scan finished." calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # history 1 emerge -vt cryptsetup 2 fdisk -l 3 HOSTNAME=$(pwgen -0A $(( 4 + (RANDOM%3) )) ) 4 BOOT=/dev/sda1 5* LUKS=/dev/sda 6 LUKS=/dev/nvme0n1p2 7 BOOT=/dev/nvme0n1p4 8 lukspw=nichon 9 cryptsetup luksFormat $LUKS 10 LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' ) 11 echo $LUKS_UUID 12 cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 13 cryptsetup luksFormat $LUKS 14 pwd 15 mount 16 umount /dev/nvme0n1p2 17 cryptsetup luksFormat $LUKS 18 cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 19 SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 20 pvcreate "${SYSDEV}" 21 vgcreate "${HOSTNAME}" "${SYSDEV}" 22 SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 23 echo $SYSDEV 24 ls -al /dev/mapper/ 25 pvcreate "${SYSDEV}" 26* echo "calculate" "${SYSDEV}" 27 vgcreate --help 28 HOSTNAME=calculate; vgcreate "${HOSTNAME}" "${SYSDEV}" 29 lvcreate -n swap -L 16G "${HOSTNAME}" 30 fdisk -l 31 umount "${SYSDEV}" 32 cryptsetup luksClose "${LUKS}" "luks-${LUKS_UUID}" 33 partitionmanager 34 history 35 HOSTNAME=calculate; vgremove "${HOSTNAME}" "${SYSDEV}" 36 partitionmanager & 37 pvremove "${SYSDEV}" 38 history calculate ~ # !9 cryptsetup luksFormat $LUKS WARNING! ======== This will overwrite data on /dev/nvme0n1p2 irrevocably. Are you sure? (Type uppercase yes): Y calculate ~ # BOOT=/dev/nvme0n1p1 calculate ~ # "Add operation: Create a new partition (238.28 GiB, ext4) on ‘/dev/nvme0n1’" "Applying operations..." "Using backend plugin: pmlibpartedbackendplugin (1)" "Scanning devices..." getting smart status failed for "/dev/nvme0n1" : Operation not supported "Device found: Unknown" "Device found: ATA ST1000LM035-1RK1" "Device found: USB DISK 3.0" getting smart status failed for "/dev/sdb" : Operation not supported "Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)." "Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)." "Scan finished." calculate ~ # calculate ~ # calculate ~ # BOOT=/dev/nvme0n1p1^C (reverse-i-search)`LUK': cryptsetup luksOpen "${^CKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" calculate ~ # ²LUKS=/dev/nvme0n1p2 -su: ²LUKS=/dev/nvme0n1p2: No such file or directory calculate ~ # LUKS=/dev/nvme0n1p2 calculate ~ # !9 cryptsetup luksFormat $LUKS WARNING! ======== This will overwrite data on /dev/nvme0n1p2 irrevocably. Are you sure? (Type uppercase yes): YES Enter passphrase: Verify passphrase: calculate ~ # history 1 emerge -vt cryptsetup 2 fdisk -l 3 HOSTNAME=$(pwgen -0A $(( 4 + (RANDOM%3) )) ) 4 BOOT=/dev/sda1 5* LUKS=/dev/sda 6 LUKS=/dev/nvme0n1p2 7 BOOT=/dev/nvme0n1p4 8 lukspw=nichon 9 cryptsetup luksFormat $LUKS 10 LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' ) 11 echo $LUKS_UUID 12 cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 13 cryptsetup luksFormat $LUKS 14 pwd 15 mount 16 umount /dev/nvme0n1p2 17 cryptsetup luksFormat $LUKS 18 cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 19 SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 20 pvcreate "${SYSDEV}" 21 vgcreate "${HOSTNAME}" "${SYSDEV}" 22 SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 23 echo $SYSDEV 24 ls -al /dev/mapper/ 25 pvcreate "${SYSDEV}" 26* echo "calculate" "${SYSDEV}" 27 vgcreate --help 28 HOSTNAME=calculate; vgcreate "${HOSTNAME}" "${SYSDEV}" 29 lvcreate -n swap -L 16G "${HOSTNAME}" 30 fdisk -l 31 umount "${SYSDEV}" 32 cryptsetup luksClose "${LUKS}" "luks-${LUKS_UUID}" 33 partitionmanager 34 history 35 HOSTNAME=calculate; vgremove "${HOSTNAME}" "${SYSDEV}" 36 partitionmanager & 37 pvremove "${SYSDEV}" 38 history 39 cryptsetup luksFormat $LUKS 40 BOOT=/dev/nvme0n1p1 41 ²LUKS=/dev/nvme0n1p2 42 LUKS=/dev/nvme0n1p2 43 cryptsetup luksFormat $LUKS 44 history calculate ~ # !10 LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' ) calculate ~ # !11 echo $LUKS_UUID 4e4d30cb-3628-4d86-bfdd-19e3c1feed80 calculate ~ # !12 cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" calculate ~ # !13 cryptsetup luksFormat $LUKS WARNING! ======== This will overwrite data on /dev/nvme0n1p2 irrevocably. Are you sure? (Type uppercase yes): n calculate ~ # history 1 emerge -vt cryptsetup 2 fdisk -l 3 HOSTNAME=$(pwgen -0A $(( 4 + (RANDOM%3) )) ) 4 BOOT=/dev/sda1 5* LUKS=/dev/sda 6 LUKS=/dev/nvme0n1p2 7 BOOT=/dev/nvme0n1p4 8 lukspw=nichon 9 cryptsetup luksFormat $LUKS 10 LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' ) 11 echo $LUKS_UUID 12 cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 13 cryptsetup luksFormat $LUKS 14 pwd 15 mount 16 umount /dev/nvme0n1p2 17 cryptsetup luksFormat $LUKS 18 cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 19 SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 20 pvcreate "${SYSDEV}" 21 vgcreate "${HOSTNAME}" "${SYSDEV}" 22 SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 23 echo $SYSDEV 24 ls -al /dev/mapper/ 25 pvcreate "${SYSDEV}" 26* echo "calculate" "${SYSDEV}" 27 vgcreate --help 28 HOSTNAME=calculate; vgcreate "${HOSTNAME}" "${SYSDEV}" 29 lvcreate -n swap -L 16G "${HOSTNAME}" 30 fdisk -l 31 umount "${SYSDEV}" 32 cryptsetup luksClose "${LUKS}" "luks-${LUKS_UUID}" 33 partitionmanager 34 history 35 HOSTNAME=calculate; vgremove "${HOSTNAME}" "${SYSDEV}" 36 partitionmanager & 37 pvremove "${SYSDEV}" 38 history 39 cryptsetup luksFormat $LUKS 40 BOOT=/dev/nvme0n1p1 41 ²LUKS=/dev/nvme0n1p2 42 LUKS=/dev/nvme0n1p2 43 cryptsetup luksFormat $LUKS 44 history 45 LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' ) 46 echo $LUKS_UUID 47 cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 48 cryptsetup luksFormat $LUKS 49 history calculate ~ # cryptsetup luksFormat $LUKS WARNING! ======== This will overwrite data on /dev/nvme0n1p2 irrevocably. Are you sure? (Type uppercase yes): YES Enter passphrase: Verify passphrase: Cannot format device /dev/nvme0n1p2 which is still in use. calculate ~ # !22 SYSDEV="/dev/mapper/luks-${LUKS_UUID}" calculate ~ # !10 LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' ) calculate ~ # !22 SYSDEV="/dev/mapper/luks-${LUKS_UUID}" calculate ~ # !20 pvcreate "${SYSDEV}" /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. Physical volume "/dev/mapper/luks-4e4d30cb-3628-4d86-bfdd-19e3c1feed80" successfully created. calculate ~ # HOSTNAME=calculate calculate ~ # !21 vgcreate "${HOSTNAME}" "${SYSDEV}" /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. Volume group "calculate" successfully created calculate ~ # lvcreate -n swap -L 24G "${HOSTNAME}" /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. Logical volume "swap" created. calculate ~ # lvcreate -n root -L 30G "${HOSTNAME}" /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. Logical volume "root" created. calculate ~ # lvcreate -n _var_calculate -l 100%FREE "${HOSTNAME}" /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. Logical volume "_var_calculate" created. calculate ~ # calculate ~ # mkswap /dev/mapper/${HOSTNAME}-swap Setting up swapspace version 1, size = 24 GiB (25769799680 bytes) no label, UUID=f3b0c39e-393c-4a58-8ec8-f577701627ae calculate ~ # swapon /dev/mapper/${HOSTNAME}-swap calculate ~ # swapon NAME TYPE SIZE USED PRIO /dev/dm-1 partition 24G 0B -2 calculate ~ # mkfs.ext4 /dev/mapper/${HOSTNAME}-root mke2fs 1.43.6 (29-Aug-2017) Creating filesystem with 7864320 4k blocks and 1966080 inodes Filesystem UUID: c3a6ca44-e097-49d8-b8dd-0480c4d76c80 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done calculate ~ # mkfs.ext4 /dev/mapper/${HOSTNAME}-_var_calculate mke2fs 1.43.6 (29-Aug-2017) Creating filesystem with 48306176 4k blocks and 12083200 inodes Filesystem UUID: 87886fd7-e804-4611-8ffa-a6c984aa072b Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872 Allocating group tables: done Writing inode tables: done Creating journal (262144 blocks): done Writing superblocks and filesystem accounting information: done calculate ~ # mkfs.ext4 ${BOOT} mke2fs 1.43.6 (29-Aug-2017) /dev/nvme0n1p1 contains a vfat file system labelled 'BOOT' Proceed anyway? (y,N) y Discarding device blocks: done Creating filesystem with 204800 1k blocks and 51200 inodes Filesystem UUID: 6d1b3a52-9edd-43dc-beed-3cfa3ca41f76 Superblock backups stored on blocks: 8193, 24577, 40961, 57345, 73729 Allocating group tables: done Writing inode tables: done Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: done calculate ~ # fdisk -l Disk /dev/loop0: 1.9 GiB, 2018988032 bytes, 3943336 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: B127C320-F336-4105-964A-2C6F53178930 Device Start End Sectors Size Type /dev/nvme0n1p1 2048 411647 409600 200M EFI System /dev/nvme0n1p2 411648 500117503 499705856 238.3G Linux filesystem Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: A6033FBA-129B-4A69-8142-03FD593B5EEA Device Start End Sectors Size Type /dev/sda1 2048 1928171519 1928169472 919.4G Linux filesystem /dev/sda2 1928171520 1953523711 25352192 12.1G Microsoft basic data Disk /dev/sdb: 14.8 GiB, 15871246336 bytes, 30998528 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x6b8b4567 Device Boot Start End Sectors Size Id Type /dev/sdb1 * 0 4106239 4106240 2G 0 Empty /dev/sdb2 4052 4935 884 442K ef EFI (FAT-12/16/32) Disk /dev/mapper/luks-4e4d30cb-3628-4d86-bfdd-19e3c1feed80: 238.3 GiB, 255847301120 bytes, 499701760 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/calculate-swap: 24 GiB, 25769803776 bytes, 50331648 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/calculate-root: 30 GiB, 32212254720 bytes, 62914560 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/calculate-_var_calculate: 184.3 GiB, 197862096896 bytes, 386449408 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes calculate ~ # cl-install --mbr /dev/nvme0n1 -d ${BOOT}:/boot:ext4 \ > -d /dev/mapper/${HOSTNAME}-root:/:ext4 * For autopartition, please select the device. Use the parameter -D. * Error in parameter -d, --disk. The layout is not available with autopartitioning * Error in parameter --mbr. The layout is not available with autopartitioning calculate ~ # -d /dev/mapper/${HOSTNAME}-swap:swap \ > -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \ > -d /var/calculate/home:/home^C calculate ~ # cl-install --mbr /dev/nvme0n1 -d ${BOOT}:/boot:ext4 \ > -d /dev/mapper/${HOSTNAME}-root:/:ext4 \ > -d /dev/mapper/${HOSTNAME}-swap:swap \ > -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \ > -d /var/calculate/home:/home * For autopartition, please select the device. Use the parameter -D. * Error in parameter -d, --disk. The layout is not available with autopartitioning * Error in parameter --mbr. The layout is not available with autopartitioning calculate ~ # "Using backend plugin: pmlibpartedbackendplugin (1)" "Scanning devices..." getting smart status failed for "/dev/nvme0n1" : Operation not supported "Device found: Unknown" "Device found: ATA ST1000LM035-1RK1" "Device found: USB DISK 3.0" getting smart status failed for "/dev/sdb" : Operation not supported "Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)." "Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)." "Scan finished." calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # cl-install * For autopartition, please select the device. Use the parameter -D. calculate ~ # ^C calculate ~ # cl-install --help usage: cl-install [-l LOCALE] [--timezone TIMEZONE] [--iso IMAGE] [-s SYSTEM] [--march ARCH] [-U [ON/OFF]] [-p [ON/OFF]] [-S AUTOPARTOPTS] [-T TABLE] [--root-size SIZE] [--swap-size SIZE] [-D DEVICE] [-d DISK[[:MP[:FS[:FORMAT]]]]] [--uuid [ON/OFF]] [--mbr MBR] [--uefi EFI] [--scheduler SCHEDULER] [--netconf NETMANAGER] [--iface IFACE_SETTINGS] [--hostname HOSTNAME] [--ntp NTP] [--dns DNS] [--domain-search DOMAINS] [--route NETROUTE] [--root-password] [--grub-passwd [ON/OFF]] [-u USER[:ADMIN[:GROUPS]]] [-A USER] [-C [ON/OFF]] [--audio AUDIO] [--card CARD] [--video VIDEODRV] [--composite [ON/OFF]] [-X x] [--fb x] [--grub-terminal TERMINAL] [-a [ON/OFF]] [-I INTERVAL] [--clean-pkg [ON/OFF]] [-o [ON/OFF]] [-f] Language and locale: -l LOCALE, --locale LOCALE set the locale ('list' for displaying possible values) --timezone TIMEZONE set the timezone ('list' for displaying possible values) Distribution: --iso IMAGE ISO image for installation -s SYSTEM, --os SYSTEM select the operation system ('list' for displaying possible values) --march ARCH select the processor architecture ('list' for displaying possible values) -U [ON/OFF], --update [ON/OFF] install the newer image only Installation type: -p [ON/OFF], --autopartition [ON/OFF] use the autopartition (enabled by default) -S AUTOPARTOPTS, --auto-scheme AUTOPARTOPTS autopartition options ('list' for displaying possible values, 'none' is never one) -T TABLE, --partition-table TABLE set the partition table for autopartition ('list' for displaying possible values) --root-size SIZE set the root partition size for autopartition --swap-size SIZE set the swap partition size for autopartition -D DEVICE set the device for autopartition ('list' for displaying possible values, 'none' is never one) Layout: -d DISK[[:MP[:FS[:FORMAT]]]], --disk DISK[[:MP[:FS[:FORMAT]]]] DISK bound for installation will be mounted to the MP directory. To create a bind mount point, you have to specify the source directory as DISK. To change the filesystem, you have to specify it as FS. FORMAT is used for the specifying the need to format partition or not --uuid [ON/OFF] use UUID (enabled by default) --mbr MBR boot disk for the system bound for install ('list' for displaying possible values, 'none' is never one) --uefi EFI set UEFI boot disks ('list' for displaying possible values, 'none' is never one) --scheduler SCHEDULER toggle the I/O scheduler ('list' for displaying possible values) Network settings: --netconf NETMANAGER network manager ('list' for displaying possible values) --iface IFACE_SETTINGS Network interface, DHCP or IP address and network mask (example: --iface wlan0:192.168.1.1:24) --hostname HOSTNAME set either the short or the full hostname --ntp NTP set the NTP server for the system --dns DNS domain name server (comma-separated) --domain-search DOMAINS search domains (comma-separated) --route NETROUTE add a routing rule (specified as NETWORK:GATEWAY[:DEV[:SOURCE]]) Users: --root-password specify the root password --grub-passwd [ON/OFF] use root password for editing boot menu (enabled by default) -u USER[:ADMIN[:GROUPS]], --user USER[:ADMIN[:GROUPS]] add a user to the installed system. USER is username. ADMIN is administrator rights (none, all, update, none by default). GROUPS is list user supplimentary groups (comma delimeter). Use 'none' value to discard user migration -A USER, --autologin USER set an autologin for the user, 'off' for disable ('list' for displaying possible values) -C [ON/OFF], --crypt-home [ON/OFF] encrypt user profiles Audio: --audio AUDIO set the audio system ('list' for displaying possible values) --card CARD set the default audio ('list' for displaying possible values) Video: --video VIDEODRV set the video driver ('list' for displaying possible values) --composite [ON/OFF] toggle composite (enabled by default) -X x set the Xorg resolution ('list' for displaying possible values) --fb x set the framebuffer resolution ('list' for displaying possible values) --grub-terminal TERMINAL grub terminal ('list' for displaying possible values) Update: -a [ON/OFF], --autocheck [ON/OFF] automatically check updates (enabled by default) -I INTERVAL, --autocheck-interval INTERVAL set interval for the updates checking ('list' for displaying possible values) --clean-pkg [ON/OFF] clean obsolete programs archives -o [ON/OFF], --update-other [ON/OFF] update other overlays Common arguments: -f, --force silent during the process calculate ~ # cl-install --help|grep auto -p [ON/OFF], --autopartition [ON/OFF] use the autopartition (enabled by default) -S AUTOPARTOPTS, --auto-scheme AUTOPARTOPTS autopartition options ('list' for displaying possible set the partition table for autopartition ('list' for --root-size SIZE set the root partition size for autopartition --swap-size SIZE set the swap partition size for autopartition -D DEVICE set the device for autopartition ('list' for -A USER, --autologin USER set an autologin for the user, 'off' for disable -a [ON/OFF], --autocheck [ON/OFF] automatically check updates (enabled by default) -I INTERVAL, --autocheck-interval INTERVAL calculate ~ # cl-install --mbr /dev/nvme0n1 -p OFF \ > -d ${BOOT}:/boot:ext4 \ > -d /dev/mapper/${HOSTNAME}-root:/:ext4 \ > -d /dev/mapper/${HOSTNAME}-swap:swap \ > -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \ > -d /var/calculate/home:/home * Error in parameter --mbr. MBR is not used with the UEFI bootloader calculate ~ # cl-install --mbr /dev/nvme0n1 -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/homecl-install --uefi /dev/nvme0n1 -p OFF \ > -d ${BOOT}:/boot:ext4 \ > -d /dev/mapper/${HOSTNAME}-root:/:ext4 \ > -d /dev/mapper/${HOSTNAME}-swap:swap \ > -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \ > -d /var/calculate/home:/home * Error in parameter -d, --disk. Device '/dev/mapper/calculate-root' is used more than once * Error in parameter --mbr. MBR is not used with the UEFI bootloader calculate ~ # echo $HOSTNAME calculate calculate ~ # echo cl-install --uefi /dev/nvme0n1 -p OFF \ > -d ${BOOT}:/boot:ext4 \ > -d /dev/mapper/${HOSTNAME}-root:/:ext4 \ > -d /dev/mapper/${HOSTNAME}-swap:swap \ > -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \ > -d /var/calculate/home:/home cl-install --uefi /dev/nvme0n1 -p OFF -d /dev/nvme0n1p1:/boot:ext4 -d /dev/mapper/calculate-root:/:ext4 -d /dev/mapper/calculate-swap:swap -d /dev/mapper/calculate-_var_calculate:/var/calculate -d /var/calculate/home:/home calculate ~ # echo cl-install --uefi /dev/nvme0n1 -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home cl-install --uefi /dev/nvme0n1 -p OFF -d /dev/nvme0n1p1:/boot:ext4 -d /dev/mapper/calculate-root:/:ext4 -d /dev/mapper/calculate-swap:swap -d /dev/mapper/calculate-_var_calculate:/var/calculate -d /var/calculate/home:/home calculate ~ # cl-install --uefi /dev/nvme0n1 -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # cl-install --uefi list -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home UEFI boot values: [/dev/nvme0n1p1] /dev/nvme0n1 (SAMSUNG MZVLW256HEHP-000H1) * calculate ~ # cl-install --uefi /dev/nvme0n1p1 -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # cl-install --uefi -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home usage: cl-install [-l LOCALE] [--timezone TIMEZONE] [--iso IMAGE] [-s SYSTEM] [--march ARCH] [-U [ON/OFF]] [-p [ON/OFF]] [-S AUTOPARTOPTS] [-T TABLE] [--root-size SIZE] [--swap-size SIZE] [-D DEVICE] [-d DISK[[:MP[:FS[:FORMAT]]]]] [--uuid [ON/OFF]] [--mbr MBR] [--uefi EFI] [--scheduler SCHEDULER] [--netconf NETMANAGER] [--iface IFACE_SETTINGS] [--hostname HOSTNAME] [--ntp NTP] [--dns DNS] [--domain-search DOMAINS] [--route NETROUTE] [--root-password] [--grub-passwd [ON/OFF]] [-u USER[:ADMIN[:GROUPS]]] [-A USER] [-C [ON/OFF]] [--audio AUDIO] [--card CARD] [--video VIDEODRV] [--composite [ON/OFF]] [-X x] [--fb x] [--grub-terminal TERMINAL] [-a [ON/OFF]] [-I INTERVAL] [--clean-pkg [ON/OFF]] [-o [ON/OFF]] [-f] cl-install: error: argument --uefi: expected one argument calculate ~ # cl-install --uefi /dev/nvme0n1 -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # cl-install --uefi /dev/nvme0n1p1 -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # cl-install --uefi on -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter --uefi. Wrong EFI device on calculate ~ # mkfs.fat32 ${BOOT} -su: mkfs.fat32: command not found calculate ~ # mkfs. ${BOOT} mkfs.bfs mkfs.cramfs mkfs.ext2 mkfs.ext4 mkfs.minix mkfs.reiserfs mkfs.xfs mkfs.btrfs mkfs.exfat mkfs.ext3 mkfs.fat mkfs.ntfs mkfs.vfat calculate ~ # mkfs. ${BOOT} mkfs.bfs mkfs.cramfs mkfs.ext2 mkfs.ext4 mkfs.minix mkfs.reiserfs mkfs.xfs mkfs.btrfs mkfs.exfat mkfs.ext3 mkfs.fat mkfs.ntfs mkfs.vfat calculate ~ # mkfs.fat ${BOOT} mkfs.fat 4.0 (2016-05-06) calculate ~ # "Using backend plugin: pmlibpartedbackendplugin (1)" "Scanning devices..." getting smart status failed for "/dev/nvme0n1" : Operation not supported "Device found: Unknown" "Device found: ATA ST1000LM035-1RK1" "Device found: USB DISK 3.0" getting smart status failed for "/dev/sdb" : Operation not supported "Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)." "Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)." "Scan finished." calculate ~ # calculate ~ # cl-install --uefi on -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter --uefi. Wrong EFI device on calculate ~ # cl-install --uefi list -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home UEFI boot values: [/dev/nvme0n1p1] /dev/nvme0n1 (SAMSUNG MZVLW256HEHP-000H1) * calculate ~ # cl-install --uefi /dev/nvme0n1p1 -p OFF -d ${BOOT}:/boot:ext4 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # cl-install --uefi /dev/nvme0n1p1 -p OFF -d ${BOOT}:/boot:fat -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter -d, --disk. Values for variable 'Filesystem' may be '', btrfs, ntfs-3g, ext4, reiserfs, xfs, ntfs, ext3, ext2, uefi, vfat, jfs or swap only * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # calculate ~ # cl-install --uefi /dev/nvme0n1p1 -p OFF -d ${BOOT}:/boot:vfat -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter -d, --disk. The filesystem for '/boot' should not be 'vfat' for hdd install * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # cl-install --mbr /dev/nvme0n1 -p OFF -d ${BOOT}:/boot:vfat -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter -d, --disk. The filesystem for '/boot' should not be 'vfat' for hdd install * Error in parameter --mbr. MBR is not used with the UEFI bootloader calculate ~ # cl-install --uefi /dev/nvme0n1 -p OFF \ > -d ${BOOT}:/boot:EFI \ > -d /dev/mapper/${HOSTNAME}-root:/:ext4 \ > -d /dev/mapper/${HOSTNAME}-swap:swap \ > -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \ > -d /var/calculate/home:/home * Error in parameter -d, --disk. Values for variable 'Filesystem' may be '', btrfs, ntfs-3g, ext4, reiserfs, xfs, ntfs, ext3, ext2, uefi, vfat, jfs or swap only * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # cl-install --uefi /dev/nvme0n1p1 -p OFF -d ${BOOT}:/boot:EFI -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter -d, --disk. Values for variable 'Filesystem' may be '', btrfs, ntfs-3g, ext4, reiserfs, xfs, ntfs, ext3, ext2, uefi, vfat, jfs or swap only * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # cl-install --uefi list -p OFF -d ${BOOT}:/boot:EFI -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter -d, --disk. Values for variable 'Filesystem' may be '', btrfs, ntfs-3g, ext4, reiserfs, xfs, ntfs, ext3, ext2, uefi, vfat, jfs or swap only UEFI boot values: [/dev/nvme0n1p1] /dev/nvme0n1 (SAMSUNG MZVLW256HEHP-000H1) * calculate ~ # cl-install --uefi /dev/nvme0n1 -p OFF -d ${BOOT}:/boot:EFI -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter -d, --disk. Values for variable 'Filesystem' may be '', btrfs, ntfs-3g, ext4, reiserfs, xfs, ntfs, ext3, ext2, uefi, vfat, jfs or swap only * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # calculate ~ # calculate ~ # cl-install -p OFF -d ${BOOT}:/boot:EFI -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter -d, --disk. Values for variable 'Filesystem' may be '', btrfs, ntfs-3g, ext4, reiserfs, xfs, ntfs, ext3, ext2, uefi, vfat, jfs or swap only calculate ~ # echo cl-install -p OFF -d ${BOOT}:/boot:EFI -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home cl-install -p OFF -d /dev/nvme0n1p1:/boot:EFI -d /dev/mapper/calculate-root:/:ext4 -d /dev/mapper/calculate-swap:swap -d /dev/mapper/calculate-_var_calculate:/var/calculate -d /var/calculate/home:/home calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # calculate ~ # cl-install -p OFF -d ${BOOT}:EFI -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter -d, --disk. Wrong mount point 'EFI' calculate ~ # cl-install -p OFF --uefi /dev/nvme0n1 -d ${BOOT}:EFI -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter -d, --disk. Wrong mount point 'EFI' * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # echo $BOOT /dev/nvme0n1p1 calculate ~ # cl-install -p OFF --uefi on -d ${BOOT}:EFI -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter -d, --disk. Wrong mount point 'EFI' * Error in parameter --uefi. Wrong EFI device on calculate ~ # cl-install -p OFF --uefi /dev/nvme0n1 -d ${BOOT}:EFI -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home * Error in parameter -d, --disk. Wrong mount point 'EFI' * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation calculate ~ # cl-install -p OFF --uefi /dev/nvme0n1 -d /dev/mapper/${HOSTNAME}-root:/:ext4 -d /dev/mapper/${HOSTNAME}-swap:swap -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate -d /var/calculate/home:/home Password for user guest missing Password: Repeat: Password for user root missing Password: Repeat: Language and locale * Locale: English (United States) * Timezone: UTC (+00:00) Distribution * Installation image: Calculate Linux Desktop KDE 17.12 x86_64 20171229 Installation type * Allocate drive space: Use the current partitions Layout * UEFI boot: /dev/nvme0n1 (SAMSUNG MZVLW256HEHP-000H1) * Mount points: +------------------------------+---------------+----------+------+-----+ | Disk or directory | Mount point |Filesystem|Format|Size | +------------------------------+---------------+----------+------+-----+ | /dev/calculate/_var_calculate| /var/calculate| ext4 | no | | | /dev/calculate/root | / | ext4 | yes | | | /dev/calculate/swap | swap | swap | no | | | /dev/nvme0n1p1 | /boot/efi | vfat | no | 200M| | /var/calculate/home | /home | | | | +------------------------------+---------------+----------+------+-----+ * Bootloader: UEFI * Use UUID: yes * I/O scheduler: CFQ Network settings * Network manager: NetworkManager * Addresses: +---------+----------+--------------+---------------+------------------+ |Interface|IP address| Mask | Name | MAC | +---------+----------+--------------+---------------+------------------+ | wlan0 | DHCP | 255.255.255.0| Intel Wireless| c8:21:58:31:d1:f2| +---------+----------+--------------+---------------+------------------+ * Hostname: calculate.local * NTP server: ntp0.zenon.net * Domain name server: Get via DHCP * Search domains: Get via DHCP Users * Migrating users: +------+-------------+---------------------------------------------------------------------------+ | User |Administrator| Groups | +------+-------------+---------------------------------------------------------------------------+ | guest| Full access | audio,cdrom,cdrw,games,guest,lp,plugdev,scanner,usb,users,uucp,video,wheel| +------+-------------+---------------------------------------------------------------------------+ * Use root password for editing boot menu: yes * Autologin: Not used * Encrypt user profiles: no Audio * Audio system: PulseAudio * Default audio card: HDA Intel PCH, CX8200 Analog Video * Video driver: Intel (intel) * Composite: yes * Screen resolution: 3840x2160 * Framebuffer resolution: 3840x2160 * Grub terminal: gfxterm Update * Automatically check updates: yes * Interval for the updates checking: 24h * Clean obsolete programs archives: no * Update other overlays: no Run process? (Yes/No): yes * Formatting the partitions ... [ ok ] * Unpacking the system image to the target ... [ ok ] * Copying clt templates to the new system ... [ ok ] * Updating the configuration ... * Configuring the grub * Post-install configuration ... [ ok ] * Migrating users ... [ ok ] * Preparing the system for reboot ... * Failed to install the bootloader * Unmounting the target system volume ... [ ok ] * Failed to install the system! calculate ~ # calculate ~ # mkdir /tmp/newroot calculate ~ # mount -v /dev/mapper/${HOSTNAME}-root /tmp/newroot/ mount: /dev/mapper/calculate-root mounted on /tmp/newroot. calculate ~ # mount -v /dev/mapper/${HOSTNAME}-_var_calculate /tmp/newroot/var/calculate/ mount: /dev/mapper/calculate-_var_calculate mounted on /tmp/newroot/var/calculate. calculate ~ # mount -v ${BOOT} /tmp/newroot/boot/ mount: /dev/nvme0n1p1 mounted on /tmp/newroot/boot. calculate ~ # for d in /dev{,/shm,/pts} /sys /proc ; do > mount --bind -v $d /tmp/newroot$d > done mount: /dev bound on /tmp/newroot/dev. mount: /dev/shm bound on /tmp/newroot/dev/shm. mount: /dev/pts bound on /tmp/newroot/dev/pts. mount: /sys bound on /tmp/newroot/sys. mount: /proc bound on /tmp/newroot/proc. calculate ~ # echo 'add_dracutmodules+=" crypt"' > /tmp/newroot/etc/dracut.conf.d/10-crypt.conf calculate ~ # ls /tmp/newroot bin boot dev etc home lib lib32 lib64 lost+found mnt opt proc root run sbin sys system-config-printer tmp usr var calculate ~ # chroot /tmp/newroot /bin/bash <<< 'source /etc/profile && emerge -vt sys-fs/cryptsetup && dracut --force' * IMPORTANT: 4 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. These are the packages that would be merged, in reverse order: Calculating dependencies... done! [binary R ] sys-fs/cryptsetup-1.7.5::gentoo USE="gcrypt nls python udev -kernel -libressl -nettle -openssl -pwquality -reencrypt -static -static-libs -urandom" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 393 KiB Total: 1 package (1 reinstall, 1 binary), Size of downloads: 393 KiB >>> Emerging binary (1 of 1) sys-fs/cryptsetup-1.7.5::gentoo >>> Installing (1 of 1) sys-fs/cryptsetup-1.7.5::gentoo >>> Jobs: 1 of 1 complete Load avg: 0.83, 1.70, 1.57 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * IMPORTANT: 4 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. dracut: Executing: /usr/bin/dracut --force dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found! dracut: dracut module 'dash' will not be installed, because command '/bin/dash' could not be found! dracut: dracut module 'plymouth' will not be installed, because it's in the list to be omitted! dracut: dracut module 'multipath' will not be installed, because it's in the list to be omitted! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsistart' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: dracut module 'biosdevname' will not be installed, because it's in the list to be omitted! dracut: *** Including module: bash *** dracut: *** Including module: caps *** dracut: *** Including module: modsign *** dracut: *** Including module: i18n *** dracut: *** Including module: video *** dracut: *** Including module: network *** dracut: *** Including module: gensplash *** dracut: Installing Gentoo Splash (using the calculate calculate_shutdown theme) dracut: *** Including module: calculate *** dracut: *** Including module: btrfs *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: dmraid *** dracut: *** Including module: dmsquash-live *** dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: lvm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 56-lvm.rules dracut: Skipping udev rule: 60-persistent-storage-lvm.rules dracut: *** Including module: mdraid *** dracut: Skipping udev rule: 64-md-raid.rules dracut: *** Including module: cifs *** dracut: *** Including module: nfs *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: tuxonice *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 40-redhat.rules dracut: Skipping udev rule: 50-firmware.rules dracut: Skipping udev rule: 50-udev.rules dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: img-lib *** dracut: *** Including module: shutdown *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies and firmware *** dracut: *** Installing kernel module dependencies and firmware done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done*** dracut: *** Stripping files *** dracut: *** Stripping files done *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-4.14.9-calculate.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-4.14.9-calculate.img' done *** calculate ~ # (reverse-i-search)`d': chroot /tmp/newroot /bin/bash <<< 'source /etc/profile && emerge -vt sys-fs/cryptsetup && ^Cacut --force' (failed reverse-i-search)`sda111': BOOT=/dev/^Ca1 calculate ~ # mkfs.ext4 /dev/sda1 mke2fs 1.43.6 (29-Aug-2017) /dev/sda1 contains a vfat file system Proceed anyway? (y,N) y /dev/sda1 is mounted; will not make a filesystem here! calculate ~ # umount /dev/sda1 calculate ~ # mkfs.ext4 /dev/sda1 mke2fs 1.43.6 (29-Aug-2017) /dev/sda1 contains a vfat file system Proceed anyway? (y,N) y Creating filesystem with 241021184 4k blocks and 60260352 inodes Filesystem UUID: fd4ac76e-0cdb-4f03-9ad4-2337bc041c0e Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848 Allocating group tables: done Writing inode tables: done Creating journal (262144 blocks): done Writing superblocks and filesystem accounting information: done calculate ~ # mount proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) devtmpfs on /dev type devtmpfs (rw,nosuid,size=10240k,nr_inodes=2030633,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec) tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,mode=755) /dev/sdb1 on /run/initramfs/live type udf (ro,relatime,utf8) /dev/loop0 on /run/initramfs/squashfs type squashfs (ro,relatime) none on / type overlay (rw,relatime,lowerdir=/run/initramfs/squashfs,upperdir=/run/initramfs/workspace,workdir=/run/initramfs/workspace-workdir,index=off) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,relatime) cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755) openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc) none on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu) cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct) blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) devices on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) net_cls on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls) perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) pids on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) none on /sys/fs/fuse/connections type fusectl (rw,relatime) none on /run/user/1000 type tmpfs (rw,relatime,mode=700,uid=1000) none on /run/user/0 type tmpfs (rw,relatime,mode=700) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) /dev/mapper/calculate-root on /tmp/newroot type ext4 (rw,relatime,data=ordered) /dev/mapper/calculate-_var_calculate on /tmp/newroot/var/calculate type ext4 (rw,relatime,data=ordered) /dev/nvme0n1p1 on /tmp/newroot/boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=866,iocharset=utf8,shortname=mixed,utf8,errors=remount-ro) devtmpfs on /tmp/newroot/dev type devtmpfs (rw,nosuid,size=10240k,nr_inodes=2030633,mode=755) shm on /tmp/newroot/dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime) devpts on /tmp/newroot/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) sysfs on /tmp/newroot/sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /tmp/newroot/proc type proc (rw,relatime) /dev/sda1 on /run/media/guest/fd4ac76e-0cdb-4f03-9ad4-2337bc041c0e type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) calculate ~ # chmod a+w //run/media/guest/fd4ac76e-0cdb-4f03-9ad4-2337bc041c0e calculate ~ # chmod a+w /run/media/guest/fd4ac76e-0cdb-4f03-9ad4-2337bc041c0e calculate ~ #