2012-01-29 12:40:55 |
TJ |
description |
In previous Ubuntu releases PXE/NFS netboots would correctly configure the network interface.
In Oneiric ipconfig fails to configure the interface because $DEVICE isn't defined for configure_networking{} in '/scripts/functions'
The solution is to add the pxelinux "ipappend 2" option to the menu entries in the PXE boot menu, e.g:
LABEL 11.10 Oneiric 32-bit Ubuntu Live
kernel iso-image/ubuntu-11.10-desktop-i386/casper/vmlinuz
ipappend 2
append root=/dev/nfs boot=casper netboot=nfs nfsroot=10.254.251.2:/srv/boot/iso-image/ubuntu-11.10-desktop-i386 initrd=iso-image/ubuntu-11.10-desktop-i386/casper/initrd.lz
'ipappend' causes "BOOTIF=01-<bootp-mac-address>" to be added to the kernel command line which is used by '/init' to set $DEVICE |
In previous Ubuntu releases PXE/NFS netboots would correctly configure the network interface.
In Oneiric ipconfig fails to configure the interface because $DEVICE isn't defined for configure_networking() in '/scripts/functions'
The solution is to add the pxelinux "ipappend 2" option to the menu entries in the PXE boot menu, e.g:
LABEL 11.10 Oneiric 32-bit Ubuntu Live
kernel iso-image/ubuntu-11.10-desktop-i386/casper/vmlinuz
ipappend 2
append root=/dev/nfs boot=casper netboot=nfs nfsroot=10.254.251.2:/srv/boot/iso-image/ubuntu-11.10-desktop-i386 initrd=iso-image/ubuntu-11.10-desktop-i386/casper/initrd.lz
'ipappend' causes "BOOTIF=01-<bootp-mac-address>" to be added to the kernel command line which is used by '/init' to set $DEVICE |
|