Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-07-2020, 02:17 PM
|
#1
|
LQ Newbie
Registered: May 2019
Posts: 19
Rep: 
|
how do you clone a 120gb ssd to 240 gb ssd in mint 19.3
My 120gb ssd on my mint 19.3 desktop is full. I have a 240gb ssd in a laptop I'm not using. Can I clone the 120 gb onto the 240 gb in a non geeky way?, using Linux?
|
|
|
07-07-2020, 02:56 PM
|
#2
|
LQ Newbie
Registered: Jul 2020
Location: Netherlands
Distribution: Debian
Posts: 17
Rep:
|
What do you mean by geeky? As in using the terminal to do stuff?
|
|
|
07-07-2020, 04:25 PM
|
#3
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,552
|
|
|
|
07-07-2020, 04:35 PM
|
#4
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,476
|
Make absolutely sure which drive is which, clone using dd
Code:
dd if=/dev/sda of=/dev/sdb bs=1M
The larger drive will be a clone of the smaller
Then move the end of the last partition to the end of the drive.
For example if you have 2 partitions on the drive. Using parted on /dev/sdb2
Code:
(parted) resizepart 2 100%
Then extend the file system to use that new space on the last partition.
Code:
resize2fs /dev/sdb2 100%
Unhook the old drive, plug the new one in where you want it. Boot the machine.
When you clone drives like that, you get bad sectors, file system problems and all.
Better to do a fresh install on the new drive.
|
|
|
07-07-2020, 06:04 PM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,437
|
The OP wants "non geeky" - although I haven't used it in years, I second clonezilla in this case.
|
|
|
07-08-2020, 02:41 AM
|
#6
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,552
|
barriegarry,
Another way is to install Linux Mint 20 on the 240GB SSD and then copy/paste the personal data from the 120GB SSD.
|
|
|
07-08-2020, 08:00 AM
|
#7
|
LQ Newbie
Registered: May 2019
Posts: 19
Original Poster
Rep: 
|
To:Markd81:
using the terminal for me for "simple" commands is ok but the outlined commands from "teckk"for me is too much because I just don't understand them.
To:tecKK: Thank you for your reply but as I have no understanding of the commands I am fearful of going in blind.
To:beachboy2:I followed the link in your first reply and had the same reaction as I had to tecKK's suggestion.
so I guess I will have to use your second suggestion and copy/paste the night away.
Thank you all for your input, it means alot to have somewhere to go with questions.
barriegarry.
|
|
|
07-08-2020, 08:16 AM
|
#8
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,552
|
barriegarry,
On the 120GB SSD:
If you use Firefox, remember to export your bookmarks to bgbookmarks.html.
Also if you use Thunderbird remember to copy the profile folder in .thunderbird.
(Home folder > View > Show hidden files .thunderbird).
Copy and paste the contents of Documents, Picture, Downloads etc to the new versions on 240GB SSD (they will form a transfer queue).
Just leave the computer running overnight. No additional user input should be needed.
|
|
|
07-08-2020, 08:20 AM
|
#9
|
Moderator
Registered: Aug 2002
Posts: 26,901
|
Just a FYI... A laptop typically uses a 2.5 inch drive versus 3.5 inch for a desktop. Both SATA drive sizes use the same electrical wiring but you will need a 2.5 to 3.5 drive mount adapter if you want to securely install the 2.5 inch drive in your desktop.
As you have discovered there is no non geeky way to clone the drive. Other options would be to get an external 2.5" USB case and use the drive just for files and data.
|
|
|
07-08-2020, 08:32 AM
|
#10
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,552
|
barriegarry,
As per michaelk's suggestion, try one of these for your SSD(s):
https://www.amazon.co.uk/IB-AC643-In...puters&sr=1-29
I have bought 3 or 4 over the years and they are well made with all the necessary screws included.
Last edited by beachboy2; 07-08-2020 at 08:34 AM.
|
|
|
07-08-2020, 10:27 AM
|
#12
|
Senior Member
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,852
|
Quote:
Originally Posted by barriegarry
To:Markd81:
using the terminal for me for "simple" commands is ok but the outlined commands from "teckk"for me is too much because I just don't understand them.
|
I'm probably biased from my early days as a UNIX (then, later, Linux) user but the best way to learn the system was through reading. Then doing more reading. I still think it's the best way to learn something like UNIX/Linux. Learn the foundations and grow from there. So...
Just a gentle (I hope) suggestion:
If you're going to be a Linux user, you will need to become familiar with the man pages. Don't understand what, for example, "dd" means? Issue "man dd" and read about it. If you're not exactly sure what command does what you want to do, you can also try issuing "apropos topic" which will return a list of commands that mention "topic" on their man page. (Note: as a "newbie", you'll be primarily interested in the commands in Section 1 of the man pages. "apropos" lists those with "(1)" in its output.) Still in the dark? Try searching the Internet using a search string something like "linux dd howto" or "dd tutorial" and read some of the top URLs returned. If none of that makes sense... sites like LQ can help but at least you've done a little homework and are better equipped to understand the help that is being offered.
HTH...
|
|
|
All times are GMT -5. The time now is 08:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|