Move your home directory to a new drive

  Рет қаралды 9,316

Practical IT with Jeremy Leik

Practical IT with Jeremy Leik

Күн бұрын

Пікірлер: 41
@ivanobuffa
@ivanobuffa 2 жыл бұрын
Hi Jeremy... along with Indians here there's an Italian guy (living in Ireland) watching this video. Thank you for making this video. Appreciate it! Keep it up :)
@Practical-IT
@Practical-IT 2 жыл бұрын
Thanks for watching. One of the perks that keeps me going is feedback from all over the world. I'm glad you found some value in this video.
@antonywright3778
@antonywright3778 4 ай бұрын
I had a lot of problems trying top achieve thios usung other tutorials. Them not working caused a lot of confusion. As a newbee to Linux, I was seriously tempted to change the server back to windows but thought I would give it one more go when I found your tutorial. Im glad to say its been a success. I just wish I had found your tutorial much earlier. A hugh thanks for the guidence.
@Practical-IT
@Practical-IT 4 ай бұрын
Thanks! It's comments like this that keep me making videos.
@carlitos11693
@carlitos11693 2 жыл бұрын
Thank you. Excellent tutorial. quick and to the point, No fat, just substance
@Practical-IT
@Practical-IT 2 жыл бұрын
I appreciate the feedback. I can't take all the credit for this. I followed an existing written tutorial which I linked in the description.
@jjock3239
@jjock3239 Жыл бұрын
I was using the terminal a lot more 20 years ago, and was a great fan of Gentoo Linux. I became quite conversant with doing installations and having the /home partition on a different drive. Years passed, I stopped using the terminal, and so, when it came to doing the /home directory back-up and setting up the the /home partition to a separate drive, I just about had a nervous breakdown. Thank goodness I found your easy and straightforward instructions for the process. Using rsync, I have the /home drive from the other system backed up, I have the new /home drive formatted, and am ready to move the data tomorrow.
@Practical-IT
@Practical-IT Жыл бұрын
I'm glad this video helped. When I saw the article linked in the description I was pretty sure that it would make a good video. Thanks for taking the time to comment.
@alecmanning9177
@alecmanning9177 2 жыл бұрын
Amazing tutorial, used this for moving my movies dir on a jellyfin server to a new LVM partition. Keep up the quality content!
@Practical-IT
@Practical-IT 2 жыл бұрын
Glad it helped!
@AnonymousB460
@AnonymousB460 2 жыл бұрын
Awesome video. Other videos explaining mount migrations were messy. I'm going to use your steps for /var. However I do recommend using lvm. Easy to expand if needed.
@dyllanbentley4361
@dyllanbentley4361 9 ай бұрын
Appreciate the video 2 years later!
@Practical-IT
@Practical-IT 9 ай бұрын
Glad it was useful.
@cseale61
@cseale61 Жыл бұрын
Nice! I use Pop, so this was great.
@Practical-IT
@Practical-IT Жыл бұрын
Great to hear!
@minthantzin7319
@minthantzin7319 2 жыл бұрын
Thanks a lot.It's very helpful for me.
@ayasutatar9147
@ayasutatar9147 2 жыл бұрын
Thanks man! Great Job.
@jnmldo
@jnmldo 2 жыл бұрын
Thank you so much for your video!
@stefanobaldacci5799
@stefanobaldacci5799 7 ай бұрын
Great help thank you very much
@Practical-IT
@Practical-IT 7 ай бұрын
Glad it helped
@dhruvagrawat
@dhruvagrawat Жыл бұрын
Great video 💯 is there any way i can expand my root directory for arch linux or I'll have to reinstall it
@Practical-IT
@Practical-IT Жыл бұрын
If you have room on the drive to expand root, you could do it. In all honesty though, I would backup and reinstall instead.
@dhruvagrawat
@dhruvagrawat Жыл бұрын
going for reinstall thanks 🙏🏻
@jim7smith
@jim7smith Жыл бұрын
Good explanation, however I really would like to see the procedure to actually do another base os install and acquire the /home on the separate drive. Maybe it is so simple i am missing it.
@Practical-IT
@Practical-IT Жыл бұрын
Great suggestion!
@fernandopc315
@fernandopc315 Жыл бұрын
Excellent!
@Practical-IT
@Practical-IT Жыл бұрын
Many thanks!
@vgfxworks
@vgfxworks Жыл бұрын
read somewhere about creating a log file in the process: @ 6:04 rsync -hiva --log-file=log.txt home /media/user/home
@SyberPrepper
@SyberPrepper 2 жыл бұрын
Cool. Thanks!
@Practical-IT
@Practical-IT 2 жыл бұрын
You're welcome.
@aaronjoseph4591
@aaronjoseph4591 2 жыл бұрын
Really simple tutorial and effective way, appreciate your effort and knowledge ❤. But I do have a question, creating new users will their home directory be also in the other drive, where does the installation files (like some git cloned repos) goes. Thanks 😊
@Practical-IT
@Practical-IT 2 жыл бұрын
When creating new users after you've moved /home they will be under /home in the new location. The old location no longer exists.
@adestrella
@adestrella 2 жыл бұрын
Great Tutorial
@enzanto
@enzanto 2 жыл бұрын
super helpful video!
@Practical-IT
@Practical-IT 2 жыл бұрын
Thanks! I appreciate the feedback.
@ZHW-m9b
@ZHW-m9b Жыл бұрын
This is helpful. But when operating "rsync", I think it's better to use "rsync -av /home/. /home_old" to sync hidden files too.
@ZHW-m9b
@ZHW-m9b Жыл бұрын
Sorry, I forgot hidden files usually don't exist in /home directory. : )
@brunoscotto4549
@brunoscotto4549 Жыл бұрын
well that's a RIP on my end, got a error he couldn't found ext4 partition even tho I've done the same thing in the video.
@Practical-IT
@Practical-IT Жыл бұрын
Are you doing this on a VM or physical machine? Was your disk actually formatted with EXT4 to begin with? What distribution are you running? Pop!_OS was used for this video. For the video, I followed the instructions from the OSTechnix article here: ostechnix.com/move-home-directory-to-new-partition-in-linux/ Keep in mind that this video was published in March of 2022, and there may have been changes that have happened between then and now that could break or change this process. Without more context and/or access to the machine, I'm afraid I cannot be a lot of help. You did have a backup before you tried to follow this video, didn't you?
@brunoscotto4549
@brunoscotto4549 Жыл бұрын
@@Practical-IT Hello thanks for that concern, I was doing it on a VM, my disk was formated EXT4, I was running Ubuntu 20.04 LTS, Everything work fine until I reboot. And I figured out WHY it did that. So I'll explain why it buged out. This VM was installed by some "new IT" and he installed it on SDB, when I install a new disk it became SDA (you already smell the calamity comming), when I moved the /home toward SDA the whole system though it was the main disk and decided to boot on it even tho it was a secondary disk making it unable to be boot again. Fortunately this vm was not even 12H old and very little was lost (some config file that took 2 hours to re-make and the whole installation who took 2 extra hours). TLDR : Make sur to always install grub on SDA otherwise you'll have nightmare later on. Also thank to your video I've now re-install this vm with SDA as main disk, SDB1 as /home/user data and SDB2 as /home/common that's used for shared folder with a samba shared folder. So thanks for your video because even if some mistakes were made it all end well (exept few hours loss it's no big deal).
@Practical-IT
@Practical-IT Жыл бұрын
@Bruno Scotto thank you for the follow-up. This kind of explanation is extremely useful for others in the community.
Move Your Home Directory To A Second Drive
14:00
DistroTube
Рет қаралды 66 М.
How to Store Your Personal Home Files on a Separate Disk on Linux
23:59
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Wubuntu, the Dubious Linux Windows
15:22
Action Retro
Рет қаралды 501 М.
How To Install Linux (with or w/o separated /home partition)
15:04
The Linux Experiment
Рет қаралды 68 М.
Can I move my Home Directory to another Disk?
36:44
DJ Ware
Рет қаралды 6 М.
Linux Tip | Moving to a New /home
30:35
Joe Collins (EzeeLinux)
Рет қаралды 29 М.
How to Create Separate Home and Root Partitions on Linux
27:39
The Linux Cast
Рет қаралды 22 М.
Switching to Linux: Drives & Partitions
17:11
ExplainingComputers
Рет қаралды 76 М.
Easily moving Linux installs
11:44
Chris Titus Tech
Рет қаралды 40 М.
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 46 М.
Problems You will Encounter on Linux (and How to Solve Them)
23:01
Rob Braxman Tech
Рет қаралды 195 М.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,8 МЛН