我正在尝试为一些Ubuntu 12.04工作站设置一个最小安装,在这里我可以popup一个CD-ROM,打几次,然后让它为我成像和部署一个现成的系统。
该系统有3个驱动器,但由于Ubuntu的自动安装方法只能做一个驱动器,我只是试图自动分区的第一个驱动器。 这些机器已经有了已经定义的分区,第一个分区是我想要保留的公用分区,而驱动器上的其余分区应该被吹走并用于Ubuntu安装。
总结一下,我想:
这是我的问题 – Ubuntu Kickstart允许我删除所有现有的Linux分区,但是不使用指定的分区信息,我会提示是否使用引导选项或手动。 无论我现在select什么,它创build的分区都使用整个驱动器,而不是159 GB。 如果我通过预置来使用Ubuntu partman,那么它没有一个选项可以把Linux分区吹走,这完全没有。
我一直在尝试使用组合的方法,在其中指定一个ks.cfg文件,其中包含预定义的命令,但我仍然被提示为“引导或手动”选项。 有任何想法吗?
我正在使用备用安装光盘12.04.2,amd64。
这是我的ks.cfg文件:
#Generated by Kickstart Configurator #platform=AMD64 or Intel EM64T #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard us #System mouse mouse #System timezone timezone --utc America/New_York preseed clock-setup/ntp boolean false #Root password rootpw --disabled #Initial user <snip> #Reboot after installation reboot #Use text mode install text #Install OS instead of upgrade install #Use CDROM installation media cdrom #System bootloader configuration bootloader --location=mbr #Clear the Master Boot Record zerombr yes #Partition clearing information clearpart --linux --initlabel #Disk partitioning information # Tried these two to fix the 'Guided' prompt but no dice. # preseed partman-auto/init_automatically_partition select manual # preseed partman-auto/disk string /dev/sda part / --fstype ext4 --size 159948 --asprimary --ondisk sda #System authorization infomation auth --useshadow --enablemd5 #Network information network --bootproto=dhcp --device=eth0 #Firewall configuration firewall --disabled #Do not configure the X Window System skipx