启动参数似乎不适用于 ipxe 和 daily image

启动参数似乎不适用于 ipxe 和 daily image

我正在尝试使用 ipxe 自动安装 debian buster,似乎启动参数在 ipxe 菜单中不起作用。我总是得到语言部分。所以未加载预置。这是 ipxe 菜单中的相关条目:

:d10-dc-node
set base-url https://d-i.debian.org/daily-images/amd64/daily/netboot/debian-installer/amd64
kernel ${base-url}/linux
initrd ${base-url}/initrd.gz
imgargs linux vga=normal root=/dev/ram rw preseed/url=tftp://my.ipxe.server/preseed/debian_buster_node.seed netcfg/choose_interface=eno1 debian-installer/framebuffer=false debian-installer/locale=en_US kbd-chooser/method=us auto-install/enable=true debconf/frontend=noninteractive debconf/priority=critical console-setup/ask_detect=false keyboard-configuration/modelcode=pc105 keyboard-configuration/layoutcode=us keyboard-configuration/variant=USA hostname=ubuntu ---

这是预置部分:

### Keyboard
d-i                 console-setup/ask_detect                        boolean                 false
d-i                 keyboard-configuration/layout                   select                  USA
d-i                 keyboard-configuration/variant                  select                  USA
d-i                 keyboard-configuration/modelcode                string                  pc105
d-i                 keyboard-configuration/xkb-keymap               select                  en
d-i                 keyboard-configuration/layout                   string                  English

### Locales
d-i                 debian-installer/country                        string                  DE
d-i                 debian-installer/language                       string                  en
d-i                 debian-installer/locale                         string                  en_US.UTF-8
d-i                 localechooser/supported-locales                 multiselect             en_US.UTF-8, de_DE.UTF-8

当我尝试将 base-url 设置为http://ftp.de.debian.org/debian/dists/buster/main/installer-amd64/current/images/netboot/debian-installer/amd64它时,它可以正常工作,直到加载模块,然后我收到以下错误:"No kernel modules were found",我猜这是因为内核版本不同。

答案1

我终于可以使用以下内核参数在完全无人值守的情况下安装 debian buster:

:d10-dc-node
set base-url https://d-i.debian.org/daily-images/amd64/daily/netboot/debian- 
installer/amd64
kernel ${base-url}/linux
initrd ${base-url}/initrd.gz
initrd tftp://my.ipxe.server/preseed/debian_buster_node.seed /tmp/debian_buster_node.seed
imgargs linux auto vga=normal root=/dev/ram rw file=/tmp/debian_buster_node.seed interface=eno1 fb=false debian-installer=en_US.UTF-8 locale=en_US.UTF-8 kbd-chooser/method=us auto-install/enable=true debconf/frontend=noninteractive priority=critical console-setup/ask_detect=false keyboard-configuration/xkb-keymap=us keyboard-configuration/modelcode=pc105 keyboard-configuration/layoutcode=us keyboard-configuration/variant=USA ---
boot

网络配置和主机名将使用 DHCP 设置。

谢谢

相关内容