Howdy All! I recently got a bitchin’ new SSD, a Samsung 990 EVO Plus 4TB and I am struggle bussing trying to make it my new boot drive on my computer while keeping all of my programs and settings and things just the way I like them. Specs are I7 13700K cpu and an RTX 4070 gpu plugged into an MSI MAG Z790 Tomahawk Wifi mobo all working harmoniously to run Opensuse Tumbleweed.
Things I have done so far:
-
Googled that shit, didn’t find much that helped me unfortunately. Found some forum where a guy was trying to move over to an SSD from a HDD and then remove the HDD, whereas I just want to change the boot drive to SSD and continue using both drives in the same rig. Someone else in that thread recommended clonezilla but then further down I read something about UUIDs(?) being copied as well and being unable to use both drives in the same computer or it can cause issues and corrupt data. That scared me off that.
-
Tried using the Yast Partitioner tool but the scary warning box it makes you click through and the general lack of any clue what I’m doing scared me off that.
-
Decided to just fresh install Opensuse Tumbleweed onto SSD with usb and then mount the HDD so that I can just copy everything over that way. Or so I thought. First I ran into the issue of the /home located in HDD not being viewable by my user on the SSD, I guess. Fixed that by unmounting the drive and remounting it with the following appended to the end of the mount command ‘-o subvol=/’ , I got that from google as well. Now I’m able to view things in /home on HDD from the user on SSD and I’ve even copied some things over. However I’m unable to access the .snapshots folder in the root directory of HDD which I intended to copy over the latest snapshot and use it on the SSD install to bring all of my non /home stuff over.
So I’m kinda stuck in the middle of transferring over now. I have an inclination toward being lazy so I don’t really want to spend time installing all of the flatpaks and configuring the OS again if I don’t have to. Mostly because I’ve already had one false start with Linux and went ahead and started fresh so this would be the third time having to set everything up again from scratch. Any help or suggestions are greatly appreciated!
If you want to clone the existing system onto the new ssd, here’s the broad strokes of what you can do.
lsblk
and note the/dev/sdX
path of the system drive. Write it down./dev/sdX
path of the new ssd. Write it down.dd
command to clone the system drive to the new ssd. The command will look like this:`dd if=/dev/existingBootDrive of=/dev/newSSDDrive bs=8M status=progress oflag=direct’
This command will clone the exact data of the system drive to the new ssd. the
if
portion of the command stands forin file
, as in the source of the data you want to clone. Make sure that is your existing boot drive.of
is theout file
, the destination of the clone. Make sure that is your new ssd.When you do this, the new drive will appear to be the same size as the old drive. This is due to the cloning, but is easily resolved by resizing the partition(s). How you do this depends on the filesystem, so refer to this guide for resizing
UUID
s on the new ssd against what’s in/etc/fstab
on the new disk. To do this, runblkid
to get a list of all the partitions and theirUUID
s. Note theUUID
s of the partitions on the new ssd./etc/fstab
, you’ll have to mount the root (/
) partition of the new drive somewhere in the live system. In the terminal you should already be in the home folder of the live system user. Make a new directory withmkdir
. Call it whatever you want. So something like:mkdir newboot
lsblk
and make note of the root partition on the new ssd, then mount that tonewboot
(or whatever you called it) withsudo mount /dev/sdX newboot
(whereX
is the actual device label for the root parition of the new drive`/etc/fstab
with your terminal text editor of choice. Compare theUUID
s to the ones you noted. If they are the same, you’re golden (they should be the same, but I’ve also had them change on me. ymmv). If they are different, delete the oldUUID
and replace it with the newUUID
for each respective partiitonUUID
s to make sure there were no mistakesWhy not use Clonezilla?
You could. I didn’t even think about it. I’m used to using
dd
, but clonezilla is a totally viable option here.Thank you so much! I’ve only got the one SSD and one HDD, sorry that I wasn’t very clear in my original post. But I think I can follow your detailed instructions and resolve this. I’ll report back when I’ve had time to do as you’ve described. Again, much appreciated!
No worries! Happy to help, and the instructions will work with the HDD, just use the HDD/boot as the in. I shouldn’t have assumed the existing boot was an ssd. Good luck!!!