Tag: preseed

安装期间忽略预置文件

我已经很好地遵循了这个文档( 自定义Ubuntu安装程序 /具体的详细信息指南: https ://askubuntu.com/a/29632/36927),但它似乎忽略了我创建的preseed.cfg文件。 我在initrd中重新构建它(按照指示)并且我也尝试将其作为引导选项(/cdrom/preseed.cfg)附加,这两种方式都没有使用preseed.cfg文件中的选项。 我已经通过让我的服务器中的late_command wget文件,以及在目标/文件系统上抛出一个文本文件来测试。 我真的希望我错过了一些简单的东西……但到目前为止,我似乎无法弄清楚它会是什么。 谢谢

使用preseed安装ubuntu

我正在尝试使用preseed.cfg进行无人值守的ubuntu安装。 我按照http://searchitchannel.techtarget.com/feature/Performing-an-automated-Ubuntu-install-using-preseeding中的说明进行操作 在引导选项中,我将参数传递为 url=http://path/to/localhost/preseed.cfg locale=en_US console-setup/ask_detect=false console-setup/layoutcode=us hostname=unassigned-hostname domain=unassigned-domain initrd=/install/initrd.gz quiet — 但是这会返回错误/install/initrd.gz is not found 。 因此我将参数更改为: url=http://path/to/localhost/preseed.cfg initrd=/casper/initrd.gz 这提示我一个错误initramfs错误。 因此我将参数更新为: url=http://path/to/localhost/preseed.cfg boot=casper initrd=/casper/initrd.gz 这将停止语言选择时的自动安装。 这里出了什么问题?

Preseed不会在Ubuntu 14.04上自动选择网络接口; 自动安装需要人工输入

我正在尝试从PXE安装无人值守的Ubuntu Server 14.04安装。 我最初尝试使用Kickstart。 除了分区管理器需要用户确认,因此没有完全无人值守安装(即我需要确认可以在安装过程中重新分区磁盘)时,这没用。 一位同事建议,为了细粒度控制,我最好使用Preseed。 不幸的是,preseed安装目前卡在choose_interface部分。 /tftpboot/pxelinux.cfg/default的启动说明: KERNEL images/ubuntu_server_1404/install/netboot/ubuntu-installer/amd64/linux append auto=true vga=normal initrd=images/ubuntu_server_1404/install/netboot/ubuntu-installer/amd64/initrd.gz url=http://myNAS/pxe/preseed.cfg quiet — 能够执行前几行(例如语言/键盘选择) di debian-installer/locale string en_US di console-setup/ask_detect boolean false di console-setup/layoutcode string us di keyboard-configuration/layoutcode string us 但choose_interface不会自动运行: 我已经尝试过指定网络接口: di netcfg/choose_interface select em1 和自动选择: di netcfg/choose_interface select auto 这些设置都不起作用:安装需要人工输入才能继续。 你能看出我做错了什么吗?

如何在一个磁盘上预置多个分区; / tmp / data / usr swap?

试图在12.04 64bit上播种,这应该是一个基本设置: / dev / sda – 唯一使用的驱动器 / – rootfs – 100GB / boot – 1GB / tmp – 10GB / data – 应占用所有可用空间 交换 – 10GB – di partman-auto/expert_recipe string \ boot-root :: \ 1000 50 1000 ext4 \ $primary{ } $bootable{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ […]

如何在ubuntu-server preseed中配置两个网卡?

我有一个脚本,通过PXE和preseeding将Ubuntu服务器安装到新的VirtualBox实例。 它工作得很好,我可以运行一个完整的安装,并带有一个网卡的新机器。 如何使预先安装的安assembly置两个或更多网卡? 请问di netcfg/choose_interface会让我指定两个设备吗? 我尝试在di preseed/late_command更改/etc/network/interfaces ,但是我无法让它工作。 有没有更好的方法为虚拟机提供两个NIC?

如何自定义Ubuntu安装程序?

我想知道如何自定义Ubuntu安装程序不自定义Ubuntu ,我只想修改安装程序。 我们这里有很多开发人员的大环境,因为我们不使用Windows,我想自定义安装程序以自动将时区设置为NYC,将键盘布局设置为英语USA,将公司徽标放入安装程序等。 。