LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2019, 04:25 AM   #1
Rufusbadger
LQ Newbie
 
Registered: May 2019
Distribution: Mint
Posts: 20

Rep: Reputation: Disabled
Change my hard drive to ssd as painlessly as possible!?


Hi, I am a fairly new Mint (Cinnamon) user and after playing with it and finding I prefer this to Windows I now realise that my old spinning HD is the bottleneck of bottlenecks. What is the procedure to keep/transfer my Linux program settings to a fresh install on an SSD please? I am using time shift on an external drive. Only one partition is on the spinning hd. Re-downloading packages is no big deal, but losing work and settings would be an unnecessary pain if it can be avoided. If this is also a pain for a noob like me, I will start from scratch! Many thanks for reading and any advice or pointers to previous threads which I have not managed to find will be gratefully appreciated.

Last edited by Rufusbadger; 07-02-2019 at 04:39 AM.
 
Old 07-02-2019, 05:26 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,071

Rep: Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575
Quote:
Originally Posted by Rufusbadger View Post
Hi, I am a fairly new Mint (Cinnamon) user and after playing with it and finding I prefer this to Windows I now realise that my old spinning HD is the bottleneck of bottlenecks. What is the procedure to keep/transfer my Linux program settings to a fresh install on an SSD please? I am using time shift on an external drive. Only one partition is on the spinning hd. Re-downloading packages is no big deal, but losing work and settings would be an unnecessary pain if it can be avoided. If this is also a pain for a noob like me, I will start from scratch! Many thanks for reading and any advice or pointers to previous threads which I have not managed to find will be gratefully appreciated.
If you mean by "program settings" the configuration of your installed programs, then in Linux generally speaking they are usually stored in hidden folders and/or files in said user's "home" folder. So you could make a copy of those folders/files then copy them back after you've done a clean install on your SSD drive. But you should also remember to make sure any newer versions of those same programs will still be compatible with those old config settings. Probably you'll be ok there, but I would backup the orignal settings after your clean install just in case.

You can open a terminal window and type the following commands to see those hidden folders/files. (they will have a dot at the beginning of their name - the dot means it's a hidden file/folder in Linux)

Code:
cd ~
ls -la
 
Old 07-02-2019, 05:32 AM   #3
Rufusbadger
LQ Newbie
 
Registered: May 2019
Distribution: Mint
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thanks

I this is I think all I needed to know! I'll have a peek to see what is listed!

Paul
 
Old 07-02-2019, 06:11 AM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,745

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
It might be easier to use a combination of the SSD and HDD.

1. Fresh install on the SSD with a new /home partition
2. Rsync the data from your HDD to the SDD /home (rsync -aviS /old_files/ /new_location)
3. Keep the old HDD unless it is a 5400rpm drive, or lacking capacity, as extra space. Remember that is it not a bad thing to store data on HDD and is preferred due to reliability issues with SSD's, you just want the OS and maybe some of the apps to run off of the SSD to improve performance.

Good luck.
 
2 members found this post helpful.
Old 07-02-2019, 06:36 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,038
Blog Entries: 13

Rep: Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488
Is the SSD larger than the HD? If so, there's one option to live boot, say off of USB, attach both drives, and then use dd to copy all from the HD to the SSD. Then verify that the SSD boots, and finally change the file system size, or make use of any extra space. The other option has already been discussed by lleb. These would be my two votes.
 
1 members found this post helpful.
Old 07-02-2019, 08:08 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,129

Rep: Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923
Painlessly is relative to experience level.
There are a bunch of ways to achieve your aim - I prefer rsync as mentioned. But it does require the bootloader and (usually) fstab to be fixed before reboot.
Nothing is ever as easy as it first seems ...
 
1 members found this post helpful.
Old 07-03-2019, 12:10 AM   #7
Rufusbadger
LQ Newbie
 
Registered: May 2019
Distribution: Mint
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thanks everyone, I think the Terminal commands require a bit more knowledge on my side, that and confidence!! Luckily I only have thunderbird configured in any way other than standard. I think give my experience level I will start again from scratch with a new SSD. The system is an old HD in a desktop HP which is 6 years old or so, so probably best used as perhaps the Timeshift partition.
 
Old 07-03-2019, 12:28 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,129

Rep: Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923
For future reference (including this time) you might want to use a separate /home partition - makes any subsequent move/reinstall easier.
As for T/Bird, it's very simple to copy over your current setup to the new install once it's completed. All your password and mail come over and are available. All documented on the site.
Re the HDD, maybe put swap there too - during install just tell it to use the HDD one that already exists. Save some I/O to the SSD.

Last edited by syg00; 07-03-2019 at 12:41 AM. Reason: typos
 
Old 07-03-2019, 12:47 AM   #9
Rufusbadger
LQ Newbie
 
Registered: May 2019
Distribution: Mint
Posts: 20

Original Poster
Rep: Reputation: Disabled
I'd better start reading up on how to do this, especially putting the swapfile on another drive, I have not knowingly allocated one! I think one is created automatically on default install, and given the R/W limit on SSDs putting the swap on the spinning hd is sage advice! I put an SSD and more ram in a 15 year old hp laptop and it performs like a new machine, truly impressive performance. I just wish I could get the broadcom wifi modem to work in it. I have followed several threads and nothing has worked. (the card worked fine in windows before i changed it to Linux, so i know it works). Annoyingly the laptop will not accept other wifi cards, it just says before it even boots the bios "unsupported wifi card, remove and restart". I am sure there is a fix, but I suspect a SUDO expert will need to sit in front of it and bully it into operation!
 
Old 07-03-2019, 03:37 PM   #10
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 364

Rep: Reputation: 158Reputation: 158
@ Rufusbadger:-

One trick we employ with 'Puppy' Linux is to run many of the Mozilla-based items as 'portables'. One of our forum members assembled a portable version of FF-Quantum a year or so ago; I've since repeated the exercise & built 'portables' of SeaMonkey, Palemoon, and Thunderbird.

Mozilla builds all these with everything needed to run inside a single directory. All we do is to add a script which creates a directory called 'profile' inside that one, then tells the application to create its profile inside that. So long as you always start the item from that script, it will always use the 'self-contained' profile. This allows you to save/transfer/copy the 'portable' directory as often as you want.

The method has been around for years, and is well-documented.....but it works. For the FF-Quantum and recent Thunderbird 'builds', we've added an extra sub-directory with the apulse libs (to cover the PulseAudio requirement for sound); the app is directed to use these via

Code:
LD_LIBRARY_PATH
This method is not distro-specific. In theory, it should work with most distros; in practice, I've taken a 'portable' built in Puppy, and it's fired straight up in AntiX without a murmur.


Mike.

Last edited by Mike_Walsh; 07-03-2019 at 03:40 PM.
 
Old 07-03-2019, 07:05 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,129

Rep: Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923
Quote:
Originally Posted by Rufusbadger View Post
I'd better start reading up on how to do this, especially putting the swapfile on another drive
Thinking about it some more, don't bother. Swap is the easiest thing to change later. Just let the installer do its business - it might even pick up the existing swap, if not it's trivial to fix.
 
Old 07-04-2019, 01:16 AM   #12
Rufusbadger
LQ Newbie
 
Registered: May 2019
Distribution: Mint
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thanks everyone. So much kind help. The one good thing is that I am a new user with very little on the system so can try a few distro's. At the moment I find Mint at least familiar in look and feel to windows and iOS. I know some think it an unnecessary development, but its Mint that brought me back after a bad experience with Ubuntu in the 1990's! Its still a steep learning curve for example I have just bought a wifi dongle because th internal card won't be recognised, and i have to compile the driver from source on a little CD. No idea what to do, so I hope the included instructions are clearing complete! Ah the good old days of config.sys and Autoexec.bat...
 
Old 07-04-2019, 02:08 AM   #13
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,642

Rep: Reputation: 277Reputation: 277Reputation: 277
Quote:
Ah the good old days of config.sys and Autoexec.bat...
I guess you've been around too long to play with the technology haha. If the old spinning hdd is still working fine but just slow. You can try Clonezilla and load it to the new SSD. The motherboard supports direct SSD plugin or it will be some converter?
 
Old 07-04-2019, 03:36 AM   #14
Rufusbadger
LQ Newbie
 
Registered: May 2019
Distribution: Mint
Posts: 20

Original Poster
Rep: Reputation: Disabled
SATA cable into a motherboard slot and power feed. I'll have a look for clonezilla.
I saw this article to have my programs of the spinner, but I think I would have to wipe my hard drive as part of the install, which I may do eventually, but let's see how the new drive performs before anything drastic

https://www.maketecheasier.com/insta...e-hard-drives/
 
Old 07-04-2019, 08:23 AM   #15
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,239
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Since you are using Time Shift why not just install new to the SSD and resore from time Shift?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How can I painlessly enlarge my sda1 boot partition ? brodo Slackware 8 10-26-2017 03:48 PM
LXer: How to painlessly switch from Ubuntu to Fedora LXer Syndicated Linux News 0 05-05-2011 10:10 PM
using fdisk painlessly ? drmjh Linux - General 6 07-07-2009 11:22 AM
How do I switch from Gnome to KDE painlessly? drew boardman Linux - Software 2 08-13-2008 11:04 AM
Trying to integrate Vuze, FretsOnFire, and other similar apps to menu painlessly mongoosecage Slackware 5 07-14-2008 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:16 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration