PDA

View Full Version : [server] Ubuntu Server Upgrade



hellotyler
September 13th, 2017, 03:00 AM
I’ve got a few hard drives other then my OS drive (an SSD) and I’m trying to do is keep the data on these other internal drives …. I want to install a new OS and SSD drive - I can rebuild everything related to non admin user access. How do I make sure I don’t lose access to any of my files on the other internal drives ? Modify permissions somehow ?

HankB
September 13th, 2017, 09:21 PM
Best bet is to disconnect the SATA cable to the drives you don't want disturbed. Then there is no possibility that drive contents will be altered. Just plug them in when the new OS is up and running, add mount points for them and add to /etc/fstab. (If that's not clear, ask!)

If there is data on the drive you need to install the OS on, the only way to guarantee that it is not touched is to back it up (to a drive you can disconnect.) As part of the installation you can repartition the drive and that will wipe out any data regardless of file permissions. If you are careful you can install to an OS partition and leave the other data there. I've done that many times. But there are no guarantees.

HTH,
hank