Adding a new HDD to my system.
I'm going to add my new HDD to my system when it gets delivered, so I was gonna ask these questions:
- Since my current /home partition is on my current 1 TB HDD, how do I move that partition to my new 2 TB HDD?
- What do I need to reconfigure? What do I need to add to /etc/fstab and what else do I need to change?
- Is it possible to have user's home directory to be on one HDD while all the other user's home directories are on another HDD? (for example - user Alex on the 1 TB HDD, user Brian and Clare on the 2 TB HDD)
- How do I resize my / (root) partition to be bigger? (a lot of programs are going to be installed so I will need to resize it from 16 GB to something like 64 GB)
All help is appreciated :)
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- b7ns41
9 comments
cp -aorrsyncthe home dir to the new HDD, just do it while the user isn't logged in.usermod -d /path/to/home, or during the user creation withuseradd -d /path/to/homeWith the current ssd prices I'd sell the old hdd add some money and buy any decent ssd at least ~250 GB big (I like the samsung evo 860 but it's not your only option and while it's about as fast as a sata ssd can be (bigger = faster and more durable) it might be out of your price range) and use it for everything except large media files which aren't going to see any mayor improvements in speed from the lower latency and higher read/write speeds on ssds. Does it really matter if a movie starts playing a little later? And decoding is cpu/gpu (if your gpu can do it and you are using drivers that support it and have it enabled) bound anyway.
Unless you're very rich, then you can use nvme drives for them if you want.
If you have enough ram use tmpfs for anything that doesn't need to stay after a reboot tmp is a good candidate (although I stopped using tmpfs for it because some makepkg compiles just didn't work (stuck during disk access despite more than enough free space being available), ~/.cache, ...
I have 16 GB (2 x 8 GB) DDR4-2400 memory
Try and see. If you're one of the people that open 100s of tabs you'll need more...
/etc/fstabto have the right UUID for your new partition for/home, done./homeand the 1TB drive to/home/alex. If you want something more complicated, mount them to something like/mnt/home1and/mnt/home2and then symlink the home directories.gpartedis your friend.Thanks for your help guys! What you said will really help :)