我已经试过了我能想到的一切,但我一定是错过了什么。
我使用的是PXE安装程序,它从web服务器中提取所有内容来安装16.04。
“默认”文件包含:
LABEL Ubuntu 16.04 Desktop
MENU LABEL Xenial 16.04 Desktop
KERNEL 1604/ubuntu-installer/amd64/linux
append vga=normal ks=http://192.168.1.251/ks-1604-64-desktop.cfg initrd=1604/ubuntu-installer/amd64/initrd.gz biosdevname=0 hostname=desktop在那里链接的内核由TFTP提供,是Ubuntu网站上“网络安装”映像的rsync镜像。这和实际安装的iso映像都是今天抓取的。
我的Kickstart文件包括:
preseed --owner d-i live-installer/net-image string http://192.168.1.251/ubuntu-1604.amd64/install/filesystem.squashfs但是,当它到达安装程序中获取filesystem.squashfs的点时,它就会死掉,并将其记录在syslog中:
base-installer: info: Downloading /cdromhttp://192.168.1.251/ubuntu-1604.amd64/install/filesystem.squashfs to /tmp/live-installer/filesystem.squashfs当然会失败,因为url不应该加上"/cdrom“。我可以看出它正在从预设行读取到squashfs的路径,但在我的任何配置文件中都没有"cdrom“这个词。
我还尝试将路径添加为附加选项,这对于我的14.04安装非常有用,如下所示:
append vga=normal ks=http://192.168.1.251/ks-1404-64-desktop.cfg initrd=ubuntu-installer/amd64/initrd.gz live-installer/net-image=http://192.168.1.251/ubuntu.1404.amd64/install/filesystem.squashfs biosdevname=0 hostname=desktop对于如何在16.04覆盖/cdrom的前缀有什么想法吗?
发布于 2016-05-05 08:49:26
我找到了解决办法。若要编辑fetch-url文件,可在可变url中修剪/cdrom字符串.然后重新整理一下,一切看起来都很好。我刚刚测试过了。这很酷。谢谢孟达和我一起调查。
https://askubuntu.com/questions/763363
复制相似问题