pentoo / pentoo-installer

Pentoo installer rewritten by Wuodan to be more modular
10 stars 6 forks source link

Manual partitioning is broken #42

Open Wuodan opened 6 years ago

Wuodan commented 6 years ago

In the partitioning sub-menu, select the 2nd option "Manually partition ..." The output of the partitioning tool (cfdisk or cgdisk) ends up in the log file /tmp/pentoo-installer.log

The 'source' of the problem seems to be in sbin/pentoo-installer:

2> /tmp/pentoo-installer.log

if I remove that and remove redirection where cgdisk is called, then cgdisk starts working. But having no log file is no option!

My options:

Wuodan commented 6 years ago

Without all the: CONFIG_LIST="$(script)" that lead to the partition_manual file (2), it works. But that's the way installer was designed, write CONFIG_LIST to STDOUT, not to a file. Reason: that list may contain sensitive info to remount partitions.

==> we could move that manual partitioning part to main-menu, then it does not need to return anything.