+ case "$1" in + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/grub-pc.postinst configure + case "$1" in + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + case grub-pc in + grep -q '[= ]/sbin/update-grub' /etc/kernel-img.conf + mkdir -p /boot/grub + test -e /boot/grub/device.map + test -e /boot/grub/core.img + grub-mkdevicemap --no-floppy ++ mktemp /tmp/grub.XXXXXXXXXX + tmp_default_grub=/tmp/grub.pzugIcox2p + trap 'rm -f /tmp/grub.pzugIcox2p' EXIT + cp -p /usr/share/grub/default/grub /tmp/grub.pzugIcox2p + merge_debconf_into_conf /tmp/grub.pzugIcox2p GRUB_CMDLINE_LINUX grub2/linux_cmdline + local tmpfile + tmpfile=/tmp/grub.pzugIcox2p + local setting + setting=GRUB_CMDLINE_LINUX + local template + template=grub2/linux_cmdline + db_get grub2/linux_cmdline + _db_cmd 'GET grub2/linux_cmdline' + IFS=' ' + printf '%s\n' 'GET grub2/linux_cmdline' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + local value ++ echo '' ++ sed -e 's,[$`"\],\\&,g; s,[\@],\\&,g' + value= + grep -q '^GRUB_CMDLINE_LINUX=' /tmp/grub.pzugIcox2p + sed -i -re 's@^(GRUB_CMDLINE_LINUX=).*@\1""@' /tmp/grub.pzugIcox2p + merge_debconf_into_conf /tmp/grub.pzugIcox2p GRUB_CMDLINE_LINUX_DEFAULT grub2/linux_cmdline_default + local tmpfile + tmpfile=/tmp/grub.pzugIcox2p + local setting + setting=GRUB_CMDLINE_LINUX_DEFAULT + local template + template=grub2/linux_cmdline_default + db_get grub2/linux_cmdline_default + _db_cmd 'GET grub2/linux_cmdline_default' + IFS=' ' + printf '%s\n' 'GET grub2/linux_cmdline_default' + IFS=' ' + read -r _db_internal_line + RET='quiet splash' + case ${_db_internal_line%%[ ]*} in + return 0 + local value ++ sed -e 's,[$`"\],\\&,g; s,[\@],\\&,g' ++ echo 'quiet splash' + value='quiet splash' + grep -q '^GRUB_CMDLINE_LINUX_DEFAULT=' /tmp/grub.pzugIcox2p + sed -i -re 's@^(GRUB_CMDLINE_LINUX_DEFAULT=).*@\1"quiet splash"@' /tmp/grub.pzugIcox2p + case grub-pc in + merge_debconf_into_conf /tmp/grub.pzugIcox2p GRUB_TIMEOUT grub-pc/timeout + local tmpfile + tmpfile=/tmp/grub.pzugIcox2p + local setting + setting=GRUB_TIMEOUT + local template + template=grub-pc/timeout + db_get grub-pc/timeout + _db_cmd 'GET grub-pc/timeout' + IFS=' ' + printf '%s\n' 'GET grub-pc/timeout' + IFS=' ' + read -r _db_internal_line + RET=10 + case ${_db_internal_line%%[ ]*} in + return 0 + local value ++ echo 10 ++ sed -e 's,[$`"\],\\&,g; s,[\@],\\&,g' + value=10 + grep -q '^GRUB_TIMEOUT=' /tmp/grub.pzugIcox2p + sed -i -re 's@^(GRUB_TIMEOUT=).*@\1"10"@' /tmp/grub.pzugIcox2p + db_get grub-pc/hidden_timeout + _db_cmd 'GET grub-pc/hidden_timeout' + IFS=' ' + printf '%s\n' 'GET grub-pc/hidden_timeout' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + '[' false = false ']' + sed -i -e 's/^GRUB_HIDDEN_TIMEOUT=/#&/' /tmp/grub.pzugIcox2p + ucf --three-way --debconf-ok --sum-file=/usr/share/grub/default/grub.md5sum /tmp/grub.pzugIcox2p /etc/default/grub ++ ucfq --with-colons /etc/default/grub ++ cut -d : -f 2 + package=grub-pc + echo grub-pc + grep -q '^grub-' + ucfr --force grub-pc /etc/default/grub + case grub-pc in + test -e /boot/grub/stage2 + test -e /boot/grub/menu.lst + test -e /boot/grub/core.img + db_get grub-pc/chainload_from_menu.lst + _db_cmd 'GET grub-pc/chainload_from_menu.lst' + IFS=' ' + printf '%s\n' 'GET grub-pc/chainload_from_menu.lst' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 + true + echo 'Generating core.img' Generating core.img + grub-install --no-floppy --grub-setup=/bin/true '(hd0)' grub-probe: error: no mapping exists for `isw_ebbebjhjjj_ubla1' Auto-detection of a filesystem module failed. Please specify the module with the option `--modules' explicitly. + rm -f /tmp/grub.pzugIcox2p