above command missing some escapes, here is the correct one
d-i partman/early_command string \ sed -i "s/initial_proc_contents=\"\$(ls \$ROOT\/proc)\".*/set +e ; & ; set -e/" /usr/bin/grub-installer ;
above command missing some escapes, here is the correct one
d-i partman/ early_command string \ proc_contents= \"\$(ls \$ROOT\ /proc)\ ".*/set +e ; & ; set -e/" /usr/bin/ grub-installer ;
sed -i "s/initial_