Setting Up A PXE Install Server For Multiple Linux Distributions With Ubuntu Edgy Eft - Page 4
On this page
7 Add Debian Sarge Netboot
Next we download the Debian Sarge netboot files and put them in /var/lib/tftpboot/debian/sarge like this:
cd /tmp
lftp -c "open http://ftp.de.debian.org/debian/dists/sarge/main/installer-i386/current/images/; mirror netboot/"
cd netboot/
mv debian-installer/ sarge
mkdir /var/lib/tftpboot/debian
mv sarge /var/lib/tftpboot/debian/
(You can download the files from any other Debian mirror as well. Use one that is close to you.)
Then open pxelinux.cfg/default again as described in chapter 6, copy the LABEL stanzas, modify them, and add them to /var/lib/tftpboot/pxelinux.cfg/default. /var/lib/tftpboot/pxelinux.cfg/default should now look like this:
vi /var/lib/tftpboot/pxelinux.cfg/default
DISPLAY boot.txt DEFAULT edgy_i386_install LABEL edgy_i386_install kernel ubuntu/edgy/i386/linux append vga=normal initrd=ubuntu/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw -- LABEL edgy_i386_linux kernel ubuntu/edgy/i386/linux append vga=normal initrd=ubuntu/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw -- LABEL edgy_i386_server kernel ubuntu/edgy/i386/linux append base-installer/kernel/linux/extra-packages-2.6= pkgsel/install-pattern=~t^ubuntu-standard$ pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=normal initrd=ubuntu/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw -- LABEL edgy_i386_expert kernel ubuntu/edgy/i386/linux append priority=low vga=normal initrd=ubuntu/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw -- LABEL edgy_i386_server-expert kernel ubuntu/edgy/i386/linux append base-installer/kernel/linux/extra-packages-2.6= pkgsel/install-pattern=~t^ubuntu-standard$ pkgsel/language-pack-patterns= pkgsel/install-language-support=false priority=low vga=normal initrd=ubuntu/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw -- LABEL edgy_i386_rescue kernel ubuntu/edgy/i386/linux append vga=normal initrd=ubuntu/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw rescue/enable=true -- LABEL dapper_i386_install kernel ubuntu/dapper/i386/linux append vga=normal initrd=ubuntu/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw -- LABEL dapper_i386_linux kernel ubuntu/dapper/i386/linux append vga=normal initrd=ubuntu/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw -- LABEL dapper_i386_server kernel ubuntu/dapper/i386/linux append base-installer/kernel/linux/extra-packages-2.6= pkgsel/install-pattern=~t^ubuntu-standard$ pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=normal initrd=ubuntu/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw -- LABEL dapper_i386_expert kernel ubuntu/dapper/i386/linux append DEBCONF_PRIORITY=low vga=normal initrd=ubuntu/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw -- LABEL dapper_i386_server-expert kernel ubuntu/dapper/i386/linux append base-installer/kernel/linux/extra-packages-2.6= pkgsel/install-pattern=~t^ubuntu-standard$ pkgsel/language-pack-patterns= pkgsel/install-language-support=false DEBCONF_PRIORITY=low vga=normal initrd=ubuntu/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw -- LABEL dapper_i386_rescue kernel ubuntu/dapper/i386/linux append vga=normal initrd=ubuntu/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw rescue/enable=true -- LABEL sarge_i386_linux kernel debian/sarge/i386/linux append vga=normal initrd=debian/sarge/i386/initrd.gz ramdisk_size=9458 root=/dev/rd/0 devfs=mount,dall rw -- LABEL sarge_i386_expert kernel debian/sarge/i386/linux append DEBCONF_PRIORITY=low vga=normal initrd=debian/sarge/i386/initrd.gz ramdisk_size=9458 root=/dev/rd/0 devfs=mount,dall rw -- LABEL sarge_i386_linux26 kernel debian/sarge/i386/2.6/linux append vga=normal initrd=debian/sarge/i386/2.6/initrd.gz ramdisk_size=10938 root=/dev/rd/0 devfs=mount,dall rw -- LABEL sarge_i386_expert26 kernel debian/sarge/i386/2.6/linux append DEBCONF_PRIORITY=low vga=normal initrd=debian/sarge/i386/2.6/initrd.gz ramdisk_size=10938 root=/dev/rd/0 devfs=mount,dall rw -- PROMPT 1 TIMEOUT 0 |
Delete /tmp/netboot:
cd /tmp/
rm -fr netboot/
and add the new installation options to /var/lib/tftpboot/boot.txt:
vi /var/lib/tftpboot/boot.txt
Available Boot Options: ======================= edgy_i386_install edgy_i386_linux edgy_i386_server edgy_i386_expert edgy_i386_server-expert edgy_i386_rescue dapper_i386_install dapper_i386_linux dapper_i386_server dapper_i386_expert dapper_i386_server-expert dapper_i386_rescue sarge_i386_linux sarge_i386_expert sarge_i386_linux26 sarge_i386_expert26 |