How To Re-Partition My SSD Without Hosing Everything?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
KamenRiderNecro
Level 2
Level 2
Posts: 87
Joined: Thu Sep 22, 2016 11:00 pm
Location: Dallas, TX, USA
Contact:

How To Re-Partition My SSD Without Hosing Everything?

Post by KamenRiderNecro » Mon Dec 11, 2017 7:38 pm

When I initially built this machine and then installed Mint on it, I reserved 40GB for OS & apps, and the rest for just storage, with an additional 3TB HDD for pure storage purposes. What if I were to use GParted to rearrange the SSD so that I simply have the entire thing for OS, apps, and storage all in one? It's a 500GB Samsung EVO SSD; how feasible is this? I imagine I'd have to back everything up before doing anything, of course?
"Is that gasoline I smell, Mr. Gideon?"

"Jalapeno, what a headache!"

User avatar
JerryF
Level 9
Level 9
Posts: 2881
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: How To Re-Partition My SSD Without Hosing Everything?

Post by JerryF » Mon Dec 11, 2017 7:54 pm

Can you post the result of this command (with your 3TB drive attached too)

Code: Select all

lsblk -l
and put those result in between Code tags?
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
KamenRiderNecro
Level 2
Level 2
Posts: 87
Joined: Thu Sep 22, 2016 11:00 pm
Location: Dallas, TX, USA
Contact:

Re: How To Re-Partition My SSD Without Hosing Everything?

Post by KamenRiderNecro » Mon Dec 11, 2017 8:31 pm

JerryF wrote:Can you post the result of this command (with your 3TB drive attached too)

Code: Select all

lsblk -l
and put those result in between Code tags?

Code: Select all

 [NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda    8:0    0 465.8G  0 disk 
sda1   8:1    0  39.1G  0 part /
sda2   8:2    0     1K  0 part 
sda3   8:3    0 410.8G  0 part /media/maskedriderchris/19d840ff-e2f1-4615-8fd1-f
sda5   8:5    0  15.9G  0 part [SWAP]
sdb    8:16   0   2.7T  0 disk 
sdb1   8:17   0   2.7T  0 part /media/maskedriderchris/f7b8dfb3-56ab-4788-b475-9
"Is that gasoline I smell, Mr. Gideon?"

"Jalapeno, what a headache!"

Mute Ant
Level 13
Level 13
Posts: 4918
Joined: Tue Sep 03, 2013 7:45 pm

Re: How To Re-Partition My SSD Without Hosing Everything?

Post by Mute Ant » Tue Dec 12, 2017 9:18 am

Making a partition bigger by moving the right-hand margin into empty space and expanding the file system to fit is close to zero-risk. Linux can actually do this while the partition is mounted (not recommended).
Data stored in an encrypted volume will only be accessible with the original password. Without this key, all the data will remain scrambled beyond hope of recovery.

User avatar
JerryF
Level 9
Level 9
Posts: 2881
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: How To Re-Partition My SSD Without Hosing Everything?

Post by JerryF » Tue Dec 12, 2017 9:29 am

KamenRiderNecro wrote:
JerryF wrote:Can you post the result of this command (with your 3TB drive attached too)

Code: Select all

lsblk -l
and put those result in between Code tags?

Code: Select all

NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda    8:0    0 465.8G  0 disk 
sda1   8:1    0  39.1G  0 part /
sda2   8:2    0     1K  0 part 
sda3   8:3    0 410.8G  0 part /media/maskedriderchris/19d840ff-e2f1-4615-8fd1-f
sda5   8:5    0  15.9G  0 part [SWAP]
sdb    8:16   0   2.7T  0 disk 
sdb1   8:17   0   2.7T  0 part /media/maskedriderchris/f7b8dfb3-56ab-4788-b475-9
From this, it looks very feasible. As Mute Ant said, there's low risk in doing that. I, and others, always recommend backing up important files first. Then run a live DVD or USB drive of Mint and run Gparted from that.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

mr_raider
Level 6
Level 6
Posts: 1317
Joined: Sun Jun 20, 2010 9:50 am
Location: Montreal, QC

Re: How To Re-Partition My SSD Without Hosing Everything?

Post by mr_raider » Tue Dec 12, 2017 9:45 am

I can't see what sda2 is being used for.

Run this command:


sudo parted -l
Image

Mute Ant
Level 13
Level 13
Posts: 4918
Joined: Tue Sep 03, 2013 7:45 pm

Re: How To Re-Partition My SSD Without Hosing Everything?

Post by Mute Ant » Tue Dec 12, 2017 10:04 am

It looks like an MBR drive where the tiny sda2 is the extended partition containing sda5.
Data stored in an encrypted volume will only be accessible with the original password. Without this key, all the data will remain scrambled beyond hope of recovery.

mr_raider
Level 6
Level 6
Posts: 1317
Joined: Sun Jun 20, 2010 9:50 am
Location: Montreal, QC

Re: How To Re-Partition My SSD Without Hosing Everything?

Post by mr_raider » Tue Dec 12, 2017 11:31 am

Mute Ant wrote:It looks like an MBR drive where the tiny sda2 is the extended partition containing sda5.
Yeah but I need to know where the sda2 and sda3 are in relation to each other.
Image

User avatar
prestonR
Level 5
Level 5
Posts: 844
Joined: Wed Jan 07, 2015 12:24 pm
Location: Harare

Re: How To Re-Partition My SSD Without Hosing Everything?

Post by prestonR » Wed Dec 13, 2017 9:53 am

As MuteAnt said sda2 is the container (extended partition) and sda3 is inside it, very much like this:
Selection_006.png
only that the OP's swap is actually inside the extended partition where the 'Free Space' is. If the OP can run 'Disks' and post a screenshot we can maybe get a better idea.

User avatar
KamenRiderNecro
Level 2
Level 2
Posts: 87
Joined: Thu Sep 22, 2016 11:00 pm
Location: Dallas, TX, USA
Contact:

Re: How To Re-Partition My SSD Without Hosing Everything?

Post by KamenRiderNecro » Thu Dec 21, 2017 10:04 pm

mr_raider wrote:I can't see what sda2 is being used for.

Run this command:


sudo parted -l

Done and done! Sorry for the delay in response.

====================================

Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 41.9GB 41.9GB primary ext4 boot
3 41.9GB 483GB 441GB primary ext4
2 483GB 500GB 17.1GB extended
5 483GB 500GB 17.1GB logical linux-swap(v1)


Model: ATA WDC WD30EZRZ-00Z (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 3001GB 3001GB ext4
"Is that gasoline I smell, Mr. Gideon?"

"Jalapeno, what a headache!"

Post Reply

Return to “Software & Applications”