[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Advice on upgrading to SSD



* On 2020 04 Mar 10:02 -0600, Michael Stone wrote:
> On Wed, Mar 04, 2020 at 02:47:47PM +0000, Tony van der Hoff wrote:
> > Gene didn't address my problem, but made the very useful observation
> > that disks spinning 24/7 don't really die. Perhaps I shouldn't worry
> > about replacing them.
> 
> the speed advantages are such that I try to avoid spinning disks for OSs
> wherever possible these days since the costs for SSDs have gotten so low.

This.

I updated two desktops last week from spinning rust to SSDs, including
this machine, and the speed increase, lack of noise, much lower heat
inside the case, and now much lower price point makes the upgrade a no
brainer.

> > Andrei supports file-level copying, so I'll stick to that.
> 
> Yes, this is generally how I'd proceed. rsync existing filesystem onto the
> new one, bind mount /dev /proc and /sys to the new filesystem, then chroot
> into it, edit fstab on the new filesystem to point to the new root (I'd
> personally use the UUID) run grub-install to put the bootloader on the new
> disk, and then run update-grub. There are other approaches to setting up the
> bootloader as well. It's best to do all this in single user mode to avoid
> files changing while you're copying. Then you'll want to change the bios
> settings to boot off the ssd first rather than the hard drives.

I like rsync for this.  In the olde days I often updated over the LAN to
copy data from a laptop to a desktop and back to the laptop's new drive.
Years ago I bought a 500 GB USB drive that saved that step.  As rsync
gives compression with the '-z' option, doing so over the network was
tolerable.

I had to do a bit more dancing on this machine where I use secure boot
with UEFI.  I followed the steps from:

	https://wiki.debian.org/GrubEFIReinstall 
	
including putting the suggested Refind image on a thumb drive and
booting to it after disabling secure boot but via EFI.  That was easy,
the next day I updated the BIOS which erased all of the user keys so I
had to do those steps over and ensure the Grub key was in NVRAM along
with the key I use to sign the Virtualbox kernel modules.

It was a learning experience!

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

Attachment: signature.asc
Description: PGP signature


Reply to: