Linux Mint Install Netboot PXE Guide Howto -

Linux Mint Install Netboot PXE Guide Howto

*Update so this doesn't work it must be something to do with the path of nfs or something else but the installer fails with "Installer crashed" at the end whereas with the CD/USB it works.

This assumes you've already installed and configured a separate PXE/DHCP server somewhere else and your /tftpboot directory is setup.

This is for Linux Mint 18.1 but generally applies to most versions although you may have tro change things like "casper" according to the code name of the current release in the directory specifications below.

This work occurs on the source tftp/pxe/dhcp server of course.

Assumptions/things to change

Check the IP 192.168.1.43 (change to your tftp/nfs server).

Step 1 - Setup Working Paths in /tftpboot

mkdir -p /tftpboot/images/linuxmintmount
mkdir -p /tftpboot/images/linuxmint18

cd /tftpboot/images/
wget http://download-url.com/linuxmint-18.1-mate-64bit.iso

 

Step 2 - Mount and copy appropriate files from .iso into /tftpboot


mount -o loop -t iso9660 linuxmint-18.1-mate-64bit.iso linuxmintmount/
cp -rp linuxmintmount/* linuxmint18

Step 3 - Setup your boot menu

vi /tftpboot/pxelinux.cfg/default

default menu.c32
prompt 0
timeout 300
ONTIMEOUT local

MENU TITLE PXE Menu
menu separator
LABEL LinuxMint 18
KERNEL images/linuxmint18/casper/vmlinuz
APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.1.43:/tftpboot/images/linuxmint18 initrd=images/linuxmint18/casper/initrd.lz nosplash --

Step 4 - Setup NFS

yum -y install nfs-utils

Specify the network range you want to access to the tftpboot over nfs or it will fail.

ln -s /tfpboot /srv/

vi /etc/exports

/srv/tftpboot    192.168.1.0/24(rw,root_squash,sync,no_subtree_check)

Setup your exports properly or you'll get this log error:

uxmint18): unmatched host
May 30 19:36:46 localhost rpc.mountd[3480]: refused mount request from 192.168.1.51 for /tftpboot/images/linuxmint18 (/tftpboot/images/linuxmint18): unmatched host

 

Things to double check

Make sure your firewall is off on the pxe server.


  • How to Update Linux /usr/share/misc/pci.ids
  • pcimodules and lspci not working alternative solution
  • How to disable Google Fonts in Wordpress
  • Unable to load dynamic library /usr/lib64/php/modules/php_openssl
  • mysqld in Linux hacked
  • W: GPG error: http://archive.debian.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA NO_PUBKEY 64481591B98321F9
  • cannot mount kvm ntfs image
  • h264 DVR security camera footage cannot be played
  • dhcpd.conf how to secure so only known and allowed clients will be given dhcpd IP address leases
  • Thunderbird E-mail List Blank White but e-mails still clickable and viewable
  • css responsive images
  • responsive table without changing much code solution
  • yum how to install old obsolete packages
  • PHP Howto Store Value of Included File Output Into Variable
  • PHP Migration from 5.3 to 5.4+ and dealing with deprecated functions
  • ffmpeg vidstab to stabilize video
  • userdel user userdel: cannot lock /etc/passwd; try again later.
  • mdadm how to mount inactive array
  • How to find and mount mdadm arrays automatically
  • M2Crypto.SSL.Checker.WrongHost: Peer certificate subjectAltName does not match host, expected fedora-archive.ip-connect.vn.ua, got DNS:mirror.ip-connect.vn.ua