this post was submitted on 22 Mar 2024
6 points (100.0% liked)
Linux Questions
1071 readers
1 users here now
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
But you're saying that it's fine not to do this, and leave them be?
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.
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.