Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
guoyanzhang0817 opened this issue Jan 13, 2019 · 2 comments

Comments

@guoyanzhang0817
Copy link

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

@sergevs
Copy link
Owner

sergevs commented Jan 14, 2019

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.

@guoyanzhang0817
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants