Pxe loading ubuntu with cd-rom works, and when you change the kernel and initramfs it stops loading it swears that there are not enough casper scripts (these are vmlinuz and initrd that go to the ubuntu installer iso). To build the initrd of the initramfs directory there are none where can I get them? Need support for flash drives with file systems fat16 fat32, trying to put a new kernel on the pxe client. The kernel copied is loaded, and the initrd falls out in the kernel panic. I copy the casper scripts in initrd.lz and collect the error / cow format specified aufs and support found. Ntfs flash drives work mounted.

  • one
    for example, from the initrd from the installation disk image. - aleksandr barakin
  • yes from there I copied the collected other errors appeared - Dmitry Valerievich

2 answers 2

Unpack the isoshnik in the xubuntu folder in the root of your tftp-server in any convenient way.

 /var/lib/tftpboot/xubuntu ├── boot ├── casper ├── dists ├── install ├── isolinux ├── md5sum.txt ├── pics ├── pool ├── preseed └── README.diskdefines 

Content /var/lib/tftpboot/pxelinux.cfg/default

 label xubuntu-i386 menu label ^Xubuntu 16.04 i386 LiveNet/Install [WORK] kernel xubuntu/casper/vmlinuz initrd xubuntu/casper/initrd.lz append boot=casper language=en locale=ru_RU.UTF-8 vga=791 root=/dev/nfs netboot=nfs nfsroot=172.16.11.8:/var/lib/tftpboot/xubuntu/ 

A piece of /etc/exports responsible for sharing the TFTP server root via nfs:

 /var/lib/tftpboot *(ro,sync,no_subtree_check) 

If it is not clear - ask, I will add the answer.

  • need support for flash drives with file systems fat16 fat32 - Dmitry Valerievich
  • @ Dmitry Valeryevich, at what level? If you load a bubunt, she can both read and write on fat32. - don Rumata

Yes, you just had to install the casper package that allows you to make a live system bootable.