Go Back   Customers Suck! > The Heart of the Site > Unsupportable > Tech help

Closed Thread
 
Thread Tools Display Modes

Linux and migrating from HDD to SSD...
  #1  
Old 02-18-2019, 11:25 AM
mjr's Avatar
mjr mjr is offline
Area Manager
 
Join Date: Jan 2013
Location: 127.0.0.1
Posts: 1,060
Default Linux and migrating from HDD to SSD...

Alright...here's what I want to do.

I have an Ubuntu Linux box here at my house. I want to upgrade it, because right now it's painfully slow.

I have been considering moving from HDD to SSD, but I don't want to lose any of my data or programs on my primary HDD.

Is there a (safe) way to set up my machine to use a SSD, and basically "copy over" all my data to the SSD?

I know that'll speed things up some, but I'm also going to upgrade the CPU, motherboard, and RAM.
__________________
Skilled programmers aren't cheap. Cheap programmers aren't skilled.

  #2  
Old 02-18-2019, 12:23 PM
RealUnimportant's Avatar
RealUnimportant RealUnimportant is offline
Ex-Puncher of Tickets
 
Join Date: Aug 2011
Location: 13A, Moonbase Beaver.
Posts: 2,159
Default

As I understand it, an SSD shouldn't be any different to a HDD in terms of configuration or usage so you should be able to use whatever systems you're already used to to copy everything across.

My MBP has a 500GB SSD and I've never treated it any differently, nor has it appeared to work differently. I know that behind the scenes there's clever algorithms that work to ensure the same areas of the drive don't get "worn out" by distributing data writes, but it's all handled behind the curtains.
__________________
This was one of those times where my mouth says "have a nice day" but my brain says "go step on a Lego". - RegisterAce
I can't make something magically appear to fulfill all your hopes and dreams. Believe me, if I could I'd be the first person I'd help. - Trixie

  #3  
Old 02-18-2019, 02:10 PM
EricKei's Avatar
EricKei EricKei is offline
The Hero CS Deserves
 
Join Date: Aug 2008
Location: Wandering Greyhawk
Posts: 9,970
Default

Well, you could theoretically just Ghost the old drive over (assuming it's smaller than the new drive) buuuut: while you can just move your data over, with any OS, when changing your boot device, your best bet really is to reinstall your OS on the new drive, reinstall your programs, and then copy over whatever else you need.
__________________
Acts of Gord – Read it, Learn it, Love it!
"Our psychic powers only work if the customer has a mind to read" - me
"Never assume your users are stupid, but never forget that they are." ~ anon. engineer
“Last night, you were unhinged. You were like some desperate, howling demon. You frightened me. Do it again.” - Morticia Addams

"Sexual intellectuals. They're f@%#ing know-it-alls" - Chuck Yeager
"Good men don't need rules; today is not the day to find out why I have so many." - The Doctor
"[Friendship,] like philosophy, like art, like the universe itself … has no survival value; rather it is one of those things which give value to survival.” ~ C. S. Lewis


  #4  
Old 02-18-2019, 03:35 PM
mjr's Avatar
mjr mjr is offline
Area Manager
 
Join Date: Jan 2013
Location: 127.0.0.1
Posts: 1,060
Default

Quote:
Quoth EricKei View Post
Well, you could theoretically just Ghost the old drive over (assuming it's smaller than the new drive) buuuut: while you can just move your data over, with any OS, when changing your boot device, your best bet really is to reinstall your OS on the new drive, reinstall your programs, and then copy over whatever else you need.
That's a LOT of data and programs, though. I only have a 500GB primary drive on that machine (I believe), and I was thinking about buying a 1TB SSD.

I'd like to make it as painless as possible.
__________________
Skilled programmers aren't cheap. Cheap programmers aren't skilled.

  #5  
Old 02-18-2019, 04:52 PM
lordlundar's Avatar
lordlundar lordlundar is offline
The Evil Bastard
 
Join Date: Jul 2006
Posts: 2,758
Default

I thought we talked about this.

Yup: http://www.customerssuck.com/board/s...16#post1371316

And it's still applicable.

Find a mirroring/ghosting program
create the mirror image (preferably on a removable media)
format the new drive to the proper File Allocation Table
load the mirror on the new drive
confirm the mirrored drive works
scrub or retain the original.
__________________
I AM the evil bastard!
A+ Certified IT Technician

  #6  
Old 02-18-2019, 05:01 PM
mjr's Avatar
mjr mjr is offline
Area Manager
 
Join Date: Jan 2013
Location: 127.0.0.1
Posts: 1,060
Default

Quote:
Quoth lordlundar View Post
I thought we talked about this.

Yup: http://www.customerssuck.com/board/s...16#post1371316

And it's still applicable.

Find a mirroring/ghosting program
create the mirror image (preferably on a removable media)
format the new drive to the proper File Allocation Table
load the mirror on the new drive
confirm the mirrored drive works
scrub or retain the original.
Cool. I had completely forgotten that I asked about this before.
__________________
Skilled programmers aren't cheap. Cheap programmers aren't skilled.

  #7  
Old 02-18-2019, 07:25 PM
EricKei's Avatar
EricKei EricKei is offline
The Hero CS Deserves
 
Join Date: Aug 2008
Location: Wandering Greyhawk
Posts: 9,970
Default

lundar - question: When ghosting/mirroring a hard drive in the past, it's been my experience that any sectors marked "bad" on the old drive will remain marked as "bad/do not use" on the new one. Is this the case on linux? Also, don't HDDs and SSD's store data in fundamentally different ways? Would this have an impact when mirroring?

mjr - What lundar said You might wanna consider some housekeeping first (e.g. file/drive integrity checks, de-duping checks, spyware scans, cleaning out temp directories, uninstalling anything you no longer use, old save game folders for stuff you don't play anymore, old video/audio files you don't need, etc) just to reduce the amount of sheer bulk in files that need to be moved over. You can always keep the old drive around as a backup, too.
__________________
Acts of Gord – Read it, Learn it, Love it!
"Our psychic powers only work if the customer has a mind to read" - me
"Never assume your users are stupid, but never forget that they are." ~ anon. engineer
“Last night, you were unhinged. You were like some desperate, howling demon. You frightened me. Do it again.” - Morticia Addams

"Sexual intellectuals. They're f@%#ing know-it-alls" - Chuck Yeager
"Good men don't need rules; today is not the day to find out why I have so many." - The Doctor
"[Friendship,] like philosophy, like art, like the universe itself … has no survival value; rather it is one of those things which give value to survival.” ~ C. S. Lewis


  #8  
Old 02-19-2019, 04:53 PM
lordlundar's Avatar
lordlundar lordlundar is offline
The Evil Bastard
 
Join Date: Jul 2006
Posts: 2,758
Default

Quote:
Quoth EricKei View Post
lundar - question: When ghosting/mirroring a hard drive in the past, it's been my experience that any sectors marked "bad" on the old drive will remain marked as "bad/do not use" on the new one. Is this the case on linux? Also, don't HDDs and SSD's store data in fundamentally different ways? Would this have an impact when mirroring?
For the first question, I'm not sure. I have not dealt with mirroring on Linux myself though reading through the procedure is the same.

As for the second, the differences are hardware based and largely irrelevant. What needs to be identical is the File Allocation Table format as that is software based and is what determines how the information is stored and retrieved on a software scale. How it's stored on the drive physically is a matter for the control board which interprets access requests and data transmissions between the drive and the system.
__________________
I AM the evil bastard!
A+ Certified IT Technician

  #9  
Old 02-19-2019, 07:55 PM
csquared's Avatar
csquared csquared is offline
Loanshark IT
 
Join Date: May 2009
Location: On the verge of Cumming... GA
Posts: 1,519
Default

I wouldn't bother with a 1TB SSD. That will get expensive.

I have a 126GB SSD that has my OS and apps on it. I then have a pair of 1TB HDDs, mirrored, for /home, where I keep all my data. I use LVM for the mirroring.

As you didn't say which distro you are using. Each has it's own quirks.

Linux has all the utilities you need to copy the drive. How you do it depends on a number of things. Bare partitions or Logical Volume Management (LVM) Do you want to move to LVM? Do you want to move to something like what I have?

Short description:
Layout your partitions on the new drive
Install boot block
Copy file from - to each partition.
Swap drives New drive need to be at the same device location as old was. i.e. /dev/sda
Boot to new drive.

EricKei - Usually not. Block relocation is usually handled at the drive. If you have used all your spare blocks and the file system is now reallocating, then a volume/block level copy will copy the flags. A file level copy won't.
__________________
Life is too short to not eat popcorn.
Save the Ales!
Toys for Tots at Rooster's Cafe

  #10  
Old 02-20-2019, 10:47 AM
mjr's Avatar
mjr mjr is offline
Area Manager
 
Join Date: Jan 2013
Location: 127.0.0.1
Posts: 1,060
Default

Quote:
Quoth csquared View Post
I wouldn't bother with a 1TB SSD. That will get expensive.

As you didn't say which distro you are using. Each has it's own quirks.

Linux has all the utilities you need to copy the drive. How you do it depends on a number of things. Bare partitions or Logical Volume Management (LVM) Do you want to move to LVM? Do you want to move to something like what I have?
I'm using Ubuntu, latest Desktop version.

All I really want to do is take everything on my HDD and copy it to a SSD, and have it work.

Of course, since my Linux computer is so slow right now in its setup, simply upgrading the processor, RAM, and motherboard may make it sufficiently fast for me.
__________________
Skilled programmers aren't cheap. Cheap programmers aren't skilled.
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:58 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.