Setting Up A PXE Install Server For Multiple Linux Distributions With Ubuntu Edgy Eft - Page 9
On this page
12 Add OpenSuSE 10.2 Netboot
Next we download the OpenSuSE 10.2 netboot files and put them in /var/lib/tftpboot/suse/10.2 like this:
cd /var/lib/tftpboot
mkdir -p suse/10.2/i386
cd suse/10.2/i386
wget http://ftp.uni-ulm.de/pub/mirrors/opensuse/distribution/SL-OSS-factory/inst-source/boot/i386/loader/initrd
wget http://ftp.uni-ulm.de/pub/mirrors/opensuse/distribution/SL-OSS-factory/inst-source/boot/i386/loader/linux
(You can download the files from any other OpenSuSE mirror as well. Use one that is close to you.)
Then add an OpenSuSE 10.2 LABEL stanza to /var/lib/tftpboot/pxelinux.cfg/default. The file 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 -- LABEL etch_i386_install kernel debian/etch/i386/linux append vga=normal initrd=debian/etch/i386/initrd.gz -- LABEL etch_i386_linux kernel debian/etch/i386/linux append vga=normal initrd=debian/etch/i386/initrd.gz -- LABEL etch_i386_expert kernel debian/etch/i386/linux append priority=low vga=normal initrd=debian/etch/i386/initrd.gz -- LABEL etch_i386_rescue kernel debian/etch/i386/linux append vga=normal initrd=debian/etch/i386/initrd.gz rescue/enable=true -- LABEL etch_i386_auto kernel debian/etch/i386/linux append auto=true priority=critical vga=normal initrd=debian/etch/i386/initrd.gz -- LABEL fedora6_i386_linux kernel fedora/6/i386/vmlinuz append initrd=fedora/6/i386/initrd.img LABEL centos4.4_i386_linux kernel centos/4.4/i386/vmlinuz append initrd=centos/4.4/i386/initrd.img LABEL mandriva2007.0_i386_linux kernel mandriva/2007.0/i386/vmlinuz append initrd=mandriva/2007.0/i386/all.rdz LABEL suse10.2_i386_linux kernel suse/10.2/i386/linux append initrd=suse/10.2/i386/initrd splash=silent showopts PROMPT 1 TIMEOUT 0 |
Add the new installation option 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 etch_i386_install etch_i386_linux etch_i386_expert etch_i386_rescue etch_i386_auto fedora6_i386_linux centos4.4_i386_linux mandriva2007.0_i386_linux suse10.2_i386_linux |
When you installl OpenSuSE 10.2 over the network, the installer will ask you if CD 1 (?) is in the CD drive. As gthe purpose of our PXE server is not to use any CDs, select Back. As installation method, select HTTP and enter ftp.uni-ulm.de as the host, /pub/mirrors/opensuse/distribution/10.2/repo/oss as the directory. Of course, you can use any other OpenSuSE mirror as well; use one that is close to you.
13 Links
- PXE (Wikipedia): http://en.wikipedia.org/wiki/Preboot_Execution_Environment
- Ubuntu: http://www.ubuntu.com
- Debian: http://www.debian.org
- Fedora: http://fedora.redhat.com
- CentOS: http://www.centos.org
- Mandriva: http://www.mandriva.com
- OpenSuSE: http://www.opensuse.org