|
This is a how-to for a diskless installation of Fedora core 1/2/3/4/5
i'm sure they should all be pretty much the same just in the url's of
the downloadable files change the 5 to whatever number your installing Name: syslinux
Homepage: http://syslinux.zytor.com/ Function: The SYSLINUX Project covers lightweight bootloaders for floppy media, network booting and bootable "El Torito" CD-ROMs. Name: Fedora
HomePage: http://fedora.redhat.com/ Function:
Fedora Core is a free operating system that offers the best combination
of stable and cutting-edge software that exists in the free software
world
1. Firstly we need to get dhcp working. nano /etc/dhcpd.conf dhcpd.conf:
ddns-update-style interim; ignore client-updates; allow bootp; allow booting; subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.10 192.168.0.200; option routers 192.168.0.1; option subnet-mask 255.255.255.0; option domain-name "home.net"; option domain-name-servers 192.168.0.254; next-server 192.168.0.254; default-lease-time 21600; max-lease-time 43200; option root-path "/tftpboot/"; filename "pxelinux.0"; }
|
 2. Next we need to setup PXE boot, so download syslinux wget http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-3.11.tar.gz
 3. Now install syslinux tar -xvzf syslinux-3.11.tar.gz -C /usr/local/src
 4. Create the tftpd directory at the root directory, '/'. mkdir /tftpboot 5. Now, we need to copy 2 files from here to our newly created tftpboot directory cp /usr/local/src/syslinux-3.11/pxelinux.0 /tftpboot cp /usr/local/src/syslinux-3.11/memdisk/memdisk /tftpboot

6. Make sure you have the TFTPD-server installed and then edit the following file nano /etc/xinetd.d/tftp tftp:
|
service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot disable = no per_source = 11 cps = 1002 flags = IPv4 }
|
 7. Now set TFTP server & the DHCP Server to start on boot chkconfig tftp on chkconfig dhcpd on
8. Once that is done restart the following services /etc/init.d/dhcpd restart /etc/init.d/xinetd restart  9. Next you'll need to download the PXE files from the Fedora website wget http://mirror.linux.duke.edu/pub/fedora/linux/core/5/i386/os/images/pxeboot/initrd.img
 wget http://mirror.linux.duke.edu/pub/fedora/linux/core/5/i386/os/images/pxeboot/vmlinuz
 wget http://mirror.linux.duke.edu/pub/fedora/linux/core/5/i386/os/images/diskboot.img
 10. Now, copy these 2 files into the /tftpboot directory, look at how I named them. cp initrd.img /tftpboot/fc2-initrd.img cp vmlinuz /tftpboot/fc2-vmlinuz
 11. Now move into the tftp directory and make the PXE configuration directory cd /tftpboot/ mkdir pxelinux.cfg/ 12. Change into the pxelinux.cfg directory cd pxelinux.cfg
 13. now make the default configuration file nano /tftpboot/pxelinux.cfg/default
default:
# Perform a local boot by default default install # Always prompt prompt 1 display pxeboot.msg # Boot automatically after 30 seconds in tenths of a second timeout 300 label local localboot 0 label install kernel vmlinuz append initrd=initrd.img
|
 14. Now mount the Fedora Core 5 DVD ISO, or the Fedora Core 5 DVD mount -o loop -t iso9660 /tmp/Fedora-Core-5.iso /media/cdrom/ mount /dev/cdrom /media/cdrom 15. Make a NFS share nano /etc/exports
exports:
|
/media/cdrom 192.168.0.0/255.255.255.0(rw)
|
 16. Start the nts server /etc/init.d/nfs start
 17. Now just set your client to boot from network with it asks you for the source choose the NFS share.
BookMarking:
cell1
|
|
cell3 |
|
cell4
|
|
Trouble Shooting:
Go to the wiki page Go to the 'Contact Us ' Forum Go to the how-to's Support Forum
External Links:
http://lotso.livejournal.com/1863.html |