[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian jessie/stretch pxe autoinstall issue



Добрый день!
Вдохновившись следующим гайдом https://www.hiroom2.com/2016/05/19/ubuntu-16-04-debian-8-run-pxe-boot-server-for-automated-install/ решил сделать подобный установщик для основных систем для домашних виртуалок.
Ubuntu 16.04 ставится без проблем. Debian же, что jessie, что stretch, валятся на непонятной мне ошибке.
В установщике это выглядит так:

"Base system installation error
The debootstrap exited with an error (return value 1).
Check /var/log/syslog or see virtual console 4 for the details."
Скриншот для пущей наглядности:  https://imgur.com/HX3OVwl 
В обоих случаях на что-то жалуется tar.
В консоли, stretch: https://imgur.com/Afk1MpO
В консоли, jessie: https://imgur.com/AvvM2QC

Использую следующую конфигурацию preseed.

#
# locales
#
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/language string en
d-i debian-installer/country string RU
#
# keyboard
#
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap select us
d-i keyboard-configuration/toggle select No toggling
d-i debian-installer/keymap select us
d-i keymap select us
#
# network
#
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
#
# users
#
d-i passwd/user-fullname string
d-i passwd/username string bydunai
d-i passwd/root-password password debian
d-i passwd/root-password-again password debian
d-i passwd/user-password password debian
d-i passwd/user-password-again password debian
d-i user-setup/allow-password-weak boolean true
#
# repos
#
d-i mirror/country string manual
d-i mirror/http/hostname string http://mirror.yandex.ru
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
#
# time
#
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i time/zone string Europe/Moscow
#
# partitioning
#
# use disk /dev/sda or /dev/vda
d-i partman-auto/disk string /dev/[sv]da
# use regular install, not lvm or encrypted
d-i partman-auto/method string regular
# remove any lvm
d-i partman-lvm/device_remove_lvm boolean true
# remove any raid
d-i partman-md/device_remove_md boolean true
# confirmation
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
# gpt
d-i partman-basicfilesystems/choose_label string gpt
d-i partman-basicfilesystems/default_label string gpt
d-i partman-partitioning/choose_label string gpt
d-i partman-partitioning/default_label string gpt
d-i partman/choose_label string gpt
d-i partman/default_label string gpt
partman-partitioning partman-partitioning/choose_label select gpt
# partitioning
d-i partman-auto/alignment string optimal
partman-auto/choose_recipe select custom_recipe
d-i partman-auto/expert_recipe string \
    custom_recipe :: \
        1 1 1 free \
            $gptonly{ } \
            $primary{ } \
            $bios_boot{ } \
            method{ biosgrub } \
        . \
        16384 16484 -1 ext4 \
            $gptonly{ } \
            $primary{ } \
            $bootable{ } \
            method{ format } format { } \
            use_filesystem{ } filesystem{ ext4 } \
            mountpoint{ / }\
        . \
        4096 4096 4096 linux-swap \
            $gptonly{ } \
            $primary{ } \
            method{ swap } format { }\
        .

# confirmation
#d-i partman-md/confirm boolean true
#d-i partman-lvm/confirm boolean true

# allow to write new labels
d-i partman-partitioning/confirm_write_new_label boolean true
# finishing
d-i partman/choose_partition select finish
# confirmation
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
# kernel
d-i base-installer/kernel/image string linux-image-amd64

# grub
d-i grub-installer/grub2_instead_of_grub_legacy boolean true
d-i grub-installer/only_debian boolean true
d-i grub-installer/bootdev string /dev/[sv]da
# packages
d-i pkgsel/update-policy select none
d-i pkgsel/include string sudo openssh-server vim tcpdump tmux nload htop
d-i finish-install/reboot_in_progress note

С таким конфигом Ubuntu устанавливается, а Debian - ни в какую.
В чем может быть проблема?

--
Regards,
Evgeny Dunaev

Reply to: