4.2 Disk Partition Layout and Directory Structure

We strongly recommend to use GPT partitioned disk devices. For grub2 to be able to boot from such a device on BIOS systems a small BIOS Boot partition (type: 0x107, 263) is required to hold the second se of the bootloader. 8 MB is sufficient for this purpose.

We recommend that you create a 2 GB swap partition next and format the remainder of the first disk with btrfs with default subvolume handling and mounted at /. On the second disk we recommend to create a single LVM volume group data with a single logical volume data formatted with xfs and mounted at /data. The recommended disk partitioning is summarized in the following table.

Table 4-1 Partition Layout for the AutoYaST Server

Disk

Partition

Type

Volume Group

Volume

Mount Point

File System

Size [GB]

1

1

bios_grub

n/a

n/a

n/a

n/a

0.008

1

2

Swap

n/a

n/a

swap

swap

2

1

3

Linux

n/a

n/a

/

btrfs

17.992

2

1

LVM

data

data

/data

xfs

50

Underneath /data the following directories need to be created to accommodate the CIF:

  • autoyast scripts, configuration files, control file and class files used by the solution

  • boot_cd_build working directory for Custom Boot ISO

  • install directory for the mount-points for the installation sources

  • isos directory for the installation sources and the AutoYaST boot ISO