ubuntu22.04桌面版ipxe自动安装异常咨询

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lyyfh
帖子: 2
注册时间: 2024-01-18 17:48
系统: windows

ubuntu22.04桌面版ipxe自动安装异常咨询

#1

帖子 lyyfh » 2024-01-18 18:02

root@ly-virtual-machine:/var/www/html# cat preseed.seed
#debian-installer/locale string en_US
d-i debian-installer/language string en
d-i debian-installer/country string US
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string us
d-i keyboard-configuration/xkb-keymap select us
d-i keyboard-layout/xkb-keymap select us

tasksel tasksel/first multiselect standard
#配置用户
d-i passwd/user-fullname string ly
d-i passwd/username string ly
d-i passwd/user-password password 123
d-i passwd/user-password-again password 123
d-i passwd/auto-login boolean true
#d-i passwd/make-user boolean false
d-i passwd/root-lohin boolean true
d-i passwd/root-password password 123
d-i passwd/root-password-crypted password 123


d-i mirror/suite string lenny


tasksel tasksel/first multiselect standard

#配置网络
d-i netcfg/choose_interface select auto
d-i netcfg/dhcp_timeout string 45
d-i clock-setup/utc boolean true
#同步时间
d-i time/zone string Asia/Shanghai
d-i clock-setup/ntp-server string ntp.ubuntu.com
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
#最小化安装
#tasksel tasksel/first multiselect minimal
#tasksel tasksel/first multiselect standard


#标准化分区
#d-i partman-auto/choose_recipe select atomic
#d-i partman-auto/choose_recipe select boot-root
#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-auto/method string regular
d-i partman-auto/disk string /dev/sda

d-i partman-auto/expert_recipe select boot-root :: \
500 500 500 fat32 \
$primary{ } \
method{ efi } \
format{ } \
. \
100 100 100 ext4 \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
. \
30000 80 30000 ext4 \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
1000 70 -1 ext4 \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /data } \
.




d-i partman-auto/choose_recipe boot-root

d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish partitioning and write changes to disk
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/default_filesystem string ext4
d-i partman/mount_style select uuid

#是否自动升级
d-i pkgsel/upgrade select none

#d-i debian-installer/exit/halt boolean false
#d-i debian-installer/exit/poweroff boolean true

d-i finish-install/reboot_after_install boolean true

这上面是我的preseed 文件 如何去跳过让选择Normal installation 这一步呢 见附件1 以及上面的preseed文件分区是不是有问题啊 大佬 自动分区完成后进不去系统
回复