ansible-os-autoinstall icon indicating copy to clipboard operation
ansible-os-autoinstall copied to clipboard

I want to use preseed on vmware, but partitions always fail, prompting that there is no root file system

Open guoyanzhang0817 opened this issue 5 years ago • 2 comments

I want to use preseed on vmware, but partitions always fail, prompting that there is no root file system

guoyanzhang0817 avatar Jan 13 '19 16:01 guoyanzhang0817

What is block device vmware provides ? By default preseed uses /dev/sda. I've also updated README because find out that drive host variable was not described.

sergevs avatar Jan 14 '19 09:01 sergevs

I am unclear.I just create an empty vmware machine,and set network connection to bridged, set MAC of the vmare machine using cable network card of the host machine.nothing else has changed. my preseed.cfg is as follows: #d-i live-installer/net-image string http://192.168.1.92/extrafiles

locale sets language and country

d-i debian-installer/locale string zh_CN

keyboard selection

d-i keyboard-configuration/xkb-keymap select us

network configuration

mirror settings

d-i mirror/country string manual d-i mirror/protocol string http d-i mirror/http/hostname string 192.168.1.92 d-i mirror/http/directory string /debianiso d-i mirror/http/proxy string http://192.168.1.92 d-i mirror/udeb/suite string stretch

clock and time zone setup

d-i clock-setup/utc boolean false d-i time/zone string Asia/Shanghai

partitioning

d-i partman-auto/disk string /dev/sda d-i partman-auto/method string regular d-i partman-auto/choose-recipe string atomic d-i partman-partitioning/confirm_write_new_label boolean true d-i partman/choose_partition string finish d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true

account setup

d-i passwd/root-login boolean true d-i passwd/root-password password 123456 d-i passwd/root-password-again password 123456 d-i passwd/make-user boolean false d-i user-setup/encrypt-home boolean false d-i user-setup/allow-password-weak boolean true

package selection

tasksel tasksel/first multiselect standard,debian-servr d-i pkgsel/include string openssh-server d-i pkgsel/upgrade select none d-i pkgsel/language-packs multiselect en,zh d-i pkgsel/update-policy select none

boot loader installation

d-i grub-installer/only_debian boolean true

finishing up the installation

d-i finish-install/reboot_in_progress note

guoyanzhang0817 avatar Jan 14 '19 13:01 guoyanzhang0817