-1

enter image description here

This is defualt CentOS7 partition download from Vagrant box package except the disk size I change from 40GB to 80GB How can I decrease /dev/sda1 partition size without losing Boot data? And Is fresh CentOS7 have no physical volume normal?

enter image description here

enter image description here

/dev/sda1 have a lot of free space.I want to change it. Thank you in advance.

1
  • 1
    Please don't post images of text. Copy and paste the text itself into your question and format it as code by selecting it and pressing Ctrl-K or by using the editor's {} icon. Commented May 31, 2021 at 12:51

1 Answer 1

2

You can't. XFS filesystem doesn't support shrinking. If you need a different partitioning, you'll need to install CentOS manually without using Vagrant. You can simply download the ISO image and use it in VirtualBox to boot from and do a fresh installation. CentOS installation guide can be found here.

And Is fresh CentOS7 have no physical volume normal?

Standard installation uses LVM, but it is also possible to use partitions, I assume the Vagrant image has only single partition for /.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.