VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » IT, programs, coding
Move Your Home Directory To A Second Drive DistroTube

Move Your Home Directory To A Second Drive DistroTube

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Move Your Home Directory To A Second Drive DistroTube Do you have more than one drive in your computer? Then you may want to move your /home directory (or other directories) to their own drive. It certainly makes reinstalling much faster when you don't have to backup all of that data and then move it back onto the machine after the reinstall. WARNING!!! I am not responsible for lost documents, photos, passwords, ssh keys, etc. Having a backup of the directory that you are doing this with IS RECOMMENDED. You have been warned! - https://www.distrotube.com/blog/move-your-home-folder-to-second-drive/
Date: 2022-03-30

Comments and reviews: 10


Can someone create a seperate virtual disk in VirtualBox and use it for various different Linux operating systems? It seems like a handy option if there are a lot of config files. I myself do all my testing in VirtualBox. I'm running Debian and Arch right now. But I'm experimenting with XMonad and Openbox on both. If I create a new installation of let's say Debian with a seperate virtual disk for the home folder. Can I use that virtual disk for another distirbution and add it after the installation of that operating system? Nice video (as always). Greetings from Belgium.
reply

Thank you for this useful and informative video. I recently bought a Raspberry PI 4 which has to run from an SD card and even though it does now support boot from USB, it's a hassle. Having your OS and all your files on an easily corruptible media such as SD is not preferable and 16GB is kinda weak. You can 256GB SD cards for less than $30 but I just wanted a more elegant solution. Being able to move my /home/user directory to an external SSD not only give me peace of mind but also allows me to play ball with the PI and keep boot on the micro SD. Thanks!
reply

hie... I am using CentOs 6.10... followed the steps to move home directory.. and i could do succesfully....but there is an issue...
result for df -Th is given below... which is fine:
Filesystem Type Size Used Avail Use% Mounted on-
/dev/sda1 ext4 33G 4.3G 27G 14% /-
tmpfs tmpfs 763M 220K 763M 1% /dev/shm-
/dev/sda3 ext4 40G 29G 9.3G 76% /home-
but when I check on disk usage analyzer... the root is showing 100% filled... which means its eating up space for earlier /home...
please help me out...
PS: I am a newbie to linux...

reply

Can anyone help me?
Just installed Ubuntu 20.04 LTS.
Chose the -Erase disk and install Ubuntu-.
I have 2 disks. (1) SSD, 120GB, (1) HDD, 1TB
Coming from Windows 10, how do I set all the folders Desktop, Documents, Downloads, Music, Videos, and all other apps to save/install to the HDD? Where the SSD would only act as a drive for the OS.
Also, how do I automatically mount the HDD. I have seen a couple of forums but it looks complicated with my current understanding of linux. Is there an easier way like it is on Windows?
tia.

reply

the resin folks hate linux gui is king and windows still is king i hate window will never use it unless this stuff makes me for a short time as a work around but i will learn this hateful evil crap its goofy a 300 gb free and -176 files in video folder and now home is full just weird and slacp space type hfg khfdjhmdjhm blaa blaa in terminal oh man f me now i know why i get a look from folk's like your an ass wen i say just install efi on your classic its cheap just buy a list of parts and tune it yep it is but not really
reply

Thanks for making this tutorial! I'm a total linux noob but this was very easy to follow, and it was always clear what each command was doing. I do have one question, though.-
When running the command -_sudo mount /dev/sdb1 /home_- how does the computer know to mount the drive at the _new_ home directory and not the original one? Is it because the drive and the new home directory are both currently mounted at mnt/tmp and so it just checks for the _nearest_ directory with that name, or something?

reply

I have a linux/windows dualboot, and I have all my personal files in a separate partition, but when I tried to setup spotify local files the media folder doesn't appear. The same happens with JDownloader if I want to download something automatically to that partition. (is this because linux can't use other partitions like windows does?) -INSERT SORRY FOR MY ENGLISH- xD
reply

Thanks - I screwed up my / and made it 10gb instead of 100gb originally, so i redid everything but figured i could be sneaky and keep my /home on the larger partition, but instead it created a new one on root (/). so i essentially wiped the old partition and followed this, along with Jeffrey's comment for safety on keeping /home- in case of mistakes. nice.
reply

9:39 let me back into the Lock Screen but every time I enter my password the screen goes black and puts me back into the Lock Screen. I-ve tried rebooting through the tty but nothing happens. Please help.
reply

I've found that moving the home directory to a HDD from the SSD (OS Installation) actually has a huge negative impact on app performance. Anybody else noticed this? Has any input on this?
reply
Add a review, comment






Other channel videos