The following steps will guide you through the yast2-cd-creator which helps you to create your own installation media (for example a recovery CD) based on SUSE Linux Enterprise.
Contents |
| Note |
|
You can download the RPM for the CD Creator here: ftp://ftp.suse.com/pub/people/sbogner/oem/yast2-cd-creator-2.13.3-1.3.noarch.rpm |
Step 1. Make sure that the package „yast2-cd-creator“ is installed on the system.
Step 2. Open YaST and go to „Miscellaneous“ -> „CD Creator“.
Step 3. Create a new configuration using the „Add“ button.
| Note |
| You can create several configurations on the same machine, ie. if you want to use one machine to create several different installation media. |
After creating a new configuration the CD Creator Configuration screen shows up. This screen lets you select a predefined set of packages that will be installed with the resulting installation media.
Step 4. Enter a name for your newly created configuration under “Configuration Name”
Step 5. Select the autoYaST profile and check “Copy Profile to CD Image”
| Note |
|
This howto defaults to using an autoYaST profile, but there are different options you can use:
If you are using the cloning function, the autoYaST control file will be saved in /root/autoinst.xml after installation. If you want to have the autoYaST control file included on the media, please check the option „Copy Profile to CD Image“. |
After pressing the „Next“ button you will be asked for the installation source to read the packages from.
Step 6. Select the installation source by pressing the “Select” button.
| Note |
| Currently only local sources in a local directory are supported, CD/DVD media, network installation sources or ISO images cannot be used. If you want to use an ISO image, do not use the “ISO Image” option in yast, but mount the ISO image as a loopback device (mount -o loop iso.iso /mountpoint) and specify the mountpoint as an installation source in YaST. It is planned to offer this functionality with an update to yast-cd-creator. |
This is the final configuration for the ISO image to be created.
Step 7. Enter the path for the directory tree to be created (mandatory)
Step 8. Enter the filename for the resulting ISO image file
Step 9. Enter your company name under “CD Publisher” and “CD Preparer”
| Note |
|
The generated directory tree will contain the installation media structure and – at your choice – either all RPMs from the installation source (recommended as the customers might want to install additional packages which otherwise are not on the installation media) or only the selected subset of packages (for that, check the „Copy only needed files to save space“ option). This saves space and by using that option, you could create a 1-cd-installation media. Another option is to let cd creator create only the directory tree, by checking the option “Create Directory Tree Only”. In that case, you will have to create the ISO image yourself (ie. by using mkisofs – see “man mkisofs” for details). |
The next screen lets you edit the isolinux.cfg for the resulting media. This file is responsible for the boot menu that will appear when booting from the new installation cd.
Step 10. Keep the options as they are and press “next”
| Note |
|
The entry „default“ sets the default seletion for the CD's bootloader. Usually you want to use „harddisk“ as default, as the system then boots up its installed operating system even though the bootable CD is entered. If the entry „autoyast“ is selected, the installation will be done using the supplied autoYaST configuration file. If the customer wants to do a regular installation, the entry „install“ has to be selected. If so, it is up to the customer what packages/configuration are used for the system to be installed (just like with a regular install media). For more detailed information on the isolinux.cfg file, please have a look at the file /usr/share/doc/packages/syslinux/syslinux.doc. |
Next, the cd creator will present you a summary of your configuration.
Step 11. Press “Finish” to confirm your settings and start image creation
You can now burn the resulting ISO image with your favorite burning application. Dependent on its size, you have to decide on your know whether to use a CD or DVD media.
| Note |
|
The created ISO image is not digitally signed, the installer will print a warning message during installation. The warning can be safely ignored. It should be possible to create a signed ISO image by the CD creator in the future. |
© 2010 Novell