#Gparted partition help
169 messages · Page 1 of 1 (latest)
is the mint and windows partition in the same drive?
clearly it is. sda4 Windows , and sda5,6,7 linux
@grand cradle you can't do it from a running Linux system. See those key icons in the pic above? The keys are in the car, the car is running.
Boot Mint Live USB, then run gparted, right-click sda4 and choose resize, and drag just the RIGHT EDGE of the sizer toward left to shrink.
then resize sda5, dragging just the left edge
also I think you mean to extend the linux root partition, not the home one. home has tons of space already
Ok but I am not that dumb bro to give me an example for the mounted partitions😭
you're not that dumb?
didnt imply that anyway. Just giving example of what the keys mean
i want to resize sda7 which is my home partiton and not the root
did it worked?
i am currently doing a timeshift back up on the USB just in case. also the first time i tried to shrink the partition and then move the free space to sda7 i wasn't able to do it because of other partitions getting in the way
I don't get it. Your root partition is stupid small. That's where all your programs go; yet instead you're trying to enlarge the ALREADY BIG home partition?
@ripe mortar look at this
hmm well, if he's taking space from windows to go to linux home then why not. but IMO this entire partitioning scheme is ugly and impossible to work on.
you are right that he will run out of space on his root partition sooner or later also.
@grand cradle remember to have a backup of your important data on an OFFLINE device. otherwise you WILL lose it.
should SHRINK sda7 by 5.59 or 6 GiB and then move swap to very end
of course to do that, original swap must be deleted. then recreated at end. AND fstab of install must be updated with new UUID for new swap partition
Sorry for being stupid but I have linux for only a week I don't know a think about it
I am doing a daily backup on my 128 GB USB
One option is to shrink 50 GB from windows and give 10GB to root and 40 to home
The only problem is that I don't know how to move the free space
In front of the partition
first thing to do then:
Boot to Windows. Use Disk Management there to shrink first partition by 50 GiB.
Second thing to do:
See #1193345280733622272 message and make sure this is OFF
Third thing to do:
Boot to Linux Mint install.
type in terminal, sudo xed /etc/fstab
maximize the text editor window. Find the line about "SWAP" and put a # in beginning of that line, then save file, and close terminal.
Then boot the linux mint LIVE USB and message me when in live mode.
mhm
you have 51 GiB free space
make sure u do chkdsk /f from windows ADMINISTRATOR command prompt first to scan the drive for errors before attempting any resizing
Don't mind the USB I have 4 different
did u check on this?
good make a backup of anything IMPORTANT from Windows onto one of them BEFORE resizing
Then
then boot live
I am currently doing the back up
I am ready
All of this right
that u can do from live too but u must find the real root
It said something about failure because it was locked
Let me restart
ie - click the hdd of linux in the Devices section of file manager
if ur gonna restart, then edit fstab from real linux
ok u in real Mint?
Ye
not live
did u do this in windows?
I have to enable this first right
Oh I think it already is but I am going to check just in case because I don't remember if I have actually changed something
What should I uncheck
Should I uncheck the sleep
no no
open ADMIN prompt
and do powercfg /a and show
does it say fast startup is disabled?
good. reboot to Mint installation and do the fstab thing
On what partition again because u mentioned something about hdd
Second thing to do:
Mint Support-Dual Booting and F… and make sure this is OFF
Third thing to do:
Boot to Linux Mint install.
type in terminal, sudo xed /etc/fstab
maximize the text editor window. Find the line about "SWAP" and put a # in beginning of that line, then save file, and close terminal.
Then boot the linux mint LIVE USB and message me when in live mode. (shrink first partition by 50 GiB)
Booted to live USB
correct. you saved the change yes?
I reopen the xed to check if it was saved
ok so , open gparted, and shrink the big NTFS partition by 50x1024 MiB
Oh
no
it shows in MiB
so r-click> resize> and put in the Free Space Following : 51200 MiB then press Tab key
then the resize button, and show
Correct me if I am wrong
yes , now click green Checkmark above, and wait many minutes
tag me when it's done fully. make sure electricity doesnt disappear.
@covert osprey nah man don't do me like dat anyway it's done
..... ..... .....
ok... now, right click on sda5 (the 28 GiB partition) and choose move/resize
then grab the sizer BOX in the center and drag it to the left
Moved all the way there
you said you wanted to grow it by 10 GiB? i would recommend at least 20 more, really
Ok whatever you say
for it to become 50 GiB, put in the new size field: 51200 MiB
then press tab
or for 48 GiB, put 49152 MiB in new size
Done
show pic before checkmark
Here it is
Ya then move again checkmark and then move the free space to the end
If j am correct
no, then u have to delete the swap partition
Oh ...
then move the home partition left.
then make new swap partition. maybe bit smaller
usually 2 GiB is plenty if u have 4 GiB RAM or more
how much RAM in ur system?
Ya the cou I have can't even run 3d games properly there's no need for that 6 extra
4GB
pardon, "the cou I have" ?
if u want to go 2.5 GiB or 3 GiB swap , that's reasonable, and it should be at very far right of partition table
u want to be 3.5 GiB?
Meh don't know
put 3
Just in case
Any changes to partition name or label
label
once it is made, close the gparted app, and open DISKS app
select sda5 in disks app, then the gear icon> edit filesystem: put Mint-root
then select sda7 in same app, and gear> edit filesystem: put HOME
and same for sda2 and put EFI < very important partition
got it, @grand cradle ?
On edit filesystem theres only label if I am correct
once u boot back to real Mint, u have to edit fstab and replace the UUID number of old swap with UUID of new swap
and take the # away... then save n reboot it.
lsblk -f will show all info
or sudo blkid if you prefer
Now I go to mint?
one sec
yes boot to the Mint install
you will see with cat /proc/swaps you have no active swap yet.
I copy pasted the new UUID but the command cat doesn't show the partition
do lsblk -f like i said
and show the fstab file in editor, maximized
swap won't load til reboot.
is this good
yep good. just close those and reboot
now u can check free -h and it should show swap in play
Everything is working. Thanks
tldr? was there a reinstall?
Nope, just gparted stuff. deleting and recreating new swap elsewhere, and tweaking the fstab
ah ok. nice job stunner, you have a lot of patience.
was fun
tho I would use btrfs with a root and home subvolumes, so that they never run out of space on one partition.