Setting Up A PXE Install Server For Multiple Linux Distributions With Ubuntu Edgy Eft - Page 8

11 Add Mandriva 2007.0 Netboot

Next we download the Mandriva 2007.0 netboot files and put them in /var/lib/tftpboot/mandriva/2007.0 like this:

cd /var/lib/tftpboot
mkdir -p mandriva/2007.0/i386
cd mandriva/2007.0/i386
wget http://ftp-stud.fht-esslingen.de/pub/Mirrors/Mandrivalinux/official/2007.0/i586/isolinux/alt0/vmlinuz
wget http://ftp-stud.fht-esslingen.de/pub/Mirrors/Mandrivalinux/official/2007.0/i586/isolinux/alt0/all.rdz

(You can download the files from any other Mandriva mirror as well. Use one that is close to you.)

Then add a Mandriva 2007.0 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

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

When you installl Mandriva 2007.0 over the network, the installer will ask you about the installation method. Select HTTP and Official586 and enter/select gd.tuwien.ac.at as the host, /pub/linux/Mandrakelinux/official/2007.0/i586/ as the directory. Of course, you can use any other Mandriva mirror as well; use one that is close to you.

Share this page:

0 Comment(s)