0

Running Kubuntu 18.04.

KDE Partition Manager shows

  • a 465GB hard disk at /dev/sda that contains:

    • sda1 /boot/efi 512MB
    • sda2 /boot 488MB
    • sda3 kubuntu-vg 464GB
  • kubuntu-vg that contains:

    • ext4 partition at / 461GB size with 100GB free space
    • swap of 4GB

I'll like to carve out a new partition from the free space and install a different variant on it.

I do not mind if I'm not able to boot into my current OS.

Can this be done? How?

2

Create a new logical volume using (it's your root):

sudo lvcreate -L 20G -n nroot kubuntu-vg

Create an other logical volume to use as home:

sudo lvcreate -L 60G -n nhome kubuntu-vg

If you want to use all free space then:

sudo lvcreate -l +100%free -n nhome kubuntu-vg

Reboot and start an installation.

Use /dev/sda2 as your boot partition if you don't mind loosing your current OS. Use /dev/kubuntu-vg/nroot as your root and /dev/kubuntu-vg/nhome as home for new installation.

Do not format other partitions at all, after you have installed the OS, move your files to your new home.

  • Just to be sure so that I don't do something stupid, all the commands are executed while I'm booted into my current system. Correct? – deshmukh Sep 3 '18 at 7:37
  • Yeah... adjust the sizes as you wish. – Ravexina Sep 3 '18 at 7:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.