#2 drives, both were partitioned in dual boot, struggling to fully departition

71 messages · Page 1 of 1 (latest)

floral oriole
#

I’m still new to mint and linux and a lot of the support is jargon heavy. I would like explanations as to the what and why.

The first attempt, several hours ago, i used gparted to remove windows. This was not from a live usb. I mounted one section on the second drive. I realized leaving the partitions as they were was gonna cause some problems with space as i began installing programs.

The second attempt, recently, i used a live usb and deleted an ntf partition that seemed to merge the two unallocated blocks on the first drive. The second drive also has an efi partition which i assume i shouldnt delete but that sits between two unallocated partitions. There doesnt seem to be an option to move it (ive read that moving it can mess with boot order or something). After the seeing the first drive merge automatically, i assume once the two unallocated partitions are together they will do the same. The resize/ move option has a pop-up that describes resizing it but nothing about moving it as i understood it (but this might be a lack of knowledge).

I am very much out of my element on this, but i would like to know how ive maybe messed up and what’s going on. Can i move the partitions together? Do most two drive systems have efi partitions? Are they meant to be first and what does it mean if they arent?

#

Slight correction- i call the two split portions on the second drive unallocated but they do seem to be reading as ext4 and not unallocated
Im not entirely sure what the difference is outside of ext4 being linux file system

digital torrent
#

and show clear result here. use screenshot tool

floral oriole
#

realized i did the mountpoint wrong one moment

digital torrent
#

ok u can see from last pic. linux boots from p1 of the nvme. this is also same efi partition that formerly would help boot Windows

#

main linux OS is on sda4

#

run lsblk -f ; cat /etc/fstab

#

this will show which partitions are set up critically for automount in the fstab file

#

it's probably just the 2 I mentioned, plus a reference for swap

floral oriole
digital torrent
#

yep

#

you can delete sda3, you don't need that partition

floral oriole
#

To make sure im understanding:
I can delete sda3 even though it has efi in the name because the actual boot systems are on sda4. Correct?

digital torrent
#

the one you labelled 'second drive' shows has 200 GB of data

digital torrent
#

then open the app named Disks please

#

and choose the nvme drive on the left side (samsung)

#

on the samsung, click the big free space beside partition 1, then the + icon

#

give it name DATA_Samsung

#

or something you like, no spaces

#

and make as ext4 that space

floral oriole
#

👍 it's loading but followed and it completed

digital torrent
#

ok what did u name it?

floral oriole
#

Samsung_Data

digital torrent
#

ok

#

now open file manager

#

and cut or copy ALL data from "Second Drive" (sda1) to samsung_data

#

when it is finished, check all data moved correctly

#

and is readable

#

then delete sda1

#

then boot live usb, open gparted, and resize sda4. in the "free space preceding" field in the sizer popup window, put 250 MiB and press tab, then drag the right edge of the sizer graphic all the way right, then press resize/move.

#

this 250 will be left unallocated for future for EFI in case

#

then click the apply-all checkmark on toolbar and wait for it to resize and move lots of data to left

floral oriole
#

This is what it looks like after following everything you said

digital torrent
floral oriole
#

not anymore, i did it on live but switched back

#

so screenshot is not from live

digital torrent
#

oh ok. i guess that icon is a digital safe

#

looks like a button telephone. but means it's mounted

floral oriole
#

good to know

digital torrent
#

so lsblk -f will show u all the updated info now

#

as well as df -h if you wish

floral oriole
#

Thank you for your help!

digital torrent
#

do you want to optimize ?

#

as in, tweak ext4 reserved space so you have more available to you

floral oriole
#

yes, what would that entail though?

digital torrent
#

running a command a few times

floral oriole
#

sure, i'll give it a go

digital torrent
#

so for sda4, since it's OS, you only need 1% reserved

#

so run:
sudo tune2fs -m 1 /dev/sda4

#

and for the data drive, you dont need any reserved, so run:
sudo tune2fs -m 0 /dev/nvme0n1p2

#

then mount up the data partition by clicking 'samsung-data' in file manager

#

then run df -h and see the difference , especially on sda4

floral oriole
#

an increase of 37 GiB (i assume since all the other units have been in it)

knotty tapir
digital torrent
floral oriole
#

about to wanted to make sure everything was in the clear first

digital torrent
digital torrent
#

so i figured u moved back the data

knotty tapir
digital torrent
#

leave the minimal amount reserved and that's it

knotty tapir
digital torrent
#

u could leave it default or lower it. depends how desperate u are for extra storage space

digital torrent
floral oriole
#

I'll see to that later to determine if i do or not.
Thank you again for your help