无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 6350|回复: 12

[求助] 求助一下preseed的问题

[复制链接]
发表于 2020-12-27 15:17:35 | 显示全部楼层 |阅读模式
ubuntu-16.04.7-server-amd64  用pxe引导netboot来安装
  kernel http://${next-server}/ubuntu/linux
  initrd http://${next-server}/ubuntu/initrd.gz
  chain linux initrd=initrd.gz   auto=true priority=critical interface=auto netcfg/no_default_route=true  netcfg/get_nameservers=192.168.147.1 preseed/url=http://${next-server}/ubuntu/preseed.cfg debian-installer/allow_unauthenticated=true  DEBCONF_DEBUG=5 --- quie
  boot




preseed文件中,选的中本地源了,

d-i mirror/country string manual

d-i mirror/http/hostname string 192.168.147.1
d-i mirror/http/directory string /ubuntu16

d-i mirror/udeb/suite string xenial

按网上说的,加了一个,就不要不进行gpg什么认证了
debian-installer/allow_unauthenticated=true

d-i debian-installer/allow_unauthenticated  true

看日志,
net-retriever  gpgv good signature from ubuntu cd inage tutomatic signing key

然后下载http://192.16.147.1/ubuntu16/dis ... y-amd64/packages.gz这个到tmp,接下来就是会报
net-retriever: error:  main\debian-installer\binary-amd64\packages.gz not found int /tmp/net-retriever-3751-Rdlease (for sha1 checksum)


有没哪个大大给解惑一下的

发表于 2020-12-27 16:48:37 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

发表于 2020-12-27 20:19:00 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

发表于 2020-12-28 14:02:59 | 显示全部楼层
試試手動將鏡站改為官方網站,如可以安裝就是iso有問題或是bug。

除非驅動問題,建議更新版本,16有點舊了
回复

使用道具 举报

发表于 2020-12-28 17:13:23 | 显示全部楼层
我也没搞成功这个自动安装的,只是pxe能启动,可以手动选择安装
回复

使用道具 举报

发表于 2020-12-28 18:21:12 | 显示全部楼层

点评

# do not enable live installer, use normal instead d-i live-installer/enable boolean false 文档中就看到了这个 ######################### 第三部分:镜像设置 ########################### d-i  详情 回复 发表于 2020-12-28 21:33
回复

使用道具 举报

 楼主| 发表于 2020-12-28 21:33:55 | 显示全部楼层
hkkitlee 发表于 2020-12-28 18:21
http://www.vm.ibm.com/education/lvc/lvc0803.pdf

# do not enable live installer, use normal instead
d-i live-installer/enable boolean false

文档中就看到了这个

#########################   第三部分:镜像设置  ###########################

d-i mirror/country string manual
d-i mirror/http/hostname string 192.168.147.1
d-i mirror/http/directory string /ubuntu18
d-i mirror/http/proxy string

d-i live-installer/net-image string /http://192.168.147.1/ubuntu18/casper/filesystem.squashfs
d-i live-installer/enable boolean normal
d-i apt-setup/restricted boolean false
d-i apt-setup/universe boolean false
d-i apt-setup/backports boolean false
d-i apt-setup/proposed boolean false
d-i apt-setup/security_host string

# Values shown below are the normal defaults.
d-i apt-setup/services-select multiselect security
d-i apt-setup/security_host string mirrors.aliyun.com
d-i apt-setup/security_path string /ubuntu


——————————————————————
我加了这个,好像不生效,还是直接从我本地的http里开始安装的, 111.png


这个preseed,可是真的难写

ubuntu-server.seed.rar

6.48 KB, 下载次数: 4, 下载积分: 无忧币 -2

去掉rar

点评

恭喜你終於成功。 學多了就是師父,懂了就不難。  详情 回复 发表于 2020-12-28 22:46
回复

使用道具 举报

发表于 2020-12-28 22:46:34 | 显示全部楼层
a22124497 发表于 2020-12-28 21:33
# do not enable live installer, use normal instead
d-i live-installer/enable boolean false

恭喜你終於成功。
學多了就是師父,懂了就不難。

点评

可以给一个你用的preseed.cgf的例子不,学习一下  详情 回复 发表于 2020-12-29 10:20
回复

使用道具 举报

 楼主| 发表于 2020-12-29 10:20:01 | 显示全部楼层
hkkitlee 发表于 2020-12-28 22:46
恭喜你終於成功。
學多了就是師父,懂了就不難。

可以给一个你用的preseed.cgf的例子不,学习一下

点评

已經沒用很久... 伺服器一般不會不調整就大批量安裝。 大批量桌面機倒不如用clonezilla經p2p複製出來。(改個主機名總比你經網絡安裝快) 遠程安裝preseed也幫不到忙。  详情 回复 发表于 2020-12-29 13:22
回复

使用道具 举报

发表于 2020-12-29 13:22:03 | 显示全部楼层
a22124497 发表于 2020-12-29 10:20
可以给一个你用的preseed.cgf的例子不,学习一下

已經沒用很久...
伺服器一般不會不調整就大批量安裝。
大批量桌面機倒不如用clonezilla經p2p複製出來。(改個主機名總比你經網絡安裝快)
遠程安裝preseed也幫不到忙。
回复

使用道具 举报

发表于 2020-12-31 08:55:53 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

发表于 2021-2-25 16:06:03 | 显示全部楼层
我也是,就是不从局域网做好的apache2上下镜像,但是从外网下是好使的
回复

使用道具 举报

发表于 2021-5-10 14:22:40 | 显示全部楼层
支持一下。。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-3-29 19:33

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表