I really want to switch to Arch but have a lot of files that I need
I really want to switch to Arch but have a lot of files on my disk that I need (like programming projects and documents for school). Is there any way I can just remove only the Linux files and keep my home folder on the disk and then install Arch?
About this post
- Posted
- Archived
- Score
- 0 · 50% up
- Kind
- Text
- ID
- lo08cs
19 comments
The fact that you are asking should motivate you to back up your data properly before proceeding. It would be very easily to accidently destroy all your data when installing an OS especially if you are not sure.
Backup your files before you do this or you might regret it.
Backup the files (like an external USB) and make sure that you can read them on another device.
move home folder to new partition
If I make 3 partitions, install Arch on sda1, Keep Mint (my current) on sda2, and put the home folder on sda3, and then give both GNU/Linux installs the same hostname and user, will I be able to access the home folder from both installs or will I still have to change the permissions every time?
Deleted before we saved it.
You will be able to access the home directory from both installs. You might get some conflicts with config files, it will depend on your setup. But I have done this before with no problems
Yes this will work, but I'd be careful sharing a home folder due to conflicts like u/ijix alluded. What you can do however is move all files you want to keep to a separate partition and mount that partition on each install. I'd recommend keeping the home directory on the same partition as root in a multi-boot scenario, but it's not strictly required it'll just take more finagling.
Here's my current setup, you could do something similar;
Notice my 'docs' partition is just mounted in my home directory somewhere, I could put it in the same place (or anywhere else) on another root filesystem were I multi-booting like you're suggesting.
Here's my accompanying fstab;
Do not do this.
Unless you format the partition, you could simply delete everything that is not /home and then install Arch. Arch does not do anything with existing files. You could rename /home to /home_old, install Arch as you would without formatting the partition and then move over all the files.
Deleted before we saved it.
Hey! Since Linux is the same, just copy the home folder from your Mint distro into your Arch install.
Copying over config files blindly invites disaster.