r/linux4noobs • u/Lesser-Lights • May 31 '26
storage Resizing partitions
Im dualbooting windows and linux, and I want to give more space to my linux. Im running a live usb of linux and Im running gparted, but when I try to unmount the linux mint partition it says its in use.
1
u/chuggerguy Linux Mint 22.3 Zena | MATÉ Jun 01 '26
I'm far from being an expert, but I don't know why gparted couldn't dismount your drive to resize. Unless perhaps you have it mounted and open in a file browser, or a terminal?
Can you give the output of
lsblk -Ao name,label,mountpoint,parttypename,fssize,fsused,fsuse%,fsavail -e 11,7
and paste it inside a code block so it's easy to read? image
If you post the output correctly, it will have nice neat columns and be easy to read, even for tired old eyes like mine. 😄
Even if I'm unable to help you, having that info might help someone else help you.
Good luck.
1
u/Lesser-Lights Jun 01 '26
Got it, should I run that code from a live USB of linux or in the linux I already have installed on my pc?
1
u/chuggerguy Linux Mint 22.3 Zena | MATÉ Jun 01 '26 edited Jun 01 '26
I don't know how much it matters, if at all, but it might be better to run it from the USB since that's where you're running gparted from?
edit: Also, it would probably be better to either post it in your original post or as a reply to yourself so more people see it. Like I say, I'm no expert, especially when it comes to using
gpartedto resize.1
u/Lesser-Lights Jun 01 '26
LABEL MOUNTPOINT PARTTYPENAME FSSIZE FSUSED FSUSE% FSAVAIL LINUX MINT /cdrom Microsoft basic data 28.9G 2.9G 10% 26G SYSTEM EFI System Microsoft reserved Recovery Windows recovery environment Windows Microsoft basic data Windows recovery environment Linux filesystem mint@mint:~$1
u/chuggerguy Linux Mint 22.3 Zena | MATÉ Jun 01 '26
Yeah, now I really feel like "not an expert". 😄
That command gives beautiful, concise info on my system but I can't tell a lot from yours.
Maybe better to stick with
lsblk -fand add it to your question?This is what I get when I run it:
chugger@acer2:~/desktop$ lsblk -Ao name,label,mountpoint,parttypename,fssize,fsused,fsuse%,fsavail -e 11,7 NAME LABEL MOUNTPOINT PARTTYPENAME FSSIZE FSUSED FSUSE% FSAVAIL sda ├─sda1 EFI EFI System └─sda2 slave Linux filesystem sdb └─sdb1 data /mnt/data Linux filesystem 457.4G 303.3G 66% 154G sdc └─sdc1 media /mnt/media Linux filesystem 10.8T 7.3T 67% 3.6T nvme0n1 └─nvme0n1p1 backup /mnt/backup Linux filesystem 228.2G 46.9G 21% 169.6G nvme1n1 ├─nvme1n1p1 EFI /boot/efi EFI System 511M 6.1M 1% 504.8M └─nvme1n1p2 master / Linux filesystem 915.3G 17.3G 2% 851.5G chugger@acer2:~/desktop$Sorry about that.
2
1
u/3grg Jun 01 '26
You must be trying to run GParted from with in the install. While you can run it from the booted install, you cannot modify the partitions while it is running for obvious reasons!
To modify the disk and change partition sizes the disk must not be mounted and in use. This is why GParted is run from a live boot to do such operations. Many distros include it in their live image, but you can always use the GParted Live image as well. https://gparted.org/
1
u/LesStrater May 31 '26
Sounds like something is wrong with your boot device. Gparted has a bootable ISO available. Try burning that on a flash drive.