net*_*ope 21 ubuntu automated-install ubuntu-10.04 preseed
安装介质:ubuntu-10.04-desktop-i386.iso
我尝试了很多不同的引导参数,但安装程序要么忽略了预置配置,要么直接将自己作为 LiveCD 引导。
我尝试过的引导参数示例:
auto url= http://mydomain.com/path/preseed.cfg boot=casper only-ubiquity initrd=/casper/initrd.lz 安静的飞溅——
如果我删除only-ubiquity
,它会作为 LiveCD 启动。如果我删除boot=casper
,它将无法启动。如果我添加vga=normal locale=en_US console-setup/layoutcode=us console-setup/ask_detect=false interface=auto
,它仍然无法进行自动安装。如果我删除auto
,它是一样的。
启动此类安装的正确引导参数是什么?
从服务器托管的 apache 日志中preseed.cfg
,我看到安装程序在获取预置文件时没有问题。我的预置文件几乎与https://help.ubuntu.com/10.04/installation-guide/example-preseed.txt 中的文件相同。此外,我已经运行debconf-set-selections -c preseed.cfg
以确保预置文件是正确的。
net*_*ope 33
好的...我已经通过实验找到了答案。
使用服务器或备用 ISO 而不是桌面 ISO!Preseed 不适用于桌面 ISO。使用linux-generic
内核和 taskselubuntu-desktop
获得桌面安装。
该auto
引导参数不工作(至少对于I386)。使用auto=true priority=critical
来代替。
与官方文档相反,官方文档指出“如果 URL 缺少协议,则假定http://
为http”,这是必需的,否则安装程序将无法获取预置文件。
如果您有多个网卡,请添加,interface=auto
否则安装程序会询问您使用哪个接口。
因此,所需的最小引导参数是
auto=true priority=critical url=http://mydomain.com/path/preseed initrd=/install/initrd.gz
如果我有时间,我肯定会向启动板发布文档改进请求。
归档时间: |
|
查看次数: |
20376 次 |
最近记录: |