i know there is an old topic with, probably, matches with my problem but this topic was marked as "closed" so i start a new on.
The Problem:
I´ve created a preseed config for the full-automated installtion of my debian, based on the netinstall-iso. When the Installation comes to the step in which "partman" shoul partitionate my NVMe-SSD it hngs with the following Message:
/dev/sda is my USB-drive and should not be edited."Partition(s) 1 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes. "
In another post https://forums.debian.net/viewtopic.php?t=158680 the solution was to add --mac option for isohybrid - unfortunately, this does not work (anymore?), because i receive this errormessage from isohybrid an the iso was not created:
alsogenisoimage -V debian-netinstall-custom-amd64 \
-r -J -b isolinux/isolinux.bin -c isolinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table \
-eltorito-alt-boot \
-e debian_iso_xpand boot/grub/efi.img \
-no-emul-boot \
-o debian-netinstall-custom-amd64.iso debian_iso_xpand
isohybrid --uefi --mac debian-netinstall-custom-amd64.iso
isohybrid: debian-netinstall-custom-amd64.iso: unable to find mac efi image
ends up with the error message.genisoimage -V debian-netinstall-custom-amd64 \
-r -J -b isolinux/isolinux.bin -c isolinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table \
-eltorito-alt-boot \
-e debian_iso_xpand boot/grub/efi.img \
-no-emul-boot \
-o debian-netinstall-custom-amd64.iso debian_iso_xpand
isohybrid --mac debian-netinstall-custom-amd64.iso
isohybrid: debian-netinstall-custom-amd64.iso: unable to find mac efi image
I´ve tried this with isohybrid 0.12 (current in "stable and "testing").
Also the part
in the preseed-file has no effect.debconf-set partman/ignore_device /dev/sda
All other areas of the preseed-file are working only this error comes up and stops the automated install, has anyone an idea or a solution please ?
Thanks in advence for your help
my preseed-config:
Code: Select all
### Locale and Keyboard Settings ###
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/language string en
d-i debian-installer/country string DE
# Tastaturlayout
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string de
d-i console-setup/modelcode string pc105
d-i console-keymaps-at/keymap select de
d-i keyboard-configuration/xkb-keymap select de
### Timezone ###
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Berlin
### Network Setup ###
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string B6T-EPS
d-i netcfg/get_domain string
### Firmware Loading ###
d-i hw-detect/load_firmware boolean true
d-i preseed/early_command string anna-install network-console
d-i network-console/start select continue
d-i network-console/password password XXXX
d-i network-console/password-again password XXXX
### User Setup ###
d-i passwd/root-password-crypted password XXXX
d-i passwd/user-fullname string XXXX
d-i passwd/username string XXXX
d-i passwd/user-password-crypted password XXXX
### APT Setup ###
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i apt-setup/non-free-firmware boolean true
d-i apt-setup/cdrom/set-first boolean false
d-i apt-setup/disable-cdrom-entries boolean true
d-i apt-setup/use_mirror boolean false
### Ignore USB Stick for Partitioning ###
debconf-set partman/ignore_device /dev/sda
### Disk Partitioning ###
d-i partman-auto/disk string /dev/nvme0n1
d-i partman-auto/method string regular
# Delete existing partitions
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-auto/initialize_disk_label boolean true
# Partition Layout
d-i partman-auto/expert_recipe string custom-partitioning :: \
100 100 100 fat32 \
$primary{ } $bootable{ } method{ efi } format{ } use_filesystem{ } filesystem{ vfat } mountpoint{ /boot/efi } \
. \
50000 50000 50000 ext4 \
$primary{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ / } \
. \
40000 40000 40000 ext4 \
method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /home } \
. \
5000 5000 5000 linux-swap \
method{ swap } format{ } \
. \
160000 160000 -1 ext4 \
method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /var } \
.
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm boolean true
### Package Installation ###
tasksel tasksel/first multiselect standard, ssh-server
d-i pkgsel/include string openssh-server
### Late Command ###
d-i preseed/late_command string \
mkdir -p /target/root/post_install; \
cp -R /target/media/cdrom/post_install/. /target/root/post_install/
### Popularity Contest ###
popularity-contest popularity-contest/participate boolean false
### GRUB Installation (UEFI) ###
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean false
d-i grub-installer/bootdev string /dev/nvme0n1
### Finish Installation ###
d-i finish-install/reboot_in_progress note
d-i debian-installer/exit/poweroff boolean true