Skip to content

Instantly share code, notes, and snippets.

@ancorgs
Last active March 2, 2018 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ancorgs/a5a5cb553f9ebc53a9326a37481c8699 to your computer and use it in GitHub Desktop.
Save ancorgs/a5a5cb553f9ebc53a9326a37481c8699 to your computer and use it in GitHub Desktop.

needed partitions in a S/390 system

  • trying to install in a (E)CKD DASD disk

    • if the disk is formatted as LDL
      • raises an error (no proposal possible in such disk). FIXME: why?
    • if the disk is formatted as CDL
      • with a partitions-based proposal
        • if /boot is within a XFS or ext2/3/4 partition
          • requires no additional partition since the firmware can find the kernel
        • if /boot is within other type of file system
          • requires only a separate /boot/zipl partition to allocate Grub2
      • with a LVM-based proposal
        • requires only a /boot/zipl partition to allocate Grub2
      • with an encrypted proposal
        • requires only a /boot/zipl partition to allocate Grub2
  • trying to install in a zfcp/FBA disk (same requirements than CDL above)

    • with a partitions-based proposal
      • if /boot is within a XFS or ext2/3/4 partition
        • requires no additional partition since the firmware can find the kernel
      • if /boot is within other type of file system
        • requires only a separate /boot/zipl partition to allocate Grub2
    • with a LVM-based proposal
      • requires only a /boot/zipl partition to allocate Grub2
    • with an encrypted proposal
      • requires only a /boot/zipl partition to allocate Grub2
  • when proposing a new /boot/zipl partition (see scenarios above)

    • proposes /boot/zipl as a non-encrypted partition in the boot disk
    • proposes /boot/zipl to be formatted as ext2
    • proposes /boot/zipl to be at most 300 MiB large (anything bigger would mean wasting space)
      • when aiming for the recommended size (first proposal attempt)
        • requires /boot/zipl to be at least 200 MiB large (space for Grub2, one kernel+initrd and extra space)
      • when aiming for the minimal size (fallback conservative proposal attempt)
        • requires /boot/zipl to be at least 100 MiB large (space for Grub2 and one kernel+initrd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment