This group of modules is designed to help you manage your system. All modules in this group are system-related and serve as valuable tools for ensuring that your system runs properly and your data is managed efficiently.
Create a backup of both your
system and data using +. However, the backup
created by the module does not
include the entire system. The system is backed up by saving important
storage areas on your hard disk that may be crucial when trying to
restore a system, such as the partition table or master boot
record (MBR). It can also include the XML configuration acquired
from the installation of the system, which is used for AutoYaST. Data is
backed
up by saving changed files of packages accessible on installation
media, entire packages that are unaccessible (such as online updates),
and files not belonging to packages, such as many of the
configuration files in /etc or the directories
under /home.
With +, restore your system from a backup archive created with . First, specify where the archives are located (removable media, local hard disks, or network file systems). Click to view the description and contents of the individual archives and select what to restore from the archives.
You can also uninstall packages that were added since the last backup and reinstall packages that were deleted since the last backup. These two steps enable you to restore the exact system state at the time of the last backup.
![]() | System Restoration |
|---|---|
Because this module normally installs, replaces, or uninstalls many packages and files, use it only if you have experience with backups. Otherwise you may lose data. | |
To configure booting for systems installed on your computer, use the + module. A detailed description of how to configure the boot loader with YaST is available in Section 18.3, “Configuring the Boot Loader with YaST”.
The logical volume manager (LVM) is a tool for custom partitioning of hard disks with logical drives. Find information about LVM in Section 7.1, “LVM Configuration”.
With the expert partitioner, shown in Figure 8.6, “The YaST Partitioner”, manually modify the partitioning of one or several hard disks. Partitions can be added, deleted, resized, and edited. Also access the soft RAID and LVM configuration from this YaST module.
![]() | Repartitioning the Running System |
|---|---|
Although it is possible to repartition your system while it is running, the risk of making a mistake that causes data loss is very high. Try to avoid repartitioning your installed system and always do a complete backup of your data before attempting to do so. | |
All existing or suggested partitions on all connected hard disks are
displayed in the list of the YaST
dialog. Entire hard disks are listed as
devices without numbers, such as /dev/hda or
/dev/sda. Partitions are
listed as parts of these devices, such as /dev/hda1 or
/dev/sda1. The size, type,
file system, and mount point of the hard disks and their partitions are also
displayed. The mount point describes where the partition appears in the
Linux file system tree.
If you run the expert dialog during installation, any free hard disk space is also listed and automatically selected. To provide more disk space to SUSE Linux Enterprise®, free the needed space starting from the bottom toward the top of the list (starting from the last partition of a hard disk toward the first). For example, if you have three partitions, you cannot use the second exclusively for SUSE Linux Enterprise and retain the third and first for other operating systems.
Every hard disk has a partition table with space for four entries. An entry in the partition table can correspond to a primary partition or an extended partition. Only one extended partition entry is allowed, however.
A primary partition simply consists of a continuous range of cylinders (physical disk areas) assigned to a particular operating system. With primary partitions only, you are limited to four partitions per hard disk, because more do not fit in the partition table. This is why extended partitions are used. Extended partitions are also continuous ranges of disk cylinders, but an extended partition may itself be subdivided into logical partitions. Logical partitions do not require entries in the partition table. In other words, an extended partition is a container for logical partitions.
If you need more than four partitions, create an extended partition as the fourth partition or earlier. This extended partition should span the entire remaining free cylinder range. Then create multiple logical partitions within the extended partition. The maximum number of logical partitions is 15 on SCSI, SATA, and Firewire disks and 63 on (E)IDE disks. It does not matter which types of partitions are used for Linux. Primary and logical partitions both work fine.
To create a partition from scratch, proceed as follows:
Select . If several hard disks are connected, a selection dialog appears in which to select a hard disk for the new partition.
Specify the partition type (primary or extended). Create up to four primary partitions or up to three primary partitions and one extended partition. Within the extended partition, create several logical partitions (see Section 8.5.5.1, “Partition Types”).
Select the file system to use and a mount point. YaST suggests a mount point for each partition created. Refer to Chapter 22, File Systems in Linux for details on the various file systems.
Specify additional file system options if your setup requires them. This is necessary, for example, if you need persistent device names. For details on the available options, refer to Section 8.5.5.3, “Editing a Partition”.
Click + to apply your partitioning setup and leave the partitioning module.
If you created the partition during installation, you are returned to the installation overview screen.
When you create a new partition or modify an existing partition, set various parameters. For new partitions, suitable parameters are set by YaST and usually do not require any modification. To edit your partition setup manually, proceed as follows:
Select the partition.
Click to edit the partition and set the parameters:
Even if you do not want to format the partition at this stage, assign it a file system ID to ensure that the partition is registered correctly. Possible values include , , , and . For LVM and RAID details, refer to Section 7.1, “LVM Configuration” and Section 7.2, “Soft RAID Configuration”.
Change the file system or format the partition here. Changing the file system or reformatting partitions irreversibly deletes all data from the partition . For details on the various file systems, refer to Chapter 22, File Systems in Linux.
Set various parameters for the selected file system here. The defaults are acceptable for most situations.
If you activate the encryption, all data is written to the hard disk in encrypted form. This increases the security of sensitive data, but slightly reduces the system speed, because the encryption takes some time. More information about the encryption of file systems is provided in Chapter 42, Encrypting Partitions and Files.
Specify various parameters contained in the global file system
administration file (/etc/fstab). The default
settings should suffice for most setups. You can, for example, change
the file system identification from the device name to a volume label.
In the volume label, use all characters except /
and space.
Specify the directory at which the partition should be mounted in the file system tree. Select from various YaST proposals or enter any other name.
Select + to activate the partition.
opens a menu containing the following commands:
Rereads the partitioning from disk. For example, you need this after manual partitioning in the text console.
This completely overwrites the old partition table. For example, this can be helpful if you have problems with unconventional disk labels. Using this method, all data on the hard disk is lost.
The following section comprises a few hints and tips on partitioning that should help you in taking the right decisions while setting up your system.
![]() | Cylinder Numbers |
|---|---|
Note, that different partitioning tools may start counting the
cylinders of a partition with | |
If the partitioning is performed by YaST and other partitions are detected
in the system, these partitions are also added to the
/etc/fstab file
to enable easy access to this data. This file contains all
partitions in the system with their properties, such as the file system,
mount point, and user permissions.
Example 8.1. /etc/fstab: Partition Data
/dev/sda1 /data1 auto noauto,user 0 0 /dev/sda5 /data2 auto noauto,user 0 0 /dev/sda6 /data3 auto noauto,user 0 0
The partitions, regardless of whether they are Linux or FAT partitions, are
specified with the options noauto and
user. This allows any user to mount or unmount these
partitions as needed. For security reasons, YaST does not automatically
enter the exec option here, which is needed for executing
programs from the location. However, to run programs from there, you can
enter this option manually.
This measure is necessary if you encounter system messages
such as “bad interpreter” or “Permission denied”.
From the expert partitioner, access the LVM configuration with (see Section 7.1, “LVM Configuration”). However, if a working LVM configuration already exists on your system, it is automatically activated as soon as you enter the LVM configuration for the first time in a session. In this case, any disks containing a partition belonging to an activated volume group cannot be repartitioned because the Linux kernel cannot reread the modified partition table of a hard disk when any partition on this disk is in use. However, if you already have a functioning LVM configuration on your system, physical repartitioning should not be necessary. Instead, change the configuration of the logical volumes.
At the beginning of the physical volumes (PVs), information about the volume
is written to the partition. To reuse such a partition for other non-LVM
purposes, it is advisable to delete the beginning of this volume. For
example, in the VG system and PV
/dev/sda2, do this with the command
dd if=/dev/zero of=/dev/sda2 bs=512
count=1.
![]() | File System for Booting |
|---|---|
The file system used for booting (the root file system or
| |
Each kernel driver contains a list of device IDs of all devices it supports. If a new device is not in any driver's database, the device is treated as unsupported, even if it can be used with an existing driver. With this YaST module from section, you can add PCI IDs. Only advanced users should attempt to use this YaST module.
To add an ID, click and select how to assign it: by selecting a PCI device from a list or by manually entering PCI values. In the first option, select the PCI device from the provided list then enter the driver or directory name. If the directory is left empty, the driver name is used as the directory name. When assigning PCI ID values manually, enter the appropriate data to set up a PCI ID. Click to save your changes.
To edit a PCI ID, select the device driver from the list and click . Edit the information and click to save your changes. To delete an ID, select the driver and click . The ID immediately disappears from the list. When finished, click .
The + module helps you work with saving energy technologies. It is especially important on laptops to extend their operational time. Find detailed information about using this module in Section 28.6, “The YaST Power Management Module”.
Powertweak is a SUSE Linux utility for tweaking your system to peak performance by tuning some kernel and hardware configurations. It should be used only by advanced users. After starting it with +, it detects your system settings and lists them in tree form in the left frame of the module. You can also use to find a configuration variable. Select the option to tweak to display it on the screen along with its directory and settings. To save the settings, click then confirm it by clicking .
Create, manage, and switch among system configurations with +, the YaST system configuration profile management (SCPM) module. This is especially useful for mobile computers that are used in different locations (in different networks) and by different users. Nevertheless, this feature is useful even for stationary machines, because it enables the use of various hardware components or test configurations. For more information about SCPM basics and handling, refer to Chapter 27, System Configuration Profile Management.
Configure runlevels and the services that start in them with +. For more information about the runlevels in SUSE Linux Enterprise and a description of the YaST runlevel editor, refer to Section 17.2.3, “Configuring System Services (Runlevel) with YaST”.
The directory /etc/sysconfig contains the files
with the most important settings for SUSE Linux Enterprise. Use
+
to modify the values and save them
to the individual configuration files. Generally,
manual editing is not necessary, because the files are automatically
adapted when a package is installed or a service is configured. More
information about /etc/sysconfig
and the YaST sysconfig editor is available in
Section 17.3.1, “Changing the System Configuration Using the YaST sysconfig
Editor”.
The time zone is initially set during installation, but you can change it with +. Also use this to change the current system date and time.
To change the time zone, select the region in the left column and the location or time zone in the right column. With , set whether the system clock should use or (Coordinated Universal Time). is often used in Linux systems. Machines with additional operating systems, such as Microsoft Windows, mostly use local time.
Set the current system time and date with . In the dialog that opens, modify the time and date by entering new values or adjusting them with the arrow buttons. Press to save the changes.
The primary and secondary languages for your system are set during installation. However, they can be changed at any time using +. The primary language set in YaST applies to the entire system, including YaST and the desktop environment. This is the language you expect to use most of the time. Secondary languages are languages that are sometimes needed by users for a variety of purposes, such as desktop language or word processing.
Select the main language to use for your system in . To adjust the keyboard or time zone to this setting, enable or .
Set how locale variables are set for the root user with
. Also use to set the
primary language to a
dialect not available in the main list.
These settings are written into the file
/etc/sysconfig/language.