Cannot resize Linux partition with Gparted

Hello cloud,

I am wondering how to resize my manjaro partition on a dual Boot system with gparted ?

It is not possible for me to resize because unllocatetd storage is not detected. I am not able to create it as partition. Do I need to change partition table before being able to use the unllocated storage ?
!

Thanks in advantage :slight_smile:

You can’t resize a partition you are already booted into. Use a live usb session and gparted to resize your manjaro partition but best to make a backup just incase

Hi,
To resize a partition you may:

  1. Boot to usb disk
  2. use cfdisk and resize the partition and save modifications
  3. then use resize2fs

I did Boot in USB

its the same with cfdisk,
it says maximum seize is limited ( so I am also at maximum)
still there is 750Gb free space

…uhm … format?
As in what is the format of this disk/partition?

:thinking: Is your partition primary or extended did you use LVM ?
And is your free space contiguous to the partition ou need to extend ?

@maxi_1312, it would be helpful if you share some background information of your system. Pleaae, open a terminal window and enter:

inxi -Fazy
sudo parted -l
sudo fdisk -l
sudo blkid
sudo efibootmgr -v
test -d /sys/firmware/efi && echo efi || echo bios

and post the output here.

Then explain what partition(s) you like to change and how exactly.

Disk /dev/sda: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: SanDisk SDSSDA-1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xaac2baff

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2101247 2099200 1G 7 HPFS/NTFS/exFAT
/dev/sda2 2101248 263874559 261773312 124,8G 7 HPFS/NTFS/exFAT
/dev/sda3 263874560 347447295 83572736 39,9G 8e Linux LVM
/dev/sda4 347447296 351651839 4204544 2G ef EFI (FAT-12/16/32)

System:
Kernel: 4.14.199-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/vmlinuz-4.14-x86_64
root=UUID=8cc97fcf-e600-4d2b-9bda-bd6adf8de5b4 rw quiet
Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel wm: xfwm4
dm: LightDM 1.30.0 Distro: Manjaro Linux

The SSD:

Model: ATA SanDisk SDSSDA-1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 1076MB 1075MB primary ntfs boot
2 1076MB 135GB 134GB primary ntfs
3 135GB 178GB 42,8GB primary ext4 lvm
4 178GB 180GB 2153MB primary fat32 esp

I would love to extend my windows and linux partition (sda2,sda3)

Are you booting in BIOS/legacy mode? If yes, why do you have an efi partition?

These commands would have given us an answer…

sudo efibootmgr -v
test -d /sys/firmware/efi && echo efi || echo bios

Anyway, extending a lvm partition is beyond my payroll, moving that partition should not be a big deal but it could affect the booting process without further action.

they just return:
EFI variables are not supported on this system.
and
bios

That’s because you have already four primary partitions, which is the maximum for a msdos parted disk like yours. Please, explain the purpose of /dev/sda4. You boot in BIOS mode with a msdos parted disk so there is no need for a /boot/efi partition.

If your conclusion is that you don’t need this partition, delete it and then you can create a new fourth primary partition - or you can create an extended partition to carry many more logical partitions inside (preferable). This would allow you to add more than one partition, e.g. if you intend to use a /home or /swap partition.

https://wiki.manjaro.org/index.php?title=Partitioning_Overview_and_Existing_Partition_Tables
https://wiki.manjaro.org/index.php/Cfdisk_Basic_Partitioning_Scenarios

When you install later-on Manjaro, make sure to boot the USB stick with the live ISO in BIOS mode, don’t choose the UEFI entry from your firmware when booting.

Thank you !

1 Like

Interesting :+1:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.