Expanding partition size in Centos 6.5
Posted: 2022/10/07 16:54:31
Hi,
I am new to Linux and Virtual Machines. I got a CentOS 6.5 based VM from the internet and wanted to try it out. Hence I hope that someone can help me.
I installed the guest OS (CentOS 6.5) in VMWare Workstation 10. The size of the original HDD of the Guest OS in VM ware was about 35 GB. I wanted to extend it to 60 GB. To do so, I shut down the VM and then expanded the VM size to total 60 GB. Then I rebooted the CentOS, logged in as admin and ran the fdisk /dev/sda command to create a partition sda3. Pls see the attached snapshot.
My problem is that I want to merge the space in sda3 into sda1 (the boot partition) so that the overall size of sda1 increases. How to do so pls? Do note that the file system is ‘Linux’ in both the cases (and not Linux LVM).
Posting the query here as I need to run the CentOS 6.5 OS in a VM but the CentOS 6.5 forum is dead.
I look forward to your kind response.
Thanking You,
Arvind Gupta
I am new to Linux and Virtual Machines. I got a CentOS 6.5 based VM from the internet and wanted to try it out. Hence I hope that someone can help me.
I installed the guest OS (CentOS 6.5) in VMWare Workstation 10. The size of the original HDD of the Guest OS in VM ware was about 35 GB. I wanted to extend it to 60 GB. To do so, I shut down the VM and then expanded the VM size to total 60 GB. Then I rebooted the CentOS, logged in as admin and ran the fdisk /dev/sda command to create a partition sda3. Pls see the attached snapshot.
My problem is that I want to merge the space in sda3 into sda1 (the boot partition) so that the overall size of sda1 increases. How to do so pls? Do note that the file system is ‘Linux’ in both the cases (and not Linux LVM).
Posting the query here as I need to run the CentOS 6.5 OS in a VM but the CentOS 6.5 forum is dead.
I look forward to your kind response.
Thanking You,
Arvind Gupta