On 6/25/07, Eberhard Roloff <[EMAIL PROTECTED]> wrote:
James Knott wrote:
> John Bennett wrote:
>> I have spent the last 8 hours trying to install on a PC with a CD and
>> no floppy..... I have an Opensuse 10.2 DVD, and a PC running it on the
>> network, but for the life of me, haven;t been able to connect via FTP,
>> HTTP, SMB, NFS and various other options.

Here are the instruction to create pxe boot installation server. You
need nfsserver, dhcp-server, tftp server and syslinux.

1. Select your dhcpd interface from yast.

/etc/dhcpd.conf
prime:/mnt/sdb5/downloads # cat /etc/dhcpd.conf
option domain-name "cyberorg.info";
option domain-name-servers 202.138.103.100;
option routers 10.0.0.254;
default-lease-time 14400;
ddns-update-style none;
get-lease-hostnames           true;
next-server 10.0.0.254;
subnet 10.0.0.0 netmask 255.255.255.0 {
 range 10.0.0.50 10.0.0.170;
 default-lease-time 144000;
 max-lease-time 172800;
 filename "pxelinux.0";

2. mkdir /mnt/10.2 ; mount suse-10.2-DVD.iso /mnt/10.2 -o loop

3. /etc/exports
/mnt/10.2       *(ro,no_root_squash,sync,no_subtree_check)

4. Enable tftp from yast and point the directory to /srv/tftpboot.

/etc/xinet.d/tftp
---snip---
       server_args             = -s /srv/tftpboot/
       disable                 = no
---snip---

5. cp /mnt/10.2/boot/i386/loader/linux /srv/tftpboot/

6. cp /mnt/10.2/boot/i386/loader/initrd /srv/tftpboot/

7. cp /usr/share/syslinux/pxelinux.0 /srv/tftpboot/

8. cat /srv/tftpboot/pxelinux.cfg/default
LABEL linux
       kernel linux
       append initrd=initrd install=nfs://10.0.0.254:/mnt/10.2

9. rcdhcpd restart ; rcnfsserver restart ; rcxinetd restart

10. PXE boot your client, the installation should start automatically :)

Cheers

-J
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to