制作ubuntu16.04 自动安装iso镜像 二
isolinux.cfg
default autoinstall
prompt 0
timeout 100
menu title Custom Live CD
menu background splash.png
menu color title 1;37;44
label live
menu label live - boot the Live System
kernel /casper/vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd quiet splash --
label xforcevesa
menu label xforcevesa - boot Live in safe graphics mode
kernel /casper/vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper xforcevesa initrd=/casper/initrd quiet splash --
label install
menu label install - start the installer directly
kernel /casper/vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity initrd=/casper/initrd quiet splash --
label textonly
menu label textonly - boot Live in textonly mode
kernel /casper/vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper textonly initrd=/casper/initrd quiet --
label debug
menu label debug - boot the Live System without splash and show boot info
kernel /casper/vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd nosplash --
label autoinstall
menu label autoinstall - auto install ubuntu
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/autoinstall.seed boot=casper debian-installer/locale=zh_CN kdb-chooser/method=us console-setup/layoutcode=us automatic-ubiquity quiet splash --
root@ubuntu:/opt/ubuntu# vi preseed/autoinstall.seed
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i console-configuration/layoutcode string us
d-i keyboard-configuration/modelcode string SKIP
d-i clock-setup/utc boolean false
d-i time/zone string Asia/Shanghai
d-i netcfg/choose_interface select auto
d-i netcfg/dhcp_failed note
d-i netcfg/dhcp_options select Do not configure the network at this time
d-i netcfg/get_hostname string kankanai
d-i netcfg/get_domain string kankanai-domain
d-i netcfg/wireless_wep string
d-i mirror/country string china
d-i mirror/http/hostname string kankan
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
d-i clock-setup/ntp boolean true
d-i partman-auto/disk string /dev/sda
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-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i passwd/user-fullname string ubuntu password ubuntu
d-i passwd/username string ubuntu
d-i passwd/user-password password ubuntu
d-i passwd/user-password-again password ubuntu
d-i lilo-installer/skip boolean true
d-i grub-installer/only_debian boolean true
d-i finish-install/reboot_in_progress note
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)