You are not logged in.

#1 2019-04-24 01:47:19

sadavar
Member
Registered: 2018-09-30
Posts: 8

[SOLVED] Expanding LVM Storage in Dual Boot Linux and Windows

Hello,

I have a dual boot of Linux and Windows on my laptop with the Linux partition being an LVM. I originally allocated 63gb to the Linux disk to test it for a bit but would now like to shrink the windows partition and expand the Linux partition. How exactly would I go about doing this? Exact terminal commands would be super useful.

Here is my fdisk -l output: https://imgur.com/7pqbWGs

Feel free to ask for any other information.

Thank you so much!

Last edited by sadavar (2019-04-24 03:35:53)

Offline

#2 2019-04-24 01:57:22

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] Expanding LVM Storage in Dual Boot Linux and Windows

if you have GUI just use gparted. it's easy to use.

Offline

#3 2019-04-24 02:04:39

sadavar
Member
Registered: 2018-09-30
Posts: 8

Re: [SOLVED] Expanding LVM Storage in Dual Boot Linux and Windows

So should I shrink the main 164gb windows partition and expand the 63gb Linux partition in gparted? Is there anything else for me to consider?

Offline

#4 2019-04-24 02:20:53

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] Expanding LVM Storage in Dual Boot Linux and Windows

Yes.
Right click on ntfs partition and select shrink. then resize it to make free space
May you need to move partitions to free space kiss your lvm volume group, this needs a lot of time. then resize the other partition.
You should be careful, don't loss your important data.

Last edited by mmdamin (2019-04-24 02:22:45)

Offline

#5 2019-04-24 02:38:06

sadavar
Member
Registered: 2018-09-30
Posts: 8

Re: [SOLVED] Expanding LVM Storage in Dual Boot Linux and Windows

So I shrunk the NTFS down to 30gb which created unallocated space. What do you mean by kiss my lvm?

Here is my gparted currently: https://imgur.com/JnkCa8z

Offline

#6 2019-04-24 03:35:18

sadavar
Member
Registered: 2018-09-30
Posts: 8

Re: [SOLVED] Expanding LVM Storage in Dual Boot Linux and Windows

Figured it by  following the instructions in this post: https://superuser.com/questions/129465/ … ace-to-lvm

Thanks for all the help.

Offline

#7 2019-04-24 11:10:11

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] Expanding LVM Storage in Dual Boot Linux and Windows

I mean unallocated space and the partition you want to extend need to be near, Can't be anything between them. Good luck.

Offline

Board footer

Powered by FluxBB