LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 10-07-2022, 01:53 PM   #1
garvind25
LQ Newbie
 
Registered: Oct 2022
Posts: 1

Rep: Reputation: 0
Expand partition of CentOS 6.5


Hi,

I am new to CentOS and Virtual Machines. I got a CentOS 6.5 VM on the internet and wanted to try it out. Hope someone can help me in its usage.

I loaded the guest OS (CentOS 6.5) on VMWare Workstation 10. The HDD for CentOS distribution was 35GB. I needed to increase it to 60GB. So I shut down the guest OS, went to the corresponding settings of VM Ware and expanded its HDD to 60GB. When I restarted the guest OS, I logged in as admin and ran the command fdisk /dev/sda. I was able to create a new partition sda3. Pls see the screenshot below:





My problem is that I want to merge sda3 into sda1 (sda1 is boot partition) so that the size of sda1 increases. How to do so pls? Do note that the partition type of sda1 and sda3 is Linux (not Linux LVM).

I look forward to your prompt response.

Thanks and Regards,
Arvind Gupta
 
Old 10-17-2022, 12:05 PM   #2
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: SCO UNIX -> Fedora (Core) -> CentOS -> RedHat
Posts: 128

Rep: Reputation: 48
Hello,

Well first of all is your box externally facing - i.e. does it have internet access? If yes then you are at risk of any unpatched holes in your existing binaries becoming a gateway for external attacks and compromise to both the Centos box and potentially the network it resides on. Centos 6.x gave up the ghost i.e. went end of life near on 2 years ago.

Regards,

Rawcous
 
Old 10-17-2022, 12:15 PM   #3
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554
Quote:
Originally Posted by garvind25 View Post
I am new to CentOS and Virtual Machines. I got a CentOS 6.5 VM ...
Why did you go with a CentOS 6.5 VM, since that version is almost a decade out of date?

CentOS 6.5 was replaced by 6.6 in 2014, which itself was replaced by 6.7 then 6.8 then 6.9 and finally 6.10 in 2018, which was supported until November 2020.

CentOS 7.9 is still supported until 2024, but if you're new there's no reason to use it - you should instead look at the successors to CentOS, AlmaLinux and Rocky Linux - pick either of those instead.

(When you do that, you can either re-create the VM and virtual disks from scratch, or wipe/repartition what you've got as part of the install process.)

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS LVM expand root to extended partitions? kenw232 Linux - Distributions 4 02-11-2020 07:22 PM
Virtual CentOS 6.4 Server Expand Disk for Splunk Instance Timmac Linux - Newbie 5 01-29-2015 02:23 PM
Fedora 20 - Expand /home partition and shrink Win8 partition lolzies Linux - Hardware 1 07-12-2014 10:40 AM
[SOLVED] Expand disk size on centos VM? jbennett Linux - Newbie 37 07-17-2012 11:43 AM
how to expand my /tmp...partition Zvezda Linux - General 2 07-03-2003 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration