Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17854

How to perform partitioning in text-mode install on CentOS 7?

$
0
0

I'm having trouble trying to install CentOS after partitioning the block device in another console. I'm using LVM logical volumes as block devices for the VM. I tried using the "Replace Existing Linux system(s)" option after having formatted the block device, but it failed. I'm already aware of the text-mode limitation as they don't allow us to partition using the Anaconda installer directly. That's why I'm attempting the work-around in another shell.

Here's the output of the error: https://gist.github.com/anonymous/866dd94a9a21b430dcdcfc77224befa6

Is this still doable? I tried using the kickstart file from a similar VM that was initially installed with GUI, but it didn't work even after I removed some "offending" lines. Just before I post this, I just tried the install interactively without the kickstart file, but it reformatted everything I created prior to starting the installation. I was hoping to preserve the filesystems in place.

My goal is to get auto-generated kickstart file after a successful install so that I can create other similar VMs. Creating kickstart files can be quite tricky for me. I thought this way would be much easier and quicker than creating one from scratch, even with the Kickstart Configurator.

submitted by /u/bashtheshell
[link] [comments]

Viewing all articles
Browse latest Browse all 17854