zRAM Swap Support in Anaconda
The Anaconda installer now supports swap on zRAM during the installation.
zRAM is a standard block device with its contents compressed. Placing swap into such device during the installation allows the installer to store more data in RAM instead of in the hard drive. This is especially helpful on systems with low amounts of RAM - installation using zRAM on these systems now runs significantly faster.
This feature is automatically enabled if Anaconda detects 2 GB or less memory, and disabled on systems with more memory. To force zRAM swap on or off, use the
inst.zram=off boot option within the boot menu.
Specific limits, numbers and way of implementation may be changed in the future.
Built-in Help Pages
The installer's graphical user interface now supports built-in help. Every screen in the installer, as well as the Initial Setup utility which runs the first time you reboot your system after the installation, now contains a Help button. This button opens a section of the Installation Guide relevant to the current screen in the Yelp help browser.
At the same time, the Installation Guide is being rewritten to better match the installer's structure.
Help for text mode installations is not available and there are no plans to include it.
Changes in Anaconda Boot Options
A boot option is used to modify the installer's behavior via the boot command line. The following boot options have been added to Fedora 21:
inst.zram=- use this option to force zRAM swap on (
inst.zram=on) or off (
inst.dnf- forces Anaconda to use the experimental DNF backend for package installation instead of YUM
inst.memcheck- perform a check at the beginning of the installation to determine if there is enough available RAM. Stop the installation with an error message if there is not enough available RAM. This option is enabled by default, however, you can use
inst.memcheck=0to disable the check for sufficient ram.
Changes in Anaconda Command Line Options
Anaconda command line options are used when running the installer from a terminal within an already installed system, as for example, when installing into a disk image.
- The built-in help available through
anaconda -hprovides descriptions for all available commands.
--memcheck: Check if the system has sufficient RAM to complete the installation and abort the installation if it doesn't. This check is approximate. Memory usage during installation depends on the package selection, user interface (graphical/text) and other parameters.
--nomemcheck: Do not check if the system has enough RAM to complete the installation. Note that an attempt to install with less than the safe minimum amount of memory may fail.
--leavebootorder: Boot drives in their existing order - used to override the default of booting into the newly installed drive on IBM Power Systems servers and EFI systems. This is useful for systems that, for example, should network boot first before falling back to a local boot.
--extlinux: Use extlinux as the boot loader. Note that there is no attempt to validate that this will work for your platform, which means your system may be unable to boot after completing the installation.
--dnf: Use the experimental DNF package management backend to replace the default YUM backend package manager. For more information about the DNF project, refer to http://dnf.baseurl.org
Changes in Kickstart Syntax
This section provides a list of changes to Kickstart commands and options. A list of these changes can be viewed by using the following command:
ksverdiff -f F20 -t F21
Note that this command will only work on Fedora 21 after the pykickstart package installed.
New Commands and Options
fcoe --autovlan: Enable automatic discovery of VLANs.
bootloader --disabled: Do not attempt to install a boot loader. This option supersedes all other boot loader configuration - if you use this option, all other
bootloaderoptions will be ignored and no boot loader packages will be installed.
network --interfacename=: Specify a custom interface name for a virtual LAN device. This option should be used when the default name generated by the
--vlanid=option is not desired. This option must be used along with
ostreesetup: A new command, used for OSTree installations. Available options are:
--osname=: Management root for OS installation. Mandatory.
--remote=: Name of the remote repository. Optional.
--url=: Repository URL. Mandatory.
--ref=: Name of branch inside the repository. Mandatory.
--nogpg: Disable GPG key verification.
clearpart --disklabel=: Used to create a custom disk label when relabeling disks
autopart --fstype=: When using automatic partitioning, it allows you to specify a file system type such as ext4 or xfs to replace the default.
repo --install: Writes the repository information into the
/etc/yum.repos.d/directory, to allow a repository configured in Kickstart to be available on the installed system as well.
- Changes in the
- You can now specify an environment to be installed in the
%packagessection by adding an environment name prefixed by @^ - for example, @^Infrastructure Server.
%packages --nocoreoption can be used to disable installing of the Core package group.
- You may now skip the installation of the kernel using
- You can now specify an environment to be installed in the
Changes in Existing Command and Option Behavior
volgroup --pesizeoption now does not have a default value in Kickstart. The default size of a new volume group's physical extents is now determined by the installer during both manual and Kickstart installations. The previous default value for Kickstart installations was 32768.
- Software RAID configuration in the graphical user interface has been tweaked.
- You can now use the [+] and [-] keys as shortcuts in the manual partitioning screen in the graphical user interface.
ksverdiff(part of the pykickstart package) has a new option:
--listversions. Use this option to list all available operating system versions which can be used as arguments for the
NOTES, do not publicanize
- Low memory installations work better using methods where squashfs.img doesn't need to be kept in memory, ie nfs,live image. ????