Ввожу cl-install --autopartition on --auto-scheme swap,root,data,home -D /dev/sda
.
И сразу ошбка
.
TypeError: reduce() of empty sequence with no initial value
* Wrong option -D. reduce() of empty sequence with no initial value
* Wrong option --root-size. reduce() of empty sequence with no initial value
Попробуйте применить приложенный патч
patch /usr/lib/python2.7/site-packages/calculate/install/variables/autopartition.py <патч
install.patch (573 Bytes)
cl-core-variables-show --filter device
~ # cl-core-variables-show --filter device
* List of variables
+--------------------------------------+----+--------+-----+
|Variable |Mode|Location|Value|
+--------------------------------------+----+--------+-----+
|install.cl_autopartition_device | wl | | |
|install.cl_autopartition_device_size | rs | |0 |
|install.os_device_data | rt | | |
|install.os_device_dev | rl | | |
|install.os_device_map | rl | | |
|install.os_device_name | rl | | |
|install.os_device_size | rl | | |
|install.os_device_table | rl | | |
|install.os_device_type | rl | | |
|install.os_install_grub_devicemap_conf| rs | |'' |
+--------------------------------------+----+--------+-----
Mikhail Hiretsky wrote:
Попробуйте применить приложенный патч
~ # patch /usr/lib/python2.7/site-packages/calculate/install/variables/autopartition.py /root/install.patch
patching file /usr/lib/python2.7/site-packages/calculate/install/variables/autopartition.py
Hunk #1 succeeded at 772 (offset -97 lines).
Странно, вообще не видит ни одного диска.
Что выводит
cl-install --autopartition on --auto-scheme swap,root,data,home -D /dev/sda
Систему с liveCD ставите? Какой stage? Что находится в /sys/block
?