I have tried to install CentOS 6.4 twice now, and it has messed it up twice. Both times I installed it, it setup my harddrive like this: http://gyazo.com/156ab5539eeac09b6785b211f6482c72. I want EVERYTHING to be on ONE partition, like my server came. At this screen, I have tried use all space, and remove existing Linux : http://www.techotopia.com/images/f/f9/Centos6_installallation_allocate_space.png
2 Answers
Use the "Create a custom layout" and just make the partitions yourself. I had to do an install yesterday with the exact configuration, and the custom layout was the only one that worked. Just make a small swap partition and the rest mounted as "/".
You could just fix your existing install. I.e. move your home data to the root partiton , delete the home partition and extend root to use the home space. Take about 10-20minutes and you should theoretically be able to do it without reboot.
log in as root
backup your /home
data.: tar cvzf /home.tgz /home
unmount home: umount /home
Remove or comment out /home
from /etc/fstab
: vi /etc/fstab
remove vg_data-lv_home lv: lvremove /dev/vg_data/lv_home
Restore home:
tar xvzf /home.tgz
extend / (root fs) : lvextend -L +860G /dev/vg_data/lv_root
Resize rootfs: resize2fs /dev/vg_data/lv_root
if "resize2fs: Bad magic number in super-block while trying to open /dev/vg_data/lv_root Couldn't find valid filesystem superblock."
then instead use: 'xfs_growfs /dev/vg_data/lv_root'
Profit!