Partition

Home » CentOS » Partition
CentOS 8 Comments

Hi,

I would like to create 6 partitions on one disk before installing. How do I add partitions separate from the /home /boot /root and /swap files?

Cheers,

Steve

8 thoughts on - Partition

  • If you boot the installer in graphical mode it should allow you to customise your partition table.

    HTH
    Lucian

  • CentOS 6 installer UI lets you create partitions directly and associate them with mount points.

    CentOS 7 installer UI, in Manual Partitioning you need to choose a partition scheme first – probably in your case “Standard Partitions”. And then you create the mount points, specifying size for each. The underlying partitions are then created.

  • Stephen Drotar wrote:
    do I add partitions separate from the /home /boot /root and /swap files?

    If you’re using a drive 2TB or smaller, and an MBR, rather than a GPT, you can *only* have four primary partitions. To make more, one of those must be an extended partition, and you can create additional partitions in that.

    One question: why do you need so many?

    mark

  • FWIW, the CentOS 7 installer is soley responsible for making partitions, including whether they’re primary or extended. The user has no direct control over this, although you can create them in advance outside the installer, and then assign mount points to existing partitions.

  • I’m setting up virtualization and need the VMs to have a certain size of Disk but is only allowing 50GB per volume and I need to find a way to increase that

    Cheers,

    Steve

  • what is only allowing this??

    For virtualization, I would create a LVM VG (Volume Group), and for each virtual disk, create a LV (Logical Volume).

    Normally, I don’t put virtual disks on the same drive(s) as my OS but if this is a single drive server, there’s not much choice in the matter.


    john, recycling bits in santa cruz

  • Hi,

    Can I create partitions on a RAID disk from GUI?

    Would you recommand partioning the drive if so I can only mount
    / /usr /swap

    I am not best at describing my problems Cheers,

    Steve

  • as far as the OS/installation disk is concerned it is a normal disk like any other. So you can then partition it any way you want from GUI.

    install your OS easily in 50GB; my vm host (KVM/libvirt) uses around
    6GB for the OS. Create a VG and put the OS partitions you want there in 10-50G total; I think the OS will be happy if you just have / and swap if you do not want to think about sizes. Leave the rest unused for now. Once you have a working machine, then decide how you want to allocate the rest of the disk (or disks). Worry about emulation after you have a running server thingie.

    Which emulation do you plan on running?

    Have you considered making a diagram instead?