LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-22-2023, 06:38 PM   #1
heiny
LQ Newbie
 
Registered: Feb 2023
Posts: 8

Rep: Reputation: 0
encrypted disk clone


Hello all, hope someone can help me resolve this issue...
My system is Linux Mint and I choose to encrypt my disk during the installation process. No troubles with this until now. I have a 512 GB SSD drive and want to clone it to a 1TB SSD drive. the clone work well but if a look in : preference, hard disk, it shows a 1TB drive. When I open my File system it's still the same free space than with my 512 GB drive, just like if he doesn't see the 1TB drive...should be around 500 GB more free space...
Clone done with CloneZilla, tried to solved the issue with Gparted but no luck..stil the same.

Any idea anyone?

Thanks, Mike.
Attached Thumbnails
Click image for larger version

Name:	2023-07-22_19-39.png
Views:	11
Size:	62.5 KB
ID:	41362   Click image for larger version

Name:	2023-07-22_20-35.png
Views:	9
Size:	36.8 KB
ID:	41363  

Last edited by heiny; 07-22-2023 at 07:36 PM.
 
Old 07-22-2023, 09:46 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,008

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
I'm confused. Point out what you see.
 
Old 07-22-2023, 10:24 PM   #3
heiny
LQ Newbie
 
Registered: Feb 2023
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
I'm confused. Point out what you see.
On my 1 TB hdd, the space left is the same then on my 512 GB hdd before the clone.
Attached Thumbnails
Click image for larger version

Name:	2023_11_14_2.jpg
Views:	7
Size:	94.6 KB
ID:	41364  
 
Old 07-22-2023, 11:05 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,145

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
See the second line of my sig.

As you add layers of software, you make matters worse. The things I see that needed resizing are:
- partition
- pv
- LUKS container
- filesystem

All but the last seem to have been handled for you. I would do it from a terminal on the running system, but a livecd should allow you to use a GUI tool.
 
Old 07-23-2023, 06:42 AM   #5
heiny
LQ Newbie
 
Registered: Feb 2023
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
See the second line of my sig.

As you add layers of software, you make matters worse. The things I see that needed resizing are:
- partition
- pv
- LUKS container
- filesystem

All but the last seem to have been handled for you. I would do it from a terminal on the running system, but a livecd should allow you to use a GUI tool.
Hello syg00, think I will need more details on this, your help is pretty much appreciated
 
Old 07-24-2023, 10:44 AM   #6
heiny
LQ Newbie
 
Registered: Feb 2023
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by heiny View Post
Hello syg00, think I will need more details on this, your help is pretty much appreciated
Hello, I tried this and not working...

1) BACKUP ALL IMPORTANT DATA ON THAT DISK.
2) Launch GParted from the Linux Mint installation medium (NOT from GParted live).
3) Resize the LUKS partition to the right (if you want to resize it to the left, you have to move it to the left, then resize to the right), then apply changes.
4) sudo cryptsetup luksOpen /dev/sdXY luks_part
5) sudo gparted /dev/mapper/luks_part
6) Right-click on the only LUKS volume, then choose "Check" and apply changes.

After the line #4 I received the error message: cannot open, already mount (something like this)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Open-spec SBC is a clone of a clone of a clone of a Raspberry Pi 3 LXer Syndicated Linux News 0 04-25-2018 04:56 PM
Linux 64 bit fresh install, created clone on cd, want to use clone on another laptop... apollo1980 Linux - Software 12 10-12-2017 02:59 PM
How to Clone an Encrypted Disk Image with Clonezilla onebuck Linux - General 3 08-31-2017 09:42 PM
I need to Clone a Red Hat drive and install clone in HP server drummer54 Linux - Newbie 14 03-07-2009 04:15 PM
bugzilla: to clone, or not to clone? The00Dustin Linux - Newbie 1 05-24-2008 05:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration