使用Ubuntu 14.04进行PXE启动

我目前正在使用PXE服务器来通过网络执行许多不同的操作系统安装。

我有一个function齐全的Ubuntu 13.10直播环境,我想试试14.04(使用最新的每日图像)。

但是使用14.04,使用完全相同的目录结构和访问权限,相同的pxelinux.cfg / default文件条目(见下文),引导挂起并停止并出现内核崩溃错误

有任何想法吗? 我差点搜索,到处搜索,没有发现任何线索……

我的pxelinux.cfg /默认文件:

LABEL Ubuntu 13.10 Live KERNEL images/ubuntu/casper/vmlinuz.efi APPEND boot=casper vga=normal rootfstype=nfs netboot=nfs nfsroot=192.168.XX.XX:/volume1/tftpboot/images/ubuntu fetch=tftp://192.168.XX.XX/tftpboot/images/ubuntu/casper/filesystem.squashfs ramdisk_size=1048576 debian-installer/language=fr console-setup/layoutcode=fr console-setup/variantcode=oss quiet splash initrd=images/ubuntu/casper/initrd.lz -- LABEL Ubuntu 14.04 Live KERNEL images/ubuntu14/casper/vmlinuz.efi APPEND boot=casper vga=normal rootfstype=nfs netboot=nfs nfsroot=192.168.XX.XX:/volume1/tftpboot/images/ubuntu14 fetch=tftp://192.168.XX.XX/tftpboot/images/ubuntu14/casper/filesystem.squashfs ramdisk_size=1048576 debian-installer/language=fr console-setup/layoutcode=fr console-setup/variantcode=oss quiet splash initrd=images/ubuntu/casper/initrd.lz -- 

提前感谢您的想法(以及一点运气的解决方案)

以下为我工作:

 LABEL ubuntu 14.04_x86_64 
        菜单标签安装Ubuntu 14.04(64位)
         KERNEL http://10.1.34.245/pxe/images/ubuntu/14.04/x86_64/vmlinuz.efi
         APPEND vga =正常启动= casper netboot = nfs nfsroot = 10.1.34.245:/var/nfs/ubuntu/14.04/x86_64 initrd = http://10.1.34.245/pxe/images/ubuntu/14.04/x86_64/initrd.lz ip = dhcp  - 

ubuntu-14.04-desktop-amd64.iso安装在/var/nfs/ubuntu/14.04/x86_64

/etc/exports的以下行:

/var/nfs/ubuntu/14.04/x86_64 *(no_root_squash,ro,async,insecure)

我遇到了同样的问题,经过几个小时后我才开始运行:

从ubuntu 14.04.2 netboot.tar.gz映像解压缩并复制pxelinux.0

在/ mnt / loop mount -o loop中安装ubuntu-14.04.2-desktop-amd64.iso映像ubuntu-14.04.2-desktop-amd64.iso / mnt / loop

从已安装的iso映像复制vmlinux和initrd

 cp /mnt/loop/casper/vmlinuz.efi /srv/tftp/needed_files/ cp /mnt/loop/casper/initrd.lz /srv/tftp/needed_files/ 

我在/ etc / exports中使用这些选项启动了nfs:

/ mnt / loop *(no_root_squash,ro,async,secure)

然后,最后,我可以成功运行这个/srv/tftp/pxelinux.cfg/default文件:

 DEFAULT Ubuntu-14.04.2-desktop-amd64 LABEL Ubuntu-14.04.2-desktop-amd64 MENU LABEL Install Ubuntu 14.04.2 (64-bit) KERNEL needed_files/vmlinuz.efi APPEND vga=normal boot=casper netboot=nfs nfsroot=192.168.98.1:/mnt/loop initrd=needed_files/initrd.lz --