10 Add CentOS 4.4 Netboot
Next we download the CentOS 4.4 netboot files and put them in /var/lib/tftpboot/centos/4.4 like this:
cd /var/lib/tftpboot
mkdir -p centos/4.4/i386
cd centos/4.4/i386
wget http://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/4.4/os/i386/images/pxeboot/initrd.img
wget http://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/4.4/os/i386/images/pxeboot/vmlinuz
(You can download the files from any other CentOS mirror as well. Use one that is close to you.)
Then add a CentOS 4.4 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
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
|
When you installl CentOS 4.4 over the network, the installer will ask you about the installation method. Select HTTP and enter ftp-stud.fht-esslingen.de as the host, pub/Mirrors/centos/4.4/os/i386/ as the directory. Of course, you can use any other CentOS mirror as well; use one that is close to you.
Setting Up A PXE Install Server For Multiple Linux Distributions With Ubuntu Edgy Eft - Page 6
Setting Up A PXE Install Server For Multiple Linux Distributions With Ubuntu Edgy Eft - Page 8
Recent comments
8 hours 17 min ago
9 hours 10 min ago
9 hours 35 min ago
11 hours 54 min ago
12 hours 14 min ago
12 hours 43 min ago
13 hours 36 min ago
15 hours 57 min ago
16 hours 14 min ago
16 hours 46 min ago