install_console_history.txt

Nadir Boussoukaia, 02/03/2018 03:17 pm

Download (54.2 KB)

 
1
"Scanning devices..."
2
getting smart status failed for  "/dev/nvme0n1" :  Operation not supported
3
"Device found: Unknown"
4
blkid: unknown file system type  ""  on  "/dev/nvme0n1p3"
5
"Partition ‘/dev/nvme0n1p1’ is not properly aligned (last sector: 32723247, modulo: 304)."
6
"Device found: ATA ST1000LM035-1RK1"
7
"Device found:  USB DISK 3.0"
8
getting smart status failed for  "/dev/sdb" :  Operation not supported
9
"Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)."
10
"Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)."
11
"Scan finished."
12
is
13
^C
14
calculate ~ # 
15
calculate ~ # 
16
calculate ~ # 
17
calculate ~ # history 
18
    1  emerge -vt cryptsetup 
19
    2  fdisk -l
20
    3  HOSTNAME=$(pwgen -0A $(( 4 + (RANDOM%3) )) )
21
    4  BOOT=/dev/sda1
22
    5* LUKS=/dev/sda
23
    6  LUKS=/dev/nvme0n1p2
24
    7  BOOT=/dev/nvme0n1p4 
25
    8  lukspw=nichon
26
    9  cryptsetup luksFormat $LUKS
27
   10  LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' )
28
   11  echo $LUKS_UUID 
29
   12  cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 
30
   13  cryptsetup luksFormat $LUKS
31
   14  pwd
32
   15  mount
33
   16  umount /dev/nvme0n1p2 
34
   17  cryptsetup luksFormat $LUKS
35
   18  cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 
36
   19  SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 
37
   20  pvcreate "${SYSDEV}" 
38
   21  vgcreate "${HOSTNAME}" "${SYSDEV}" 
39
   22  SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 
40
   23  echo $SYSDEV 
41
   24  ls -al /dev/mapper/
42
   25  pvcreate "${SYSDEV}" 
43
   26* echo "calculate" "${SYSDEV}" 
44
   27  vgcreate --help
45
   28  HOSTNAME=calculate; vgcreate "${HOSTNAME}" "${SYSDEV}" 
46
   29  lvcreate -n swap -L 16G "${HOSTNAME}"
47
   30  fdisk -l
48
   31  umount "${SYSDEV}" 
49
   32  cryptsetup luksClose "${LUKS}" "luks-${LUKS_UUID}" 
50
   33  partitionmanager 
51
   34  history 
52
calculate ~ # vg
53
vgcfgbackup    vgchange       vgconvert      vgdisplay      vgextend       vgimportclone  vgmknodes      vgremove       vgs            vgsplit
54
vgcfgrestore   vgck           vgcreate       vgexport       vgimport       vgmerge        vgreduce       vgrename       vgscan         
55
calculate ~ # vg
56
vgcfgbackup    vgchange       vgconvert      vgdisplay      vgextend       vgimportclone  vgmknodes      vgremove       vgs            vgsplit
57
vgcfgrestore   vgck           vgcreate       vgexport       vgimport       vgmerge        vgreduce       vgrename       vgscan         
58
calculate ~ # vgrem^C
59
calculate ~ # HOSTNAME=calculate; vgremove "${HOSTNAME}" "${SYSDEV}"                      
60
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
61
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
62
  skip_dev_dir: Couldn't split up device name luks-29681f1a-307e-4b68-943c-25060fc3f853.
63
  Volume group "calculate" successfully removed
64
  Volume group "luks-29681f1a-307e-4b68-943c-25060fc3f853" not found
65
  Cannot process volume group luks-29681f1a-307e-4b68-943c-25060fc3f853
66
calculate ~ # partitionmanager &
67
[1] 27984
68
calculate ~ # Loaded backend plugin:  "pmlibpartedbackendplugin"
69
"Using backend plugin: pmlibpartedbackendplugin (1)"
70
"Scanning devices..."
71
getting smart status failed for  "/dev/nvme0n1" :  Operation not supported
72
"Device found: Unknown"
73
blkid: unknown file system type  ""  on  "/dev/nvme0n1p3"
74
"Partition ‘/dev/nvme0n1p1’ is not properly aligned (last sector: 32723247, modulo: 304)."
75
"Device found: ATA ST1000LM035-1RK1"
76
"Device found:  USB DISK 3.0"
77
getting smart status failed for  "/dev/sdb" :  Operation not supported
78
"Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)."
79
"Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)."
80
"Scan finished."
81
82
calculate ~ # 
83
calculate ~ # 
84
calculate ~ # partitionmanager &^C
85
(reverse-i-search)`pv': ^Ccreate "${SYSDEV}" 
86
calculate ~ # pv        
87
pv         pvchange   pvck       pvcreate   pvdisplay  pvmove     pvremove   pvresize   pvs        pvscan     
88
calculate ~ # pv
89
pv         pvchange   pvck       pvcreate   pvdisplay  pvmove     pvremove   pvresize   pvs        pvscan     
90
calculate ~ # pvremove "${SYSDEV}" 
91
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
92
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
93
  Labels on physical volume "/dev/mapper/luks-29681f1a-307e-4b68-943c-25060fc3f853" successfully wiped.
94
calculate ~ # "Using backend plugin: pmlibpartedbackendplugin (1)"
95
"Scanning devices..."
96
"Device found: Unknown"
97
getting smart status failed for  "/dev/nvme0n1" :  Operation not supported
98
blkid: unknown file system type  ""  on  "/dev/nvme0n1p3"
99
"Partition ‘/dev/nvme0n1p1’ is not properly aligned (last sector: 32723247, modulo: 304)."
100
"Device found: ATA ST1000LM035-1RK1"
101
"Device found:  USB DISK 3.0"
102
getting smart status failed for  "/dev/sdb" :  Operation not supported
103
"Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)."
104
"Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)."
105
"Scan finished."
106
"Add operation: Delete partition ‘/dev/nvme0n1p2’ (15.00 GiB, luks)"
107
"Add operation: Delete partition ‘/dev/nvme0n1p1’ (15.60 GiB, linuxswap)"
108
"Add operation: Delete partition ‘/dev/nvme0n1p3’ (15.00 GiB, unknown)"
109
"Add operation: Create a new partition (200.00 MiB, fat32) on ‘/dev/nvme0n1’"
110
"Add operation: Delete partition ‘/dev/nvme0n1p4’ (200.00 MiB, fat32)"
111
libva info: VA-API version 0.39.4
112
libva info: va_getDriverName() returns 0
113
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
114
libva info: Found init function __vaDriverInit_0_39
115
libva info: va_openDriver() returns 0
116
Aborting aboutToFinish handling.
117
"Applying operations..."
118
"Using backend plugin: pmlibpartedbackendplugin (1)"
119
"Scanning devices..."
120
getting smart status failed for  "/dev/nvme0n1" :  Operation not supported
121
"Device found: Unknown"
122
"Device found: ATA ST1000LM035-1RK1"
123
"Device found:  USB DISK 3.0"
124
getting smart status failed for  "/dev/sdb" :  Operation not supported
125
"Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)."
126
"Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)."
127
"Scan finished."
128
"Add operation: Set flags for partition ‘/dev/nvme0n1p1’ to \"boot,msft-data,esp\""
129
"Applying operations..."
130
"Using backend plugin: pmlibpartedbackendplugin (1)"
131
"Scanning devices..."
132
getting smart status failed for  "/dev/nvme0n1" :  Operation not supported
133
"Device found: Unknown"
134
"Device found: ATA ST1000LM035-1RK1"
135
"Device found:  USB DISK 3.0"
136
getting smart status failed for  "/dev/sdb" :  Operation not supported
137
"Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)."
138
"Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)."
139
"Scan finished."
140
141
calculate ~ # 
142
calculate ~ # 
143
calculate ~ # 
144
calculate ~ # 
145
calculate ~ # history 
146
    1  emerge -vt cryptsetup 
147
    2  fdisk -l
148
    3  HOSTNAME=$(pwgen -0A $(( 4 + (RANDOM%3) )) )
149
    4  BOOT=/dev/sda1
150
    5* LUKS=/dev/sda
151
    6  LUKS=/dev/nvme0n1p2
152
    7  BOOT=/dev/nvme0n1p4 
153
    8  lukspw=nichon
154
    9  cryptsetup luksFormat $LUKS
155
   10  LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' )
156
   11  echo $LUKS_UUID 
157
   12  cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 
158
   13  cryptsetup luksFormat $LUKS
159
   14  pwd
160
   15  mount
161
   16  umount /dev/nvme0n1p2 
162
   17  cryptsetup luksFormat $LUKS
163
   18  cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 
164
   19  SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 
165
   20  pvcreate "${SYSDEV}" 
166
   21  vgcreate "${HOSTNAME}" "${SYSDEV}" 
167
   22  SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 
168
   23  echo $SYSDEV 
169
   24  ls -al /dev/mapper/
170
   25  pvcreate "${SYSDEV}" 
171
   26* echo "calculate" "${SYSDEV}" 
172
   27  vgcreate --help
173
   28  HOSTNAME=calculate; vgcreate "${HOSTNAME}" "${SYSDEV}" 
174
   29  lvcreate -n swap -L 16G "${HOSTNAME}"
175
   30  fdisk -l
176
   31  umount "${SYSDEV}" 
177
   32  cryptsetup luksClose "${LUKS}" "luks-${LUKS_UUID}" 
178
   33  partitionmanager 
179
   34  history 
180
   35  HOSTNAME=calculate; vgremove "${HOSTNAME}" "${SYSDEV}" 
181
   36  partitionmanager &
182
   37  pvremove "${SYSDEV}" 
183
   38  history 
184
calculate ~ # !9
185
cryptsetup luksFormat $LUKS
186
187
WARNING!
188
========
189
This will overwrite data on /dev/nvme0n1p2 irrevocably.
190
191
Are you sure? (Type uppercase yes): Y   
192
calculate ~ # BOOT=/dev/nvme0n1p1
193
calculate ~ # "Add operation: Create a new partition (238.28 GiB, ext4) on ‘/dev/nvme0n1’"
194
"Applying operations..."
195
"Using backend plugin: pmlibpartedbackendplugin (1)"
196
"Scanning devices..."
197
getting smart status failed for  "/dev/nvme0n1" :  Operation not supported
198
"Device found: Unknown"
199
"Device found: ATA ST1000LM035-1RK1"
200
"Device found:  USB DISK 3.0"
201
getting smart status failed for  "/dev/sdb" :  Operation not supported
202
"Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)."
203
"Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)."
204
"Scan finished."
205
206
calculate ~ # 
207
calculate ~ # 
208
calculate ~ # BOOT=/dev/nvme0n1p1^C      
209
(reverse-i-search)`LUK': cryptsetup luksOpen "${^CKS}" "luks-${LUKS_UUID}" <<< "${lukspw}"             
210
calculate ~ # ²LUKS=/dev/nvme0n1p2
211
-su: ²LUKS=/dev/nvme0n1p2: No such file or directory
212
calculate ~ # LUKS=/dev/nvme0n1p2 
213
calculate ~ # !9
214
cryptsetup luksFormat $LUKS
215
216
WARNING!
217
========
218
This will overwrite data on /dev/nvme0n1p2 irrevocably.
219
220
Are you sure? (Type uppercase yes): YES
221
Enter passphrase: 
222
Verify passphrase: 
223
calculate ~ # history 
224
    1  emerge -vt cryptsetup 
225
    2  fdisk -l
226
    3  HOSTNAME=$(pwgen -0A $(( 4 + (RANDOM%3) )) )
227
    4  BOOT=/dev/sda1
228
    5* LUKS=/dev/sda
229
    6  LUKS=/dev/nvme0n1p2
230
    7  BOOT=/dev/nvme0n1p4 
231
    8  lukspw=nichon
232
    9  cryptsetup luksFormat $LUKS
233
   10  LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' )
234
   11  echo $LUKS_UUID 
235
   12  cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 
236
   13  cryptsetup luksFormat $LUKS
237
   14  pwd
238
   15  mount
239
   16  umount /dev/nvme0n1p2 
240
   17  cryptsetup luksFormat $LUKS
241
   18  cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 
242
   19  SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 
243
   20  pvcreate "${SYSDEV}" 
244
   21  vgcreate "${HOSTNAME}" "${SYSDEV}" 
245
   22  SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 
246
   23  echo $SYSDEV 
247
   24  ls -al /dev/mapper/
248
   25  pvcreate "${SYSDEV}" 
249
   26* echo "calculate" "${SYSDEV}" 
250
   27  vgcreate --help
251
   28  HOSTNAME=calculate; vgcreate "${HOSTNAME}" "${SYSDEV}" 
252
   29  lvcreate -n swap -L 16G "${HOSTNAME}"
253
   30  fdisk -l
254
   31  umount "${SYSDEV}" 
255
   32  cryptsetup luksClose "${LUKS}" "luks-${LUKS_UUID}" 
256
   33  partitionmanager 
257
   34  history 
258
   35  HOSTNAME=calculate; vgremove "${HOSTNAME}" "${SYSDEV}" 
259
   36  partitionmanager &
260
   37  pvremove "${SYSDEV}" 
261
   38  history 
262
   39  cryptsetup luksFormat $LUKS
263
   40  BOOT=/dev/nvme0n1p1
264
   41  ²LUKS=/dev/nvme0n1p2
265
   42  LUKS=/dev/nvme0n1p2
266
   43  cryptsetup luksFormat $LUKS
267
   44  history 
268
calculate ~ # !10
269
LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' )
270
calculate ~ # !11
271
echo $LUKS_UUID 
272
4e4d30cb-3628-4d86-bfdd-19e3c1feed80
273
calculate ~ # !12
274
cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 
275
calculate ~ # !13
276
cryptsetup luksFormat $LUKS
277
278
WARNING!
279
========
280
This will overwrite data on /dev/nvme0n1p2 irrevocably.
281
282
Are you sure? (Type uppercase yes): n  
283
calculate ~ # history 
284
    1  emerge -vt cryptsetup 
285
    2  fdisk -l
286
    3  HOSTNAME=$(pwgen -0A $(( 4 + (RANDOM%3) )) )
287
    4  BOOT=/dev/sda1
288
    5* LUKS=/dev/sda
289
    6  LUKS=/dev/nvme0n1p2
290
    7  BOOT=/dev/nvme0n1p4 
291
    8  lukspw=nichon
292
    9  cryptsetup luksFormat $LUKS
293
   10  LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' )
294
   11  echo $LUKS_UUID 
295
   12  cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 
296
   13  cryptsetup luksFormat $LUKS
297
   14  pwd
298
   15  mount
299
   16  umount /dev/nvme0n1p2 
300
   17  cryptsetup luksFormat $LUKS
301
   18  cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 
302
   19  SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 
303
   20  pvcreate "${SYSDEV}" 
304
   21  vgcreate "${HOSTNAME}" "${SYSDEV}" 
305
   22  SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 
306
   23  echo $SYSDEV 
307
   24  ls -al /dev/mapper/
308
   25  pvcreate "${SYSDEV}" 
309
   26* echo "calculate" "${SYSDEV}" 
310
   27  vgcreate --help
311
   28  HOSTNAME=calculate; vgcreate "${HOSTNAME}" "${SYSDEV}" 
312
   29  lvcreate -n swap -L 16G "${HOSTNAME}"
313
   30  fdisk -l
314
   31  umount "${SYSDEV}" 
315
   32  cryptsetup luksClose "${LUKS}" "luks-${LUKS_UUID}" 
316
   33  partitionmanager 
317
   34  history 
318
   35  HOSTNAME=calculate; vgremove "${HOSTNAME}" "${SYSDEV}" 
319
   36  partitionmanager &
320
   37  pvremove "${SYSDEV}" 
321
   38  history 
322
   39  cryptsetup luksFormat $LUKS
323
   40  BOOT=/dev/nvme0n1p1
324
   41  ²LUKS=/dev/nvme0n1p2
325
   42  LUKS=/dev/nvme0n1p2
326
   43  cryptsetup luksFormat $LUKS
327
   44  history 
328
   45  LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' )
329
   46  echo $LUKS_UUID 
330
   47  cryptsetup luksOpen "${LUKS}" "luks-${LUKS_UUID}" <<< "${lukspw}" 
331
   48  cryptsetup luksFormat $LUKS
332
   49  history 
333
calculate ~ # cryptsetup luksFormat $LUKS
334
335
WARNING!
336
========
337
This will overwrite data on /dev/nvme0n1p2 irrevocably.
338
339
Are you sure? (Type uppercase yes): YES
340
Enter passphrase: 
341
Verify passphrase: 
342
Cannot format device /dev/nvme0n1p2 which is still in use.
343
calculate ~ # !22
344
SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 
345
calculate ~ # !10
346
LUKS_UUID=$( blkid $LUKS -o udev | sed -nre 's/^ID_FS_UUID=(\S+)$/\1/p' )
347
calculate ~ # !22
348
SYSDEV="/dev/mapper/luks-${LUKS_UUID}" 
349
calculate ~ # !20
350
pvcreate "${SYSDEV}" 
351
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
352
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
353
  Physical volume "/dev/mapper/luks-4e4d30cb-3628-4d86-bfdd-19e3c1feed80" successfully created.
354
calculate ~ # HOSTNAME=calculate
355
calculate ~ # !21
356
vgcreate "${HOSTNAME}" "${SYSDEV}" 
357
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
358
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
359
  Volume group "calculate" successfully created
360
calculate ~ # lvcreate -n swap -L 24G "${HOSTNAME}"
361
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
362
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
363
  Logical volume "swap" created.
364
calculate ~ # lvcreate -n root -L 30G "${HOSTNAME}"      
365
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
366
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
367
  Logical volume "root" created.
368
calculate ~ # lvcreate -n _var_calculate -l 100%FREE "${HOSTNAME}"  
369
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
370
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
371
  Logical volume "_var_calculate" created.
372
calculate ~ # 
373
calculate ~ # mkswap /dev/mapper/${HOSTNAME}-swap
374
Setting up swapspace version 1, size = 24 GiB (25769799680 bytes)
375
no label, UUID=f3b0c39e-393c-4a58-8ec8-f577701627ae
376
calculate ~ # swapon /dev/mapper/${HOSTNAME}-swap
377
calculate ~ # swapon
378
NAME      TYPE      SIZE USED PRIO
379
/dev/dm-1 partition  24G   0B   -2
380
calculate ~ # mkfs.ext4 /dev/mapper/${HOSTNAME}-root
381
mke2fs 1.43.6 (29-Aug-2017)
382
Creating filesystem with 7864320 4k blocks and 1966080 inodes
383
Filesystem UUID: c3a6ca44-e097-49d8-b8dd-0480c4d76c80
384
Superblock backups stored on blocks: 
385
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
386
        4096000
387
388
Allocating group tables: done                            
389
Writing inode tables: done                            
390
Creating journal (32768 blocks): done
391
Writing superblocks and filesystem accounting information: done   
392
393
calculate ~ # mkfs.ext4 /dev/mapper/${HOSTNAME}-_var_calculate
394
mke2fs 1.43.6 (29-Aug-2017)
395
Creating filesystem with 48306176 4k blocks and 12083200 inodes
396
Filesystem UUID: 87886fd7-e804-4611-8ffa-a6c984aa072b
397
Superblock backups stored on blocks: 
398
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
399
        4096000, 7962624, 11239424, 20480000, 23887872
400
401
Allocating group tables: done                            
402
Writing inode tables: done                            
403
Creating journal (262144 blocks): done
404
Writing superblocks and filesystem accounting information: done     
405
406
calculate ~ # mkfs.ext4 ${BOOT}
407
mke2fs 1.43.6 (29-Aug-2017)
408
/dev/nvme0n1p1 contains a vfat file system labelled 'BOOT'
409
Proceed anyway? (y,N) y
410
Discarding device blocks: done                            
411
Creating filesystem with 204800 1k blocks and 51200 inodes
412
Filesystem UUID: 6d1b3a52-9edd-43dc-beed-3cfa3ca41f76
413
Superblock backups stored on blocks: 
414
        8193, 24577, 40961, 57345, 73729
415
416
Allocating group tables: done                            
417
Writing inode tables: done                            
418
Creating journal (4096 blocks): done
419
Writing superblocks and filesystem accounting information: done 
420
421
calculate ~ # fdisk -l
422
Disk /dev/loop0: 1.9 GiB, 2018988032 bytes, 3943336 sectors
423
Units: sectors of 1 * 512 = 512 bytes
424
Sector size (logical/physical): 512 bytes / 512 bytes
425
I/O size (minimum/optimal): 512 bytes / 512 bytes
426
427
428
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
429
Units: sectors of 1 * 512 = 512 bytes
430
Sector size (logical/physical): 512 bytes / 512 bytes
431
I/O size (minimum/optimal): 512 bytes / 512 bytes
432
Disklabel type: gpt
433
Disk identifier: B127C320-F336-4105-964A-2C6F53178930
434
435
Device          Start       End   Sectors   Size Type
436
/dev/nvme0n1p1   2048    411647    409600   200M EFI System
437
/dev/nvme0n1p2 411648 500117503 499705856 238.3G Linux filesystem
438
439
440
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
441
Units: sectors of 1 * 512 = 512 bytes
442
Sector size (logical/physical): 512 bytes / 4096 bytes
443
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
444
Disklabel type: gpt
445
Disk identifier: A6033FBA-129B-4A69-8142-03FD593B5EEA
446
447
Device          Start        End    Sectors   Size Type
448
/dev/sda1        2048 1928171519 1928169472 919.4G Linux filesystem
449
/dev/sda2  1928171520 1953523711   25352192  12.1G Microsoft basic data
450
451
452
Disk /dev/sdb: 14.8 GiB, 15871246336 bytes, 30998528 sectors
453
Units: sectors of 1 * 512 = 512 bytes
454
Sector size (logical/physical): 512 bytes / 512 bytes
455
I/O size (minimum/optimal): 512 bytes / 512 bytes
456
Disklabel type: dos
457
Disk identifier: 0x6b8b4567
458
459
Device     Boot Start     End Sectors  Size Id Type
460
/dev/sdb1  *        0 4106239 4106240    2G  0 Empty
461
/dev/sdb2        4052    4935     884  442K ef EFI (FAT-12/16/32)
462
463
464
Disk /dev/mapper/luks-4e4d30cb-3628-4d86-bfdd-19e3c1feed80: 238.3 GiB, 255847301120 bytes, 499701760 sectors
465
Units: sectors of 1 * 512 = 512 bytes
466
Sector size (logical/physical): 512 bytes / 512 bytes
467
I/O size (minimum/optimal): 512 bytes / 512 bytes
468
469
470
Disk /dev/mapper/calculate-swap: 24 GiB, 25769803776 bytes, 50331648 sectors
471
Units: sectors of 1 * 512 = 512 bytes
472
Sector size (logical/physical): 512 bytes / 512 bytes
473
I/O size (minimum/optimal): 512 bytes / 512 bytes
474
475
476
Disk /dev/mapper/calculate-root: 30 GiB, 32212254720 bytes, 62914560 sectors
477
Units: sectors of 1 * 512 = 512 bytes
478
Sector size (logical/physical): 512 bytes / 512 bytes
479
I/O size (minimum/optimal): 512 bytes / 512 bytes
480
481
482
Disk /dev/mapper/calculate-_var_calculate: 184.3 GiB, 197862096896 bytes, 386449408 sectors
483
Units: sectors of 1 * 512 = 512 bytes
484
Sector size (logical/physical): 512 bytes / 512 bytes
485
I/O size (minimum/optimal): 512 bytes / 512 bytes
486
calculate ~ # cl-install --mbr /dev/nvme0n1 -d ${BOOT}:/boot:ext4 \
487
>     -d /dev/mapper/${HOSTNAME}-root:/:ext4 
488
 * For autopartition, please select the device. Use the parameter -D. 
489
 * Error in parameter -d, --disk. The layout is not available with autopartitioning
490
 * Error in parameter --mbr. The layout is not available with autopartitioning
491
calculate ~ #     -d /dev/mapper/${HOSTNAME}-swap:swap \
492
>     -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \
493
>     -d /var/calculate/home:/home^C
494
calculate ~ # cl-install --mbr /dev/nvme0n1 -d ${BOOT}:/boot:ext4 \
495
>     -d /dev/mapper/${HOSTNAME}-root:/:ext4 \
496
>     -d /dev/mapper/${HOSTNAME}-swap:swap \
497
>     -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \
498
>     -d /var/calculate/home:/home
499
 * For autopartition, please select the device. Use the parameter -D. 
500
 * Error in parameter -d, --disk. The layout is not available with autopartitioning
501
 * Error in parameter --mbr. The layout is not available with autopartitioning
502
calculate ~ # "Using backend plugin: pmlibpartedbackendplugin (1)"
503
"Scanning devices..."
504
getting smart status failed for  "/dev/nvme0n1" :  Operation not supported
505
"Device found: Unknown"
506
"Device found: ATA ST1000LM035-1RK1"
507
"Device found:  USB DISK 3.0"
508
getting smart status failed for  "/dev/sdb" :  Operation not supported
509
"Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)."
510
"Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)."
511
"Scan finished."
512
calculate ~ # 
513
calculate ~ # 
514
calculate ~ # 
515
calculate ~ # 
516
calculate ~ # cl-install
517
 * For autopartition, please select the device. Use the parameter -D. 
518
calculate ~ # ^C
519
calculate ~ # cl-install --help
520
usage: cl-install [-l LOCALE] [--timezone TIMEZONE] [--iso IMAGE] [-s SYSTEM] [--march ARCH] [-U [ON/OFF]] [-p [ON/OFF]] [-S AUTOPARTOPTS] [-T TABLE]
521
                  [--root-size SIZE] [--swap-size SIZE] [-D DEVICE] [-d DISK[[:MP[:FS[:FORMAT]]]]] [--uuid [ON/OFF]] [--mbr MBR] [--uefi EFI]
522
                  [--scheduler SCHEDULER] [--netconf NETMANAGER] [--iface IFACE_SETTINGS] [--hostname HOSTNAME] [--ntp NTP] [--dns DNS] [--domain-search DOMAINS]
523
                  [--route NETROUTE] [--root-password] [--grub-passwd [ON/OFF]] [-u USER[:ADMIN[:GROUPS]]] [-A USER] [-C [ON/OFF]] [--audio AUDIO] [--card CARD]
524
                  [--video VIDEODRV] [--composite [ON/OFF]] [-X <width>x<height>] [--fb <width>x<height>] [--grub-terminal TERMINAL] [-a [ON/OFF]] [-I INTERVAL]
525
                  [--clean-pkg [ON/OFF]] [-o [ON/OFF]] [-f]
526
527
Language and locale:
528
  -l LOCALE, --locale LOCALE
529
                        set the locale ('list' for displaying possible values)
530
  --timezone TIMEZONE   set the timezone ('list' for displaying possible values)
531
532
Distribution:
533
  --iso IMAGE           ISO image for installation
534
  -s SYSTEM, --os SYSTEM
535
                        select the operation system ('list' for displaying possible values)
536
  --march ARCH          select the processor architecture ('list' for displaying possible values)
537
  -U [ON/OFF], --update [ON/OFF]
538
                        install the newer image only
539
540
Installation type:
541
  -p [ON/OFF], --autopartition [ON/OFF]
542
                        use the autopartition (enabled by default)
543
  -S AUTOPARTOPTS, --auto-scheme AUTOPARTOPTS
544
                        autopartition options ('list' for displaying possible values, 'none' is never one)
545
  -T TABLE, --partition-table TABLE
546
                        set the partition table for autopartition ('list' for displaying possible values)
547
  --root-size SIZE      set the root partition size for autopartition
548
  --swap-size SIZE      set the swap partition size for autopartition
549
  -D DEVICE             set the device for autopartition ('list' for displaying possible values, 'none' is never one)
550
551
Layout:
552
  -d DISK[[:MP[:FS[:FORMAT]]]], --disk DISK[[:MP[:FS[:FORMAT]]]]
553
                        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
554
                        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
555
  --uuid [ON/OFF]       use UUID (enabled by default)
556
  --mbr MBR             boot disk for the system bound for install ('list' for displaying possible values, 'none' is never one)
557
  --uefi EFI            set UEFI boot disks ('list' for displaying possible values, 'none' is never one)
558
  --scheduler SCHEDULER
559
                        toggle the I/O scheduler ('list' for displaying possible values)
560
561
Network settings:
562
  --netconf NETMANAGER  network manager ('list' for displaying possible values)
563
  --iface IFACE_SETTINGS
564
                        Network interface, DHCP or IP address and network mask (example: --iface wlan0:192.168.1.1:24)
565
  --hostname HOSTNAME   set either the short or the full hostname
566
  --ntp NTP             set the NTP server for the system
567
  --dns DNS             domain name server (comma-separated)
568
  --domain-search DOMAINS
569
                        search domains (comma-separated)
570
  --route NETROUTE      add a routing rule (specified as NETWORK:GATEWAY[:DEV[:SOURCE]])
571
572
Users:
573
  --root-password       specify the root password
574
  --grub-passwd [ON/OFF]
575
                        use root password for editing boot menu (enabled by default)
576
  -u USER[:ADMIN[:GROUPS]], --user USER[:ADMIN[:GROUPS]]
577
                        add a user to the installed system. USER is username. ADMIN is administrator rights (none, all, update, none by default). GROUPS is list
578
                        user supplimentary groups (comma delimeter). Use 'none' value to discard user migration
579
  -A USER, --autologin USER
580
                        set an autologin for the user, 'off' for disable ('list' for displaying possible values)
581
  -C [ON/OFF], --crypt-home [ON/OFF]
582
                        encrypt user profiles
583
584
Audio:
585
  --audio AUDIO         set the audio system ('list' for displaying possible values)
586
  --card CARD           set the default audio ('list' for displaying possible values)
587
588
Video:
589
  --video VIDEODRV      set the video driver ('list' for displaying possible values)
590
  --composite [ON/OFF]  toggle composite (enabled by default)
591
  -X <width>x<height>   set the Xorg resolution ('list' for displaying possible values)
592
  --fb <width>x<height>
593
                        set the framebuffer resolution ('list' for displaying possible values)
594
  --grub-terminal TERMINAL
595
                        grub terminal ('list' for displaying possible values)
596
597
Update:
598
  -a [ON/OFF], --autocheck [ON/OFF]
599
                        automatically check updates (enabled by default)
600
  -I INTERVAL, --autocheck-interval INTERVAL
601
                        set interval for the updates checking ('list' for displaying possible values)
602
  --clean-pkg [ON/OFF]  clean obsolete programs archives
603
  -o [ON/OFF], --update-other [ON/OFF]
604
                        update other overlays
605
606
Common arguments:
607
  -f, --force           silent during the process
608
calculate ~ # cl-install --help|grep auto
609
  -p [ON/OFF], --autopartition [ON/OFF]
610
                        use the autopartition (enabled by default)
611
  -S AUTOPARTOPTS, --auto-scheme AUTOPARTOPTS
612
                        autopartition options ('list' for displaying possible
613
                        set the partition table for autopartition ('list' for
614
  --root-size SIZE      set the root partition size for autopartition
615
  --swap-size SIZE      set the swap partition size for autopartition
616
  -D DEVICE             set the device for autopartition ('list' for
617
  -A USER, --autologin USER
618
                        set an autologin for the user, 'off' for disable
619
  -a [ON/OFF], --autocheck [ON/OFF]
620
                        automatically check updates (enabled by default)
621
  -I INTERVAL, --autocheck-interval INTERVAL
622
calculate ~ # cl-install --mbr /dev/nvme0n1 -p OFF \
623
>     -d ${BOOT}:/boot:ext4 \
624
>     -d /dev/mapper/${HOSTNAME}-root:/:ext4 \
625
>     -d /dev/mapper/${HOSTNAME}-swap:swap \
626
>     -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \
627
>     -d /var/calculate/home:/home
628
 * Error in parameter --mbr. MBR is not used with the UEFI bootloader
629
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 \
630
>     -d ${BOOT}:/boot:ext4 \
631
>     -d /dev/mapper/${HOSTNAME}-root:/:ext4 \
632
>     -d /dev/mapper/${HOSTNAME}-swap:swap \
633
>     -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \
634
>     -d /var/calculate/home:/home
635
 * Error in parameter -d, --disk. Device '/dev/mapper/calculate-root' is used more than once
636
 * Error in parameter --mbr. MBR is not used with the UEFI bootloader
637
calculate ~ # echo $HOSTNAME 
638
calculate
639
calculate ~ # echo cl-install --uefi /dev/nvme0n1 -p OFF \
640
>     -d ${BOOT}:/boot:ext4 \
641
>     -d /dev/mapper/${HOSTNAME}-root:/:ext4 \
642
>     -d /dev/mapper/${HOSTNAME}-swap:swap \
643
>     -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \
644
>     -d /var/calculate/home:/home
645
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
646
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
647
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
648
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     
649
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
650
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            
651
UEFI boot values:
652
  [/dev/nvme0n1p1]  /dev/nvme0n1 (SAMSUNG MZVLW256HEHP-000H1) *
653
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    
654
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
655
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               
656
usage: cl-install [-l LOCALE] [--timezone TIMEZONE] [--iso IMAGE] [-s SYSTEM] [--march ARCH] [-U [ON/OFF]] [-p [ON/OFF]] [-S AUTOPARTOPTS] [-T TABLE]
657
                  [--root-size SIZE] [--swap-size SIZE] [-D DEVICE] [-d DISK[[:MP[:FS[:FORMAT]]]]] [--uuid [ON/OFF]] [--mbr MBR] [--uefi EFI]
658
                  [--scheduler SCHEDULER] [--netconf NETMANAGER] [--iface IFACE_SETTINGS] [--hostname HOSTNAME] [--ntp NTP] [--dns DNS] [--domain-search DOMAINS]
659
                  [--route NETROUTE] [--root-password] [--grub-passwd [ON/OFF]] [-u USER[:ADMIN[:GROUPS]]] [-A USER] [-C [ON/OFF]] [--audio AUDIO] [--card CARD]
660
                  [--video VIDEODRV] [--composite [ON/OFF]] [-X <width>x<height>] [--fb <width>x<height>] [--grub-terminal TERMINAL] [-a [ON/OFF]] [-I INTERVAL]
661
                  [--clean-pkg [ON/OFF]] [-o [ON/OFF]] [-f]
662
cl-install: error: argument --uefi: expected one argument
663
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  
664
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
665
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             
666
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
667
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              
668
 * Error in parameter --uefi. Wrong EFI device on
669
calculate ~ # mkfs.fat32 ${BOOT}
670
-su: mkfs.fat32: command not found
671
calculate ~ # mkfs. ${BOOT}     
672
mkfs.bfs       mkfs.cramfs    mkfs.ext2      mkfs.ext4      mkfs.minix     mkfs.reiserfs  mkfs.xfs       
673
mkfs.btrfs     mkfs.exfat     mkfs.ext3      mkfs.fat       mkfs.ntfs      mkfs.vfat      
674
calculate ~ # mkfs. ${BOOT}
675
mkfs.bfs       mkfs.cramfs    mkfs.ext2      mkfs.ext4      mkfs.minix     mkfs.reiserfs  mkfs.xfs       
676
mkfs.btrfs     mkfs.exfat     mkfs.ext3      mkfs.fat       mkfs.ntfs      mkfs.vfat      
677
calculate ~ # mkfs.fat ${BOOT}
678
mkfs.fat 4.0 (2016-05-06)
679
calculate ~ # "Using backend plugin: pmlibpartedbackendplugin (1)"
680
"Scanning devices..."
681
getting smart status failed for  "/dev/nvme0n1" :  Operation not supported
682
"Device found: Unknown"
683
"Device found: ATA ST1000LM035-1RK1"
684
"Device found:  USB DISK 3.0"
685
getting smart status failed for  "/dev/sdb" :  Operation not supported
686
"Partition ‘/dev/sdb2’ is not properly aligned (first sector: 4052, modulo: 2004)."
687
"Partition ‘/dev/sdb2’ is not properly aligned (last sector: 4935, modulo: 840)."
688
"Scan finished."
689
690
calculate ~ # 
691
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            
692
 * Error in parameter --uefi. Wrong EFI device on
693
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  
694
UEFI boot values:
695
  [/dev/nvme0n1p1]  /dev/nvme0n1 (SAMSUNG MZVLW256HEHP-000H1) *
696
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    
697
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
698
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    
699
 * 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
700
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
701
calculate ~ # 
702
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
703
 * Error in parameter -d, --disk. The filesystem for '/boot' should not be 'vfat' for hdd install
704
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
705
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      
706
 * Error in parameter -d, --disk. The filesystem for '/boot' should not be 'vfat' for hdd install
707
 * Error in parameter --mbr. MBR is not used with the UEFI bootloader
708
calculate ~ # cl-install --uefi /dev/nvme0n1 -p OFF \
709
>     -d ${BOOT}:/boot:EFI \
710
>     -d /dev/mapper/${HOSTNAME}-root:/:ext4 \
711
>     -d /dev/mapper/${HOSTNAME}-swap:swap \
712
>     -d /dev/mapper/${HOSTNAME}-_var_calculate:/var/calculate \
713
>     -d /var/calculate/home:/home
714
 * 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
715
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
716
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
717
 * 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
718
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
719
calculate ~ # 
720
calculate ~ # 
721
calculate ~ # 
722
calculate ~ # 
723
calculate ~ # 
724
calculate ~ # 
725
calculate ~ # 
726
calculate ~ # 
727
calculate ~ # 
728
calculate ~ # 
729
calculate ~ # 
730
calculate ~ # 
731
calculate ~ # 
732
calculate ~ # 
733
calculate ~ # 
734
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               
735
 * 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
736
UEFI boot values:
737
  [/dev/nvme0n1p1]  /dev/nvme0n1 (SAMSUNG MZVLW256HEHP-000H1) *
738
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    
739
 * 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
740
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
741
calculate ~ # 
742
calculate ~ # 
743
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                   
744
 * 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
745
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
746
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
747
calculate ~ # 
748
calculate ~ # 
749
calculate ~ # 
750
calculate ~ # 
751
calculate ~ # 
752
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          
753
 * Error in parameter -d, --disk. Wrong mount point 'EFI'
754
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
755
 * Error in parameter -d, --disk. Wrong mount point 'EFI'
756
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
757
calculate ~ # echo $BOOT
758
/dev/nvme0n1p1
759
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            
760
 * Error in parameter -d, --disk. Wrong mount point 'EFI'
761
 * Error in parameter --uefi. Wrong EFI device on
762
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
763
 * Error in parameter -d, --disk. Wrong mount point 'EFI'
764
 * Error in parameter --uefi. Partition /dev/nvme0n1p1 already used for installation
765
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                
766
Password for user guest missing
767
Password: 
768
Repeat: 
769
Password for user root missing
770
Password: 
771
Repeat: 
772
Language and locale
773
 * Locale: English (United States)
774
 * Timezone: UTC (+00:00)
775
Distribution
776
 * Installation image: Calculate Linux Desktop KDE 17.12 x86_64 20171229
777
Installation type
778
 * Allocate drive space: Use the current partitions
779
Layout
780
 * UEFI boot: /dev/nvme0n1 (SAMSUNG MZVLW256HEHP-000H1)
781
 * Mount points: 
782
+------------------------------+---------------+----------+------+-----+
783
|      Disk or directory       |  Mount point  |Filesystem|Format|Size |
784
+------------------------------+---------------+----------+------+-----+
785
| /dev/calculate/_var_calculate| /var/calculate| ext4     | no   |     |
786
| /dev/calculate/root          | /             | ext4     | yes  |     |
787
| /dev/calculate/swap          | swap          | swap     | no   |     |
788
| /dev/nvme0n1p1               | /boot/efi     | vfat     | no   | 200M|
789
| /var/calculate/home          | /home         |          |      |     |
790
+------------------------------+---------------+----------+------+-----+
791
 * Bootloader: UEFI
792
 * Use UUID: yes
793
 * I/O scheduler: CFQ
794
Network settings
795
 * Network manager: NetworkManager
796
 * Addresses: 
797
+---------+----------+--------------+---------------+------------------+
798
|Interface|IP address|     Mask     |     Name      |       MAC        |
799
+---------+----------+--------------+---------------+------------------+
800
| wlan0   | DHCP     | 255.255.255.0| Intel Wireless| c8:21:58:31:d1:f2|
801
+---------+----------+--------------+---------------+------------------+
802
 * Hostname: calculate.local
803
 * NTP server: ntp0.zenon.net
804
 * Domain name server: Get via DHCP
805
 * Search domains: Get via DHCP
806
Users
807
 * Migrating users: 
808
+------+-------------+---------------------------------------------------------------------------+
809
| User |Administrator|                                  Groups                                   |
810
+------+-------------+---------------------------------------------------------------------------+
811
| guest| Full access | audio,cdrom,cdrw,games,guest,lp,plugdev,scanner,usb,users,uucp,video,wheel|
812
+------+-------------+---------------------------------------------------------------------------+
813
 * Use root password for editing boot menu: yes
814
 * Autologin: Not used
815
 * Encrypt user profiles: no
816
Audio
817
 * Audio system: PulseAudio
818
 * Default audio card: HDA Intel PCH, CX8200 Analog
819
Video
820
 * Video driver: Intel (intel)
821
 * Composite: yes
822
 * Screen resolution: 3840x2160
823
 * Framebuffer resolution: 3840x2160
824
 * Grub terminal: gfxterm
825
Update
826
 * Automatically check updates: yes
827
 * Interval for the updates checking: 24h
828
 * Clean obsolete programs archives: no
829
 * Update other overlays: no
830
831
Run process? (Yes/No): yes
832
 * Formatting the partitions ...                                                                                                                             [ ok ]
833
 * Unpacking the system image to the target ...                                                                                                              [ ok ]
834
 * Copying clt templates to the new system ...                                                                                                               [ ok ]
835
 * Updating the configuration ...
836
 * Configuring the grub  
837
 * Post-install configuration ...                                                                                                                            [ ok ]
838
 * Migrating users ...                                                                                                                                       [ ok ]
839
 * Preparing the system for reboot ...
840
 * Failed to install the bootloader
841
 * Unmounting the target system volume ...                                                                                                                   [ ok ]
842
 * Failed to install the system!
843
calculate ~ # 
844
calculate ~ # mkdir /tmp/newroot
845
calculate ~ # mount -v /dev/mapper/${HOSTNAME}-root /tmp/newroot/
846
mount: /dev/mapper/calculate-root mounted on /tmp/newroot.
847
calculate ~ # mount -v /dev/mapper/${HOSTNAME}-_var_calculate /tmp/newroot/var/calculate/
848
mount: /dev/mapper/calculate-_var_calculate mounted on /tmp/newroot/var/calculate.
849
calculate ~ # mount -v ${BOOT} /tmp/newroot/boot/
850
mount: /dev/nvme0n1p1 mounted on /tmp/newroot/boot.
851
calculate ~ # for d in /dev{,/shm,/pts} /sys /proc ; do
852
>     mount --bind -v $d /tmp/newroot$d
853
> done
854
mount: /dev bound on /tmp/newroot/dev.
855
mount: /dev/shm bound on /tmp/newroot/dev/shm.
856
mount: /dev/pts bound on /tmp/newroot/dev/pts.
857
mount: /sys bound on /tmp/newroot/sys.
858
mount: /proc bound on /tmp/newroot/proc.
859
calculate ~ # echo 'add_dracutmodules+=" crypt"' > /tmp/newroot/etc/dracut.conf.d/10-crypt.conf
860
calculate ~ # ls /tmp/newroot
861
bin  boot  dev  etc  home  lib  lib32  lib64  lost+found  mnt  opt  proc  root  run  sbin  sys  system-config-printer  tmp  usr  var
862
calculate ~ #     chroot /tmp/newroot /bin/bash <<< 'source /etc/profile && emerge -vt sys-fs/cryptsetup && dracut --force'
863
864
 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
865
 * Use eselect news read to view new items.
866
867
868
These are the packages that would be merged, in reverse order:
869
870
Calculating dependencies... done!
871
[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
872
873
Total: 1 package (1 reinstall, 1 binary), Size of downloads: 393 KiB
874
875
>>> Emerging binary (1 of 1) sys-fs/cryptsetup-1.7.5::gentoo
876
>>> Installing (1 of 1) sys-fs/cryptsetup-1.7.5::gentoo
877
>>> Jobs: 1 of 1 complete                           Load avg: 0.83, 1.70, 1.57
878
>>> Auto-cleaning packages...
879
880
>>> No outdated packages were found on your system.
881
882
 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
883
 * Use eselect news read to view new items.
884
885
dracut: Executing: /usr/bin/dracut --force
886
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
887
dracut: dracut module 'dash' will not be installed, because command '/bin/dash' could not be found!
888
dracut: dracut module 'plymouth' will not be installed, because it's in the list to be omitted!
889
dracut: dracut module 'multipath' will not be installed, because it's in the list to be omitted!
890
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found!
891
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found!
892
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found!
893
dracut: dracut module 'iscsi' will not be installed, because command 'iscsistart' could not be found!
894
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
895
dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found!
896
dracut: dracut module 'biosdevname' will not be installed, because it's in the list to be omitted!
897
dracut: *** Including module: bash ***
898
dracut: *** Including module: caps ***
899
dracut: *** Including module: modsign ***
900
dracut: *** Including module: i18n ***
901
dracut: *** Including module: video ***
902
dracut: *** Including module: network ***
903
dracut: *** Including module: gensplash ***
904
dracut: Installing Gentoo Splash (using the calculate calculate_shutdown theme)
905
dracut: *** Including module: calculate ***
906
dracut: *** Including module: btrfs ***
907
dracut: *** Including module: crypt ***
908
dracut: *** Including module: dm ***
909
dracut: Skipping udev rule: 64-device-mapper.rules
910
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
911
dracut: Skipping udev rule: 55-dm.rules
912
dracut: *** Including module: dmraid ***
913
dracut: *** Including module: dmsquash-live ***
914
dracut: *** Including module: kernel-modules ***
915
dracut: *** Including module: kernel-network-modules ***
916
dracut: *** Including module: lvm ***
917
dracut: Skipping udev rule: 64-device-mapper.rules
918
dracut: Skipping udev rule: 56-lvm.rules
919
dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
920
dracut: *** Including module: mdraid ***
921
dracut: Skipping udev rule: 64-md-raid.rules
922
dracut: *** Including module: cifs ***
923
dracut: *** Including module: nfs ***
924
dracut: *** Including module: resume ***
925
dracut: *** Including module: rootfs-block ***
926
dracut: *** Including module: terminfo ***
927
dracut: *** Including module: tuxonice ***
928
dracut: *** Including module: udev-rules ***
929
dracut: Skipping udev rule: 40-redhat.rules
930
dracut: Skipping udev rule: 50-firmware.rules
931
dracut: Skipping udev rule: 50-udev.rules
932
dracut: Skipping udev rule: 91-permissions.rules
933
dracut: Skipping udev rule: 80-drivers-modprobe.rules
934
dracut: *** Including module: usrmount ***
935
dracut: *** Including module: base ***
936
dracut: *** Including module: fs-lib ***
937
dracut: *** Including module: img-lib ***
938
dracut: *** Including module: shutdown ***
939
dracut: *** Including modules done ***
940
dracut: *** Installing kernel module dependencies and firmware ***
941
dracut: *** Installing kernel module dependencies and firmware done ***
942
dracut: *** Resolving executable dependencies ***
943
dracut: *** Resolving executable dependencies done***
944
dracut: *** Stripping files ***
945
dracut: *** Stripping files done ***
946
dracut: *** Store current command line parameters ***
947
dracut: *** Creating image file '/boot/initramfs-4.14.9-calculate.img' ***
948
dracut: *** Creating initramfs image file '/boot/initramfs-4.14.9-calculate.img' done ***
949
calculate ~ # 
950
(reverse-i-search)`d':     chroot /tmp/newroot /bin/bash <<< 'source /etc/profile && emerge -vt sys-fs/cryptsetup && ^Cacut --force'
951
(failed reverse-i-search)`sda111': BOOT=/dev/^Ca1
952
calculate ~ # mkfs.ext4 /dev/sda1
953
mke2fs 1.43.6 (29-Aug-2017)
954
/dev/sda1 contains a vfat file system
955
Proceed anyway? (y,N) y
956
/dev/sda1 is mounted; will not make a filesystem here!
957
calculate ~ # umount /dev/sda1
958
calculate ~ # mkfs.ext4 /dev/sda1
959
mke2fs 1.43.6 (29-Aug-2017)
960
/dev/sda1 contains a vfat file system
961
Proceed anyway? (y,N) y
962
Creating filesystem with 241021184 4k blocks and 60260352 inodes
963
Filesystem UUID: fd4ac76e-0cdb-4f03-9ad4-2337bc041c0e
964
Superblock backups stored on blocks: 
965
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
966
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
967
        102400000, 214990848
968
969
Allocating group tables: done                            
970
Writing inode tables: done                            
971
Creating journal (262144 blocks): done
972
Writing superblocks and filesystem accounting information: done     
973
974
calculate ~ # mount
975
proc on /proc type proc (rw,relatime)
976
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
977
devtmpfs on /dev type devtmpfs (rw,nosuid,size=10240k,nr_inodes=2030633,mode=755)
978
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
979
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec)
980
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,mode=755)
981
/dev/sdb1 on /run/initramfs/live type udf (ro,relatime,utf8)
982
/dev/loop0 on /run/initramfs/squashfs type squashfs (ro,relatime)
983
none on / type overlay (rw,relatime,lowerdir=/run/initramfs/squashfs,upperdir=/run/initramfs/workspace,workdir=/run/initramfs/workspace-workdir,index=off)
984
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
985
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
986
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
987
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,relatime)
988
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
989
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc)
990
none on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
991
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
992
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
993
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
994
blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
995
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
996
devices on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
997
freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
998
net_cls on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
999
perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
1000
pids on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
1001
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
1002
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
1003
none on /sys/fs/fuse/connections type fusectl (rw,relatime)
1004
none on /run/user/1000 type tmpfs (rw,relatime,mode=700,uid=1000)
1005
none on /run/user/0 type tmpfs (rw,relatime,mode=700)
1006
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
1007
/dev/mapper/calculate-root on /tmp/newroot type ext4 (rw,relatime,data=ordered)
1008
/dev/mapper/calculate-_var_calculate on /tmp/newroot/var/calculate type ext4 (rw,relatime,data=ordered)
1009
/dev/nvme0n1p1 on /tmp/newroot/boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=866,iocharset=utf8,shortname=mixed,utf8,errors=remount-ro)
1010
devtmpfs on /tmp/newroot/dev type devtmpfs (rw,nosuid,size=10240k,nr_inodes=2030633,mode=755)
1011
shm on /tmp/newroot/dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
1012
devpts on /tmp/newroot/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
1013
sysfs on /tmp/newroot/sys type sysfs (rw,nosuid,nodev,noexec,relatime)
1014
proc on /tmp/newroot/proc type proc (rw,relatime)
1015
/dev/sda1 on /run/media/guest/fd4ac76e-0cdb-4f03-9ad4-2337bc041c0e type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
1016
calculate ~ # chmod a+w //run/media/guest/fd4ac76e-0cdb-4f03-9ad4-2337bc041c0e 
1017
calculate ~ # chmod a+w /run/media/guest/fd4ac76e-0cdb-4f03-9ad4-2337bc041c0e 
1018
calculate ~ # 
Thank you!