Ask Your Question

create partition for windows, LVM setting

asked 2014-02-20 06:42:04 -0500

strebeschi gravatar image

updated 2014-02-20 07:22:20 -0500

Hi everyone!

Next semester I will need to install and use Visual Studio, hence Windows. Currently I am using Fedora 20 with SSD and LVM partition setting. I would like to create a new partition (50GB) without having to reinstall Fedora from scratch. How do I do it?

PS this is what I get from the command "lvs"

[root@stefano-pc ~]# lvs

LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert

home fedora -wi-ao---- 180.59g
root fedora -wi-ao---- 50.00g
swap fedora -wi-ao---- 7.39g

It would be acceptable also to revert the LVM setting back to an older partition scheme.

edit retag flag offensive close merge delete


I would try first an easy GUI tool (assuming you have a backup) system-config-lvm from Fedora 19, see . Just shrink home (that's possible depending on filesystem type) in order to make some space for Windows. But - why not going for virtualization (libvirt, or simply virtualbox)? In my opinion all those dual boots are really a source of pain.

marcindulak gravatar imagemarcindulak ( 2014-02-20 07:28:43 -0500 )edit

I personally don't like virtualization solutions when I have to work with the operating system for a long time. It should be just for a small project. I would like to create this small partition, do the project, and the delete everything is not pinguin. :D

strebeschi gravatar imagestrebeschi ( 2014-02-20 08:01:16 -0500 )edit

Did system-config-lvm work?

marcindulak gravatar imagemarcindulak ( 2014-02-21 03:43:20 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-21 14:42:36 -0500

taim gravatar image

You will need to umount /home. Use fsck, resize2fs, and lvresize to resize the /dev/mapper/fedora-home volume. Finally use fdisk to create a new partition. Don't forget to change the partition type.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-02-20 06:42:04 -0500

Seen: 252 times

Last updated: Feb 21 '14