Gparted shrink file system fail
Hey,
I recently installed Mint Linux on my old laptop for some school work. I decided to do a dual boot. However when I try to shrink my /dev/sda1 partition to make space for windows it gives an error. "resize2fs -p /dev/sda1 154848256K failed"
What can I do to fix this?
< >
1-4 van 4 reacties weergegeven
I would just redo it... more like this

https://www.youtube.com/watch?v=vxepmtjmilQ

Overall best bet however is just use 2 physically separate drives, and install each OS independently, so they never see one another. This is A+ because later on you can wipe out either OS without issues.
Laatst bewerkt door Bad 💀 Motha; 23 sep 2017 om 12:12
if you are running gparted in your current mint install, you can't resize the partition because it's in use - use the gparted usb[gparted.org] it will work.
With gparted you cannot alter partitions of the drive you are running from, or certainly not the partition you are running from. So you would need to do that from some other system (like booted from the live/install system you used to install Mint or a gparted CD).

The normal way to install Windows and Linux on the same drive is to install Windows first, use its own Disk Management to shrink it, reboot to make sure that is OK, then install Linux in the unallocated space you freed up on the drive.

Also it is much quicker to shrink the empty end of a partition than to move the beginning of a partition and relocate all files in the partition in relation to that.
Laatst bewerkt door MaddDoktor [Linux]; 23 sep 2017 om 19:40
Origineel geplaatst door Talby:
if you are running gparted in your current mint install, you can't resize the partition because it's in use - use the gparted usb[gparted.org] it will work.
Yes I know. I was running gparted of the boot drive.
< >
1-4 van 4 reacties weergegeven
Per pagina: 1530 50

Geplaatst op: 23 sep 2017 om 7:47
Aantal berichten: 4