|
This is a how-to for a diskless installation of boot of Ghost 4 Linux. 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: Ghost 4 Linux
Homepage: http://freshmeat.net/projects/g4l/ Function: Ghost for Linux is a hard disk and partition imaging and cloning tool similar to "Norton Ghost"(c) and (tm) by Symantec 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.36.tar.gz
3. Now install it 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 = yes 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. Now change directories to the tftpboot folder and make the PXE configuration directory cd /tftpboot/ mkdir pxelinux.cfg/ 10. Change into the pxelinux.cfg directory cd pxelinux.cfg
 11. now make the default configuration file nano /tftpboot/pxelinux.cfg/default
default:
Display images SAY DEFAULT is now bzImagec DEFAULT bzImagec LABEL bzImage6 KERNEL g4l/bzImage6 APPEND initrd=g4l/ramdisk.gz ramdisk_size=65536 root=/dev/ram0 LABEL bzImagea KERNEL g4l/bzImagea APPEND initrd=g4l/ramdisk.gz ramdisk_size=65536 root=/dev/ram0 LABEL bzImageb KERNEL g4l/bzImageb APPEND initrd=g4l/ramdisk.gz ramdisk_size=65536 root=/dev/ram0 LABEL bzImagec KERNEL g4l/bzImagec APPEND initrd=g4l/ramdisk.gz ramdisk_size=65536 root=/dev/ram0 PROMPT 1 TIMEOUT 600 ONTIMEOUT bzImagec F1 images F2 preimage F3 startup F4 disclaim
|
 12. Now we need to download the ISO of G4L from http://sourceforge.net/projects/g4l or directly from
wget http://optusnet.dl.sourceforge.net/sourceforge/g4l/g4l-v0.21.iso 
13. Now we need to mount the ISO mount -o loop -t iso9660 /tmp/g4l-v0.21.iso /media/cdrom/ 14. Once the ISO is mounted we need to make the g4l directory and cop the files mkdir /tftpboot/g4l cp -rf /media/cdrom/* /tftpboot/g4l
 15. Now just set your client to boot from network
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.htm |