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

mount errors when preseeding stretch installer



Hi,

I am preseeding stretch installer (i386), and I am getting mount/umount errors right at the beginning, after hitting install in boot menu (see below). The installation is working just fine afterwards.

Could you please help me explaining where the messages come from?

++++
mount: mounting /dev/sda on /media failed: Invalid argument
umount: can't umount /media: Invalid argument
mount: mounting /dev/sda on /media failed: Invalid argument
mount: mounting /dev/sda1 on /media failed: Invalid argument
umount: can't umount /media: Invalid argument
mount: mounting /dev/sda1 on /media failed: Invalid argument
mount: mounting /dev/sda2 on /media failed: Invalid argument
umount: can't umount /media: Invalid argument
mount: mounting /dev/sda2 on /media failed: Invalid argument
mount: mounting /dev/sda5 on /media failed: Invalid argument
umount: can't umount /media: Invalid argument
mount: mounting /dev/sda5 on /media failed: Invalid argument
mount: mounting /dev/sda6 on /media failed: Invalid argument
umount: can't umount /media: Invalid argument
mount: mounting /dev/sda6 on /media failed: Invalid argument
++++


Below my preseed.cfg file:

d-i debian-installer/language string en
d-i debian-installer/country string DE
d-i debian-installer/locale string en_US.UTF-8
d-i keyboard-configuration/xkb-keymap select us
d-i netcfg/choose_interface select eth0
d-i netcfg/link_wait_timeout string 3
d-i netcfg/dhcp_timeout string 3
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/get_ipaddress string 192.168.1.42
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.1.1
d-i netcfg/get_nameservers string 192.168.1.1
d-i netcfg/confirm_static boolean true
d-i netcfg/get_hostname string xparc
d-i netcfg/get_domain string de.amano.eu
d-i netcfg/hostname string xparc
d-i netcfg/wireless_wep string
d-i hw-detect/load_firmware boolean false
d-i passwd/make-user boolean false
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean false
d-i partman-auto/init_automatically_partition select some_device
d-i partman-auto/method string regular
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-md/confirm boolean true
d-i partman-md/confirm_nooverwrite boolean true
d-i partman-auto/expert_recipe string                         \
      boot-root ::                                            \
              100 500 1000 ext4                               \
                      $primary{ } $bootable{ }                \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext4 }    \
                      mountpoint{ /boot }                     \
              .                                               \
              500 10000 1000000000 ext4                       \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext4 }    \
                      mountpoint{ / }                         \
              .                                               \
              64 512 300% linux-swap                          \
                      method{ swap } format{ }                \
              .



d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-md/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i base-installer/kernel/image string linux-image-686-pae
d-i apt-setup/use_mirror boolean false
d-i apt-setup/services-select multiselect
tasksel tasksel/first multsiselect standard
d-i pkgsel/include string x1 x2
d-i pkgsel/exclude exim4
popularity-contest popularity-contest/participate boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
proftpd-basic shared/proftpd/inetd_or_standalone select standalone
wireshark-common wireshark-common/install-setuid boolean false

d-i preseed/late_command string \
mkdir -p /target/var/www/repos/apt/amano/debian/ ; \
cp -r /cdrom/dists /cdrom/pool /cdrom/conf /cdrom/db /target/var/www/repos/apt/amano/debian/ ; \
cp -r /cdrom/raspbian /target/var/www/repos/apt/amano/ ; \
cp /cdrom/apt/* /target/etc/apt/sources.list.d/ ; \
chmod -R ug+rw /target/etc/apt/sources.list.d/* /target/var/www/repos/apt/amano/ ; \
rm -fr /target/var/www/repos/apt/amano/debian/dists/stretch ; \
rm -f /target/var/www/repos/apt/amano/debian/dists/stable ; \
echo "" > /target/etc/apt/sources.list ; \
in-target update-rc.d exim4 disable ; \
in-target update-rc.d proftpd disable ; \
in-target update-rc.d smbd disable ; \
in-target update-rc.d nmbd disable ; \
in-target update-rc.d samba-ad-dc disable ; \
in-target update-rc.d nfs-kernel-server disable ; \
in-target update-rc.d nfs-common disable ; \
in-target update-rc.d lightdm disable ; \
in-target systemctl set-default multi-user.target ; \
in-target systemctl disable getty@tty1.service ; \
in-target sed -i '/media\/usb/d' /etc/fstab ;



Thanks

--
Bogdan Veringioiu

Amano Parking Europe N.V.
Uersfeld 24
52072 Aachen, Germany

e-mail:   bogdan.veringioiu@amano.eu
web:      www.amano.eu


Reply to: