无法使用PXE安装12.10

我正在尝试从本地服务器安装带有PXE(Cobbler)和Kickstart的Ubuntu 12.10。 在某些时候,安装停止告诉我它无法从镜像上传文件。 工作站上的安装日志看起来很好,这是日志的结尾:

net-retriever: gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key " anna [4222]: cat: can't open '/tmp/net-retriever-4226-deduplicate/*': No such file or directory 

我没有在apache的日志中看到任何错误(404)。

我有一个类似的设置12.04工作正常,唯一的区别是使用Ubuntu的备用CD。 对于12.10,我使用默认的ISO我手动将netboot文件夹添加到我的安装映像(netboot.tar.gz uncompressed to install / netboot文件夹)。

PXE条目如下所示:

 LABEL ubuntu-12.10-i386 kernel /images/ubuntu-12.10-i386/linux MENU LABEL ubuntu-12.10-i386 append initrd=/images/ubuntu-12.10-i386/initrd.gz ksdevice=bootif lang= preseed/url=http://10.0.0.1/cblr/ks_mirror/ubuntu-12.10-i386/preseed/ubuntu.seed locale=en_US text kssendmac priority=critical ks=http://10.0.0.1/cblr/svc/op/ks/profile/ubuntu-12.10-i386 

Kickstart文件:

 #Generated by Kickstart Configurator #platform=x86 #System language lang fr_CA #Language modules to install langsupport fr_CA #System keyboard keyboard ca_multix #System mouse mouse #System timezone timezone America/Montreal #Root password rootpw --disabled #Initial user user administrateur --fullname "user" --iscrypted --password *** #Reboot after installation reboot #Use text mode install text #Install OS instead of upgrade install #Use CDROM installation media #cdrom # Use network installation url --url=http://10.0.0.1/cblr/ks_mirror/ubuntu-12.10-i386 #System bootloader configuration bootloader --location=mbr #Clear the Master Boot Record zerombr yes #Partition clearing information clearpart --all --initlabel #Disk partitioning information part /boot --fstype ext4 --size 512 --asprimary part swap --size 4096 part / --fstype ext4 --size 30720 part /home --fstype ext4 --size 1 --grow #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 %pre exec  /dev/tty6 2> /dev/tty6 chvt 6 MACHINE="" while [ "$MACHINE" == "" ]; do echo -n "Machine name: " read MACHINE done echo "MACHINE=$MACHINE" > /tmp/answers.txt DOMAINE="" while [ "$DOMAIN" == "" ]; do echo -n "Domain name: " read DOMAIN done echo "DOMAIN=$DOMAIN" >> /tmp/answers.txt chvt 1 exec  /dev/tty1 2> /dev/tty1 ... 

使用apt-mirror下载缺少的存储库main / debian-installer (大约50 MB),这是netboot安装所必需的。 它曾在过去的CD上提出过。

sudo apt-get install apt-mirror

注释掉/etc/apt/mirror.list中的所有deb *行并添加以下内容

deb http://archive.ubuntu.com/ubuntu quantal main/debian-installer

deb-amd64 http://archive.ubuntu.com/ubuntu quantal main/debian-installer为amd64版本的Ubuntu。

并执行sudo -u apt-mirror apt-mirror

稍等一下,然后将下载的文件从/var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu复制到netboot安装点。 例如,

cp -a /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu /var/www/

其中/ var / www已经包含带有dists和pool子目录的ubuntu目录。