6
submitted 6 months ago* (last edited 6 months ago) by Murdoc@sh.itjust.works to c/linuxquestions@lemmy.zip

Ok, so I had 1 ssd with Kubuntu and windows on it. I got a second ssd and I want to put opensuse on it, dual booting (well, triple). The problem is, when I went to install it, it showed the id of my two ssds as opposite of what the partition manager in Kubuntu says. I.e., Kubuntu calls the first one nvme0n1 and my new ssd nvme1n1, while the opensuse installer is calling the old ssd nvme1n1 and the new one nvme0n1. I know because it shows the existing partition sizes on them that way, and recognizes that windows and kubuntu are on the old ssd.

So is this normal? Is this ok? Is it ok to just install it with the ssd names this way? Would that confuse kubuntu at all, or are the two OSes ok with calling them different things? I just don't want the installer to overwrite anything on my existing partitions.

you are viewing a single comment's thread
view the rest of the comments
[-] Murdoc@sh.itjust.works 2 points 6 months ago

But you're saying that it's fine not to do this, and leave them be?

[-] mumblerfish@lemmy.world 3 points 6 months ago

You may have unexpected problems if you do not use the uuids. Like in your case, the live gives them different names, this may mean that if you are trying to chroot your system from a live and use your fstab, the disks will be wrong. Also if you are dual booting and the disks swap names between the distros, I'd be worried that an upgrade of one of them may break it. What has happened to me is that an upgrade of the kernel and/or init system may rearrange the names of devices. This because there probably is some race-condition that changes because e.g. systemd changes. So what would happen if one distro upgrades its systemd to the same version as the other, will the names of the devices change? Maybe.

I'd do the install as you'd normally do. Then if you look at any of the installs fstabs you should only see uuid lines in there, if you don't, change them to uuid lines. If you do something manually outside of the fstab, do not reference the disk device names, only the uuids.

[-] Murdoc@sh.itjust.works 3 points 6 months ago

I see, thank you. I've looked into fstab as I'm not very familiar with it and I can see what you are saying in what I've read. So thank you for explaining it to me and steering me that way. I also looked at my existing fstab and it is using uuids, so all good there.

this post was submitted on 22 Mar 2024
6 points (100.0% liked)

Linux Questions

1008 readers
2 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 1 year ago
MODERATORS