this post was submitted on 07 Nov 2024
25 points (100.0% liked)

Linux

48180 readers
1058 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm looking to upgrade drives on two of my machines. My server running ubuntu has a 3.5" and will be getting a larger capacity HDD, while my personal computer running endeavor OS will be going from a 2.5" ssd to an nvme drive. (Not sure if it helps giving the drive types, but can't hurt).

I'm fine with a clean install and reinstalling everything, but to save some time I'd of course like to minimize the effort that goes into it (importing settings etc). Any tips/tricks for either? Thanks in advance

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 week ago* (last edited 1 week ago) (8 children)

dd then resize the fs?

Edit: one caveat here I forgot: if your fstab is using UUIDs, you're going to have to update that, since the new drive won't be the same UUID because, well, it's not the same drive.

[–] [email protected] 2 points 1 week ago (1 children)

Absolutely this. Relatively quick and clean, no messing with installation or reconfiguration. That is, assuming your data isn't completely corrupted and the old drive doesn't just outright fail during transfer... But if that happens you were screwed to begin with.

[–] [email protected] 2 points 1 week ago

The old drives are fine, just either too small or too slow, so it sounds like it may be an option

load more comments (6 replies)