I had a dual boot hard drive with Windows / Centos 6.5.
I no longer needed Windows so I removed the /dev/sda1 and /dev/sda2 via fdisk. It now looks like:
Device Boot Start End Blocks Id System
/dev/sda3 * 21891 21955 512000 83 Linux
/dev/sda4 21955 31131 73707864 5 Extended
/dev/sda5 21955 21981 204800 83 Linux
/dev/sda6 21981 23511 12288000 82 Linux swap / Solaris
/dev/sda7 23511 31131 61211648 83 Linux
I would like to take the space that was used by Windows and add it to sda7
I have played around with parted,resize2fs,lvextend, etc but I can't seem to figure out exactly how to do this. Can anyone help by providing me with specific fully-working steps/commands?
Thanks!
/home
in the root partition, this would be a good time to move it.