Creating a PXE Image for SUSE Linux
Insert CD 1 or DVD1 into your server and copy its content to your PXE server. Type:
2
# mount /dev/cdrom /mnt/cdrom
# cp -r /mnt/cdrom/* /home/pxeboot/slesNN/
# umount /mnt/cdrom
where NN is 10 for SLES10 and 11 for SLES11.
Remove the media from the server.
3
If you are installing SLES 10 or SLES 11 from a DVD, you are done. You do not need to copy
■
DVD2.
If you are installing SLES 10 from CDs, repeat Step 2 and Step 3, copying the contents of each
■
CD into the same directory.
"How to Set Up SUSE PXE Files" on page 54
Next Steps
▼
How to Set Up SUSE PXE Files
Copy the autoinst.xml file from the /tmp/slesN/ directory to the root of the PXE image. Type:
1
# cp /tmp/slesN/autoinst.xml /home/pxeboot/slesN/
where N is 10 for SLES 10 and 11 for SLES 11.
Add the following entry to the home/pxeboot/pxelinux.cfg/default file and save it.
2
Type the text block from append through autoinst.xml in the following example as one
continuous line with no returns.
Note –
default sles10
label sles10
kernel sles10/CD1/boot/x86_64/loader/linux
append textmode=1 initrd=sles10/CD1/boot/x86_64/loader/initrd
install=nfs://n.n.n.n./home/pxeboot/sles10/CD1
autoyast=nfs://n.n.n.n/home/pxeboot/sles10/autoinst.xml
"How to Install Linux From a PXE Server" on page 55
Next Steps
54
Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12
Substitute sles11 for sles10 if it is appropriate.