Do You Need A Separate /home Partition for Linux?

  Рет қаралды 57,025

Joe Collins

Joe Collins

Күн бұрын

"You gotta keep 'em separated!" Or do you?
I forgot to talk about BU at the end. It's a lovely backup script I write a while back for Linux. Check it out at: www.ezeelinux....

Пікірлер: 270
@wateryevents960
@wateryevents960 Жыл бұрын
Hey Joe, I just wanted to let you know, you are universally respected in the the Linux community. No matter the sub-community or the platform, the phrase "pure gold" is commonly used to describe your videos, regardless of experience level. I just wanted to take a second to tell you that your work is appreciated.
@jeffreyjoshuarollin9554
@jeffreyjoshuarollin9554 Жыл бұрын
Well said!
@EzeeLinux
@EzeeLinux Жыл бұрын
Thank you! :)
@s.b.asokadissanayake4276
@s.b.asokadissanayake4276 Жыл бұрын
The critical point is OEM guys reserve 1MB for Microsoft. One cannot read the script in there. What it assumes is Microsoft First and Linux Second. There is no first priority for Linux. I figured this out and I leave 16 to 32 MB as a default. If one does this it does not matter how one does the partitioning. By the way , I make twice the size of RAM for SWAP. I am not a developer now and a long term user of Debian. Even though Ubuntu booted Debian did not. Debian did not care to leave a space for Microsoft. Ubuntu developers figured this problem and created FAT based ESP partition where Boot Loader is written. It writes a copy of the boot loader in the 16 to 32MB portion, too. Debian of course added ESP partition in due course. Now I leave 528MB for the ESP. By the way, Debian has the best partition tool. New Calamara boot loader of Debian addresses all these issues. During partitioning
@s.b.asokadissanayake4276
@s.b.asokadissanayake4276 Жыл бұрын
@bradsw57
@bradsw57 Жыл бұрын
To be honest, I believe it's more valuable to create a separate /var partition. The reason for this is that /var/log (and other subdirs, but log in particular) can really get BIG if you have a misbehaving daemon , or you have a web server that suddenly gets a bunch of traffic or if your mail daemon suddenly gets a lot of traffic or...a zillion reasons. If this happens and a rogue process eats up all the available disk, it can make logging in to fix it a tad challenging. By partitioning /var the worst that can happen is that logging, etc, stops but you can typically still get in and fix whatever's gone haywire relatively easily. (This may matter more in the case of server deployment than desktop deployment - but I've always done it (and I've built a LOT of unix/linux systems over the years) and it's saved me a bunch of headaches on more'n one occasion.
@Obeeewaan
@Obeeewaan Жыл бұрын
very true, I do this also on any server type install, snd my own main desktop machine just for consistency 😎
@LuisDiaz-qg3eg
@LuisDiaz-qg3eg Жыл бұрын
What's been difficult it's been estimating the correct size of /var for desktop use. You can use a lot of space with docker and a database/netdata logging fine-grained status data. The docker part is always increasing for projects that aggregate and compare lots of implementations and languages, drag races, or it can just be forgotten and get over development years to incredible sizes.
@RoelandJansen
@RoelandJansen Жыл бұрын
@@LuisDiaz-qg3eg and you cannot mount a lv in var that contains your docker stuff? Also guesstimating is not an issue if you use LVM. Just start with some initial sane numbers and change it on the fly when you need space.
@RoelandJansen
@RoelandJansen Жыл бұрын
there is another reason why /var (or better said /var/log) is better separate. If you use a filesystem that does not have reserved space for root, you may end up in a situation that logging is not possible and that can cause for instance dhcp server stuff to cease work. Or better: sshd not taking a login anymore. Security...
@growleym504
@growleym504 11 ай бұрын
@bradsw57 That's interesting. How big of a /var partition do you usually make? Right now I am using a 16GB Swap, a 40GB /, 500MB each in BIOS Boot and EFI System partitions, and all the rest of the 1TB drive partitioned as EXT4 for a /Home partition. This is pretty typical of my Ubuntu installs and I can't remember ever seeing less than 10GB free on the / partition.
@BartFlossom
@BartFlossom Жыл бұрын
Thanks Joe. This is exactly what I've been looking for. I've struggled with partitioning, and this goes a long way in addressing my concerns!
@OcteractSG
@OcteractSG Жыл бұрын
VirtualBox does have an EFI mode available. There is no Secure Boot, but you can go through the same partitioning that you would on a modern bare-metal installation. I usually go with five partitions: EFI, boot, swap, root, and home. Technically the boot partition is optional, even when doing disk encryption, but it makes things easier to follow when using BTRFS subvolumes. The reason why is that, without it on an unencrypted system, GRUB will target the boot directory on the main subvolume, so if you boot into a different subvolume, the boot directory you see will never be used. Chances are you booted into a different subvolume to fix something, and that boot directory being fake can really trip you up. Ask me how I know. Also, the dedicated boot partition allows the kernel to load and provide keyboard drivers before you enter a password for unlocking an encrypted system. If you have a device whose keyboard does not work in its BIOS or in GRUB, you will need the kernel to be loaded before you attempt to unlock the disk (my laptop’s built-in keyboard is like this; as near as I can tell, some UEFI variable controlling the keyboard got flipped, and I don’t have access to it without modding my BIOS). Distros that use the Calamares Installer often won’t support a dedicated boot partition on an encrypted system, which makes those distros unusable for me (a laptop should have disk encryption in case of theft). As for the home partition, in theory it makes updating systems based on Debian Stable to the next major release faster and more reliable. It also makes distro hopping easier. If the installer misbehaves or doesn’t support keeping an existing home partition, you can install just into the root partition, blow away the home directory that came with the distro, and then set you home partition to automatically mount in its place by editing the filesystem table file. While BTRFS subvolumes provide logical separation for day-to-day use, they don’t allow you to do all of that. Finally, for the swap partition, Linux does not provide dynamic swap, so there is no advantage to installing with a swap file; the disk space will always be committed one way or another. Just set up the swap partition right before the root partition if you’re on a SSD or if you were thinking of using a swap file. If you’re on a HDD, in theory you would want swap to be on the outside edge of the platter. However, you would have to check to see whether that makes a difference on your drive and whether the start or end of the storage space is on the outside edge. However, even then, having your home partition last can be very convenient if you ever have a need to resize it and make a new partition for something else.
@Almohebful
@Almohebful 10 ай бұрын
Is there a need to have a separate EFI partition? Because EFI is a directory in boot anyway?
@OcteractSG
@OcteractSG 10 ай бұрын
@@Almohebful It needs to be FAT32, so maybe not if your boot partition is FAT32. However, UEFI might expect a certain directory structure in that partition, so it could still get lost in the boot partition.
@ialkeilani
@ialkeilani 9 ай бұрын
Great perspective and advice
@robertpearson8546
@robertpearson8546 14 күн бұрын
BIOS is for old small systems. It does not work if a drive is larger than 2TB. Even then the extra 1MB of space is required to boot with BIOS. The GUID Partition Table expands the drive size from 2TB to 18 exabytes and does not require the 1 MB of extra code to boot. In addition, the UEFI System Partition can contain applications like Ventoy.
@notapplicable2636
@notapplicable2636 Жыл бұрын
I always have, as it makes backing the system up way easier in my opinion
@Skelterbane69
@Skelterbane69 Жыл бұрын
It's also nice having all your home stuff in its own place. Something I ahted with windows was it placing a bunch of stuff in my documents folder and sometimes refusing to install on any other drive than my small C drive
@notapplicable2636
@notapplicable2636 Жыл бұрын
@@Skelterbane69 YES entirely! I actually had a backup script written in bash to sorta "automate"/simplify things for when I plugged my external on
@jimwinchester339
@jimwinchester339 Жыл бұрын
A lot of us linux users still use regular disks. And because of the many types of systems I have, I use removable IDE drives to boot from, and then keep the big/serious/permanent stuff on multi-disk arrays hosting logical volumes. I have a separate /home, and a separate everything else - everything I'm allowed to have separate (some new releases no longer allow a separate /usr). Most of them (except /boot) are logical volumes instead of paratitions. Couldn't be happier. Many of these volumes are usable on other linux distros & releases. So my separate volumes are - /usr/local /tmp [yes, even /tmp!] /opt /srv /var /boot
@Bruces-Eclectic-World
@Bruces-Eclectic-World Жыл бұрын
Yep! Old school Joe... '/boot' '/' '/swap' '/home' that is the way I roll. been working good for 7 years, not changing now... Too old for that... 🤣 Thanks Joe for the videos once again! Been telling you that for years... 😝 LLAP 🖖
@tanmaypanadi1414
@tanmaypanadi1414 Жыл бұрын
i was going coco loco watching your install using ext2
@TheClembo
@TheClembo Жыл бұрын
Hi Joe, was screaming at the screen watching you choosing EXT2 but was relieved to see it all working out without issues! Did you not hear me? Love to know how to setup a script to reinstall all my chosen programs again on any new install (or your version) it's the worst trying to remember what I need finding I haven't got it when I need it! Thank you so much. Still using BU works great. ATB
@batboy49
@batboy49 Жыл бұрын
I have a separate home and opt partition. It is nice, as so much goes in home and I use opt for a ton of things so I can just mount my data drives to those partitions.
@BearZA_91
@BearZA_91 Жыл бұрын
This is great, always wondered about the seperate Home partition
@RoelandJansen
@RoelandJansen Жыл бұрын
an example here. Note the different mount options. The different filesystems. The reason for this is security, performance etc. You cannot misuse /tmp for instance with the sticky bit to compile your script-kiddie stuff and execute it, haverivilege escalations. /dev/mapper/system-home on /home type ext4 (rw,nosuid,nodev,relatime) /dev/mapper/system-opt on /opt type ext4 (rw,relatime,data=ordered) /dev/mapper/system-root on / type ext4 (rw,relatime) /dev/mapper/system-srv on /srv type ext4 (rw,relatime) /dev/mapper/system-storage on /storage type xfs (rw,nosuid,nodev,noexec,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota) /dev/mapper/system-tmp on /tmp type ext4 (rw,nosuid,nodev,noexec,relatime,data=ordered) /dev/mapper/system-usr on /usr type ext4 (rw,relatime) /dev/mapper/system-var on /var type ext4 (rw,nosuid,relatime,data=ordered) /dev/mapper/system-vartmp on /var/tmp type ext4 (rw,nosuid,nodev,noexec,relatime,data=ordered) /dev/nvme0n1p3 on /boot type ext2 (rw,nosuid,nodev,noexec,relatime) You could even make /boot ro and only make rw when you have a new kernel.
@entelin
@entelin Жыл бұрын
This is one of those things that new users shouldn't worry about. Most of the time it's just unnecessary complication with little benefit and requires you to know where things are stored and how much you will actually need where. For other use cases it can depend greatly. Servers should be split up as it can prevent downtime and help define your expected functionality. For filesystems like zfs and btrfs it's often advisable to create separate datasets for every home directory, share, or other kinds of divisions because it makes it easier to snapshot / rollback / clone, etc. So yes, it all depends, but don't feel obligated to do detailed partitioning for your typical home system.
@iXenox
@iXenox Жыл бұрын
I would have found it really helpful to be able to reinstall the system without having to copy over the /home every time. I'd reccomend trying it, but if it doesn't work then leave it be
@entelin
@entelin Жыл бұрын
@@iXenox While I can see how it would be helpful if you are in that "reinstall constantly" phase. I think especially for new people it would be bad advice to rely on a separate home partition for the purpose of speeding up reinstall. It's just too easy to wipe your data during an install. It's always best practice to back up your data first rather than trust you won't make some mistake partitioning.
@iXenox
@iXenox Жыл бұрын
@@entelin I didn't say that you don't need backups, I said that I don't want to copy once to the backup drive and once to the used drive after install. Copying twice is slower than copying once. (Esp. on HDDs) Retaining the /home isn't a replacement for backups and I never said that. How is this not clear? The best part is that I don't even have unrecoverable files on it (like family photos or something), I just got horribly tired of setting up the _identical_ defaults _everywhere_ for the 5th time
@KaisarTheWiseMonkey
@KaisarTheWiseMonkey Жыл бұрын
I used to create a home directory but usually the space was eaten up so quickly keeping the other unused space basically unused. Now o dont bother keeping a different home directory. SO basically it the the use of space which forced me to ditch the separate home partition.
@RenderingUser
@RenderingUser 3 ай бұрын
Yes. I made the mistake of not doing that. Now I can't distro hop without making massive changes
@someperson8670
@someperson8670 Жыл бұрын
20:33 just following your instruction: "yOuRr an iDioT for using ext4" xD apparently I'm an idiot too😅👍
@bart2019
@bart2019 Жыл бұрын
I have a question. One thing I like about using a separate partition for /home is that if it accidentally fills up (for example with backup files), it will refuse to make more backups, but it won't block the system itself. The disadvantage is the hard sizes, like you said. So, the question is: if you move to a single large partition for everything, is there a way to prevent the home directory from filling up the entire file system, and grinding the machine to a halt? I think that is called "quota", as you sometimes see on shared hosts, but I have no idea on how to make this work on my own machine.
@Monarchias
@Monarchias Жыл бұрын
I think these days a separate home directory could be useful if those linux instances are VMs! For example in proxmox VE i could manage backing up only the home directory drive, which vhdd i can create as a secondary drive in proxmox. So in that case i save some backup/snapshots space, not including the VMs OS vhdd! Yeah, good idea i just had, I'm gonna try it and see if later i see fit in a working daily system. And if that similarly could work out on a windows system as well, i could save a lot of backup space.
@salparadise1220
@salparadise1220 Жыл бұрын
Need? No. But it's good practice, especially if you're creating a box which will have multiple users. For the home user these days a lot of content can be stored online. When I started using Linux there was no cloud and there were no Live Images available, and if you only had one computer then taking the drive out to put it in another machine as a slave to get stuff off it wasn't possible, and if you were newish to Linux then messing up the root partition was by no means unheard of, so you needed your stuff on a separate partition. As the saying sort of goes - you don't need a back up plan until you need a back up plan, at which point if you didn't bother with a back up plan, you're screwed.
@corrosionoc69
@corrosionoc69 Жыл бұрын
Not only do I have a separate home directory...I have a separate home drive for my desktop. I can totally wipe out my installation...and still have all of my settings and files so that I cam just pick up where I left off right away.
@JoeLinux2000
@JoeLinux2000 Жыл бұрын
A separate /home is best. If you are backing up to a USB drive, it's less important.
@hampus23
@hampus23 Жыл бұрын
Enable efi in virtualbox motherboard settings.
@gljames24
@gljames24 Жыл бұрын
I have my home directory on a Btrfs raid1 so I have to have it on a separate partition.
@rickgaine3476
@rickgaine3476 Жыл бұрын
Over 33 years of administering Unix and Linux says that disks should be partitioned. One needs a separate /boot, /var / and /home at a minimum. Should a system not be partitioned properly one user could potentially fill the disk and make things truly difficult. /var and /tmp should most definitely be separate filesystems. Those 44% that don't agree with this obviously don't run Linux in a production environment. If it's just a single user hobbiest machine, nothing really matters though. I tend to always go with the saest method though.
@RoelandJansen
@RoelandJansen Жыл бұрын
Better, use logical volumes. To be honest, for home use, the default partitioning does fine. For production systems, I get so much virtual headaches... And even my own home devices are secured. /tmp also must be separate as mount options are used like nosuid, noexec, nodev. For /home as well to have different mount options etc. And lastly - my installer says "I see lv's, partitions etc. Import them as a base config? Should I format them or not? Same for users etc. Basically one of the better ways not to nuke your systems unintentionally. And no it is not debian based. (same as for our dtap streets)
@uweburger
@uweburger Жыл бұрын
@@RoelandJansen Why do people not use LVM, it is a mystery to me
@1pcfred
@1pcfred Жыл бұрын
The separate /boot thing is a non-issue now. There used to be a 1024 cylinder limit with the boot loader but that's long gone.
@ok-tr1nw
@ok-tr1nw Жыл бұрын
I never really need a seperate home partition because i use borg backups (pika backup as the gui)
@1pcfred
@1pcfred Жыл бұрын
Separate home partition has nothing to do with backing up. It is about being able to keep your files if you ever want to change the OS. Combining your user data with the system is not a good idea. There's absolutely no upside to doing that and plenty of downside.
@biscotty6669
@biscotty6669 Жыл бұрын
The problem with a separate home directory is the .local, .config, ... They aren't necessarily swappable between distros/DEs. What I do is keep a "home" partition only for my data directories.
@1pcfred
@1pcfred Жыл бұрын
Whenever I reinstall I rename my old home directory and just make a new account that makes me a new home directory then I change the ownership of my old home dir to my new user. Because I don't want to transfer stale dotfiles to a new system.
@biscotty6669
@biscotty6669 Жыл бұрын
@@1pcfred for me it's easier to just install a fresh version and link to the data directories. This is also useful for me because sometimes I need to switch into kubuntu because I need the GPU for pytorch and I haven't gotten it working in Fedora yet. I can just go into that distro and I have access to the same data that I have when I'm in Fedora and just work there for a while before going back into fedora. Plus it simplifies backups somewhat. Sort of like a single source of truth.
@1pcfred
@1pcfred Жыл бұрын
@@biscotty6669 instead of rebooting I'd just figure out how to make it work. I've never known anything that worked on one distro that couldn't be made to work on any other distro. Linux is Linux. The only difference between distros is packaging. But intractable Python issues can be difficult to get to the bottom of. I've certainly been there.
@biscotty6669
@biscotty6669 Жыл бұрын
@@1pcfred I plan to fix it in Fedora for sure. I haven't actually tried again since I upgraded to F38. It's just at fixing it takes time and I need to spend that on work. Rebooting is fast.
@1pcfred
@1pcfred Жыл бұрын
@@biscotty6669 yes but rebooting kills uptime.
@awuuwa
@awuuwa 2 ай бұрын
17:23 That was to do with the fact that the mechanical arm on the spinning disk would access the end of the hard drive faster than the beginning. So I've heard. But if you are using SSD s then that is no longer relevant in today's age.
@thiesenf
@thiesenf 5 ай бұрын
And he made the / an ext2 partition... :-)
@iXenox
@iXenox Жыл бұрын
EFI needs a ~500MB FAT partition for it to work My guess is that if you point the instsller to the drive it tries to add a new partition If you pointed it to a partition manually it should have been a FAT format If neither of these was an issue then idk what is happening
@EzeeLinux
@EzeeLinux Жыл бұрын
All conditions were met... It didn't work on Friday but it worked today! I have no clue why. :)
@iXenox
@iXenox Жыл бұрын
@@EzeeLinux I thought that you made the partitions during the test in a similar way, which I don't think would have worked... Very weird... PS: I think that people would align the partitions (like swap) to the end of disk because it moved faster and was quicker to access because of that
@EzeeLinux
@EzeeLinux Жыл бұрын
@@iXenox The idea is to have swap between the / and /home partition because the drive heads are going to be reading from one or the other anyway. If you place swap at the end of a drive it is technically faster to read but the seek time is high. :)
@fordprefect7779
@fordprefect7779 Жыл бұрын
More than 2TB you need GPT Partitioning. For EFI you might to have to tell your mainboard to use EFI (or both and when both, which to look for first). The swap must be larger than RAM when you want to use hibernation.
@breadmoth6443
@breadmoth6443 Жыл бұрын
i have a home partition on a completely separate drive (conventional) , i have shot myself in the foot and needed to reinstall, so i did and kept the home partition on the separate drive the same... no issue after the reinstall, all the data there only thing i had to do was chown even though it was the same username too.. i think this is the issue with point-and-click installers. slackware just works just fine, with its ncurses installer, which is what distro i use. so i don't know why LM or LMDE is so finnicky with the separate home partition, oh well.
@1pcfred
@1pcfred Жыл бұрын
Separate partitions work just like separate physical drives do from a logical standpoint. Of course if you have an actual physical failure then all partitions on a drive are at risk depending on the failure mode. There's no problems as far as formatting the root partition on one partition and leaving the /home directory untouched if it is on another partition. You format partitions not drives. But partitioning is a bit different. Although GParted can do pretty much anything. It can grow partitions on the fly, add, remove, etc.
@breadmoth6443
@breadmoth6443 Жыл бұрын
@@1pcfred i would rather keep my home on a different drive , and a conventional is great, barring mechanical failure, i don't have to worry about wearing out my conventional like an SSD, and as for SSDs, it appears that not all distros are including F2FS as an option when installing your distro, slackware does.
@1pcfred
@1pcfred Жыл бұрын
@@breadmoth6443 I am not sure if your concern about the reliability of SSDs is warranted today. Modern ones are considerably more reliable than mechanical disks. There's nothing any Linux distro does that others cannot be made to do. Slackware is not special in any way. Now if you were talking about ClearOS then maybe. But you're not. All Slack has going for it is the worst package manager in existence. Well, perhaps it's improved since the last time I ran Slack? But it was pretty piss poor back then. So it had a long way to go. Does Slack still use BSD init? sysV was too modern for them.
@davidwayne9982
@davidwayne9982 Жыл бұрын
I use gparted and REMOVE the swap crap.... ALWAYS... why waste all that space?
@guttom
@guttom 3 ай бұрын
you should, you never know when 💩 comes up, better be ready than sorry
@SnowyRVulpix
@SnowyRVulpix Жыл бұрын
In my opinion, not having a separate /home on a separate physical drive is just plain stupid. Unless you don't care if you lose /home if something goes wrong with your OS or the drive the OS is on.
@1pcfred
@1pcfred Жыл бұрын
Who's to say something can't happen to the separate physical drive you're putting /home on? Is this a magical drive you're using?
@motoryzen
@motoryzen Жыл бұрын
Need? Need in my opinion is relative. For the basic end user.. probably not But ill tell ya. Having learned how to separate my /boot, /, and /home into 3 separate partitions ans then install LM Cinnamon ...man..it makes lifr sp kuch easier when it's time for clean install of the next major version and srill all my stuff just works. Makws backups easier too now tjey i understand all sensible ways to do so. 25:37
@motoryzen
@motoryzen Жыл бұрын
9:30 to 9:38 uuug..i noticed you have your time shift snapshots targeting the same physical drive. If that drive ever fails... Your snapshots go " poof" as you'd say 😛
@EzeeLinux
@EzeeLinux Жыл бұрын
Uhg!... I don't care. Timeshift is for a convenient quick restore if things go south. If the drive altogether you're going to have to re-install anyway. Timeshift makes for a very poor full system backup program.
@Bruces-Eclectic-World
@Bruces-Eclectic-World Жыл бұрын
@@EzeeLinux I still use XBT... 😃 LLAP 🖖
@samanthagriffinv2.08
@samanthagriffinv2.08 9 ай бұрын
One of the reasons I don’t like Linux is it’ll make a ufei partition I’ll tell it to install to that one but it’ll just say screw you and over write the windows partition which is on a different drive that’s the main reason I don’t like I I shouldn’t have to remove every drive out of my system just to install an operating system windows don’t do that bs plus windows will install in seconds and Linux would take 8+ hours and not even be half way done if it didn’t hang during it at some point in time that installing both from the same exact usb drive so Linux is not only buggy and slow but I’ll do whatever it want to that’s why I don’t like Linux and what it sounds like you where having a similar issue which is more proof on why Linux is just ain’t it
@MuhammadYusuf-nz5nj
@MuhammadYusuf-nz5nj 6 ай бұрын
i waited 3 minutes for purpose of vide lol
@skigulmarg-com
@skigulmarg-com 4 ай бұрын
Thanks For this video. Maybe, if possible, you could create the same type of video for Fedora 40. I want to reinstall f40 but the Installer is different and I am a little confused. It would be greatly appreciated. Thanks in advance.
@adrianalexandrov7730
@adrianalexandrov7730 Жыл бұрын
having separate partition saved me multiple times. And having it on a laptop with SSD for a system and HDD for user data is a natural thing.
@TheLinuxCast
@TheLinuxCast Жыл бұрын
Once you switch to btrfs, partitions are meaningless. But I used to do the separate home partition, simply because it's easier to hop. Great video as always, Joe!
@pepeshopping
@pepeshopping Жыл бұрын
The FS doesn’t matter! A dedicated partition for data/settings is STILL handy when you want to backup at the BLOCK level!
@turun_ambartanen
@turun_ambartanen Жыл бұрын
@@pepeshopping BTRFS introduces the concept of subvolumes, several of which can be on a single partition. Each subvolume is not arbitrarily limited in size, only the total size of all subvolumes on a partition is limited (due to the physical size of the partition). This brings the advantage of not having to decide where to split your drive into root and home, an issue wich already bit me once in the past. I ran out of space on /home, while still having plenty of space on the root partition. You can backup btrfs subvolumes similar to how you can back up a block level device.
@Fractal_32
@Fractal_32 Жыл бұрын
Why not use ZFS?
@turun_ambartanen
@turun_ambartanen Жыл бұрын
@@Fractal_32 You can find detailed comparisons online. Personally I like the flexibility offered by btrfs. I have three HDDs for data: 1TB, 1TB, 2TB. With btrfs I get 2TB of Raid1 storage. My understanding is that ZFS would only offer 1.5TB. I can add and remove disks whenever I need, which I did twice already, and change the RAID level appropriately, all while my PC is running. (PS: Desktop use. Your conclusion may be different if you need it for a NAS)
@yellingintothewind
@yellingintothewind Жыл бұрын
@@Fractal_32 ZFS is not available out of the box. For most cases, btrfs and zfs are interchangable, especially for desktop use, so not having to do anything to get access to your filesystem is nice.
@nosbig98
@nosbig98 Жыл бұрын
The whole point of putting your swap at the end of the drive was because of the different rotational speed of sectors on traditional hard drives on a platter. With an SSD, the random access speed is the same in any location, so swap can be anywhere on the drive, including in a swap file which might get fragmented, which was another reason to use a swap partition, so that all the swap space was guaranteed to remain one contiguous space.
@CyberCommercialBroadcasting
@CyberCommercialBroadcasting Жыл бұрын
Does SSD needs swap partition on modern PC! Nah, in various cases it does not needed swap partition, especially it depends on various file systems and CPU specs.
@nosbig98
@nosbig98 Жыл бұрын
@@CyberCommercialBroadcasting I would still have a small swap partition, even on modern systems with SSDs. The old rule used to be a swap partition twice the size of tour RAM, but once we got to 4GB of RAM, having that much swap was wasteful. I would allocate 1-2GB of swap on any system.
@CyberCommercialBroadcasting
@CyberCommercialBroadcasting Жыл бұрын
@@nosbig98 Precisely good for you but with 16-32 gigs of RAM I don't thing swap partition is really needed on SSD. Indeed with 4 gigs of RAM included similar swap partition was truly wasteful, RHEL or other distros are follow the rule in different ways.
@scottfranco1962
@scottfranco1962 Жыл бұрын
All you are doing when you divide up a disk in partitions is reserve memory in a way that it is no longer automatically usable. With a single partition, the OS manages the space on the drive, and it can do it more efficiently that you can. The traditional reason for partitioning are: 1. Different operating systems. QED. Different OSes can't manage each others partitions OSTENSIBLY[1]. 2. Using a swap partition, sized to all of RAM, so that the system has a fixed backing area for all ram pages. 3. Because you might want to wipe and reinstall the OS without also wiping your user area. #1 is not actually true, but is effectively true. Linux can manage Windows disks and I assume someone has worked out the converse by now. Windows used to be able to install two different operating system versions on the same disk. The main reason you don't want to do this is ITS A MESS. You are putting a lot of faith in programmers, and it ain't justified. #2 is not necessary any more. It used to be a requirement to do what is called a "slam down". This works by putting large capacitors in the power supply, giving the system an interrupt when the power is going bad, then having the OS quickly write all ram to disk and restarting when the power comes back on. Neat. Nobody has done this since the 1960's. The other OSTENSIBLE[1] reason to do this is because the swap area can be placed in order so that page swapping does not have to travel all over the disk. This is no longer real necessary as the OS can arrange to present the swap area as linear, and the whole thing is irrelevant for SSDs in any case because they have no seek time. #3 is probably the most rational excuse, but it is still a massive waste of space, since you have to excess the OS partition dramatically to be sure the next bloatware special will fit in that partition. Me? I use the ability to put the old OS drive in and copy user data from one to the t'other when upgrading. [1] A neat word meaning "kinda, but not really".
@hyoryo
@hyoryo Жыл бұрын
#3 is the reason i use btrfs nearly everywhere nowadays. subvols make data management real easy.
@noferblatz
@noferblatz Жыл бұрын
Assuming you have a lot of data and configs saved in your /home directory, you will want to preserve it when reinstalling. If you have a separate home partition, all you have to do is mount it and edit your fstab file, and you're instantly configured after a reboot. However, if you don't have a separate home partition but do have a full backup, then you need to mount the backup, and then copy the /home files over. Reboot and you're back in business. So the real difference is that if you don't have a separate home partition, you'll have to sit through an rsync copy of files from the backup to your home directory. Takes longer. I've always opted for having a separate home partition, but your video makes me want to reconsider this. I typically do two backups (cron jobs) a day to separate drives. So i could avoid the separate home and just copy stuff from one of the backups. I'll have to ponder that. It sure would make partitioning easier, because I've had to manually partition things forever, and it's a pain.
@akeiai
@akeiai Жыл бұрын
I've done too many reinstallations, and what I do is rename the /home/ folder to -1, and then, remove every other folder in root except the actual home folder. This works every time for some reason, and after that, I could just chown the -1 folder with permission similar to the distro's permissions, remove the distro's automatically created user account, and then rename the folder from -1 to
@costascostas1760
@costascostas1760 Жыл бұрын
I just have a separate partition mounted at mnt and I symlink the folders to tue home folder. Thus I get a squeeky clean reinstall and preserve the few programs that matter like thunderbird, a ref manager zotero, documents downloads etc. It takes 10 minutes to setup my desktop the way it was.
@prashanthb6521
@prashanthb6521 Жыл бұрын
I use root on zfs with snapshots. I rollback entire OS partition in case of trouble. I guess I should create a different dataset for home.
@henrymach
@henrymach Жыл бұрын
I never create a separate home partition. I always prefer to install a separate disk and use it to save files. This way I don't have to think twice before I nuke the entire system and reinstall
@larrbaII
@larrbaII Жыл бұрын
Me as well for the rare event of a HD fail. At this point you need a new drive anyway/Backup and reinstall to the new drive.
@1pcfred
@1pcfred Жыл бұрын
If you make a separate /home partition then you can nuke root and keep /home. I have a whole other disk just for data storage too. That's besides the point. /home/user is for user stuff. The storage drive is like a storage locker. I don't live in a storage locker.
@godisgood5089
@godisgood5089 Жыл бұрын
The bootloader goes on the device, not the partition. Let the installer put it where it prefers to. That's why there's blank space before your installation partitions no matter how precisely you enter bytes in their sizes, it requires a space on the device to put that info. Best not to touch it.
@brolinofvandar
@brolinofvandar Жыл бұрын
Over the decades, I've evolved from putting /home on a separate partition to putting it on a separate drive, if possible. The greatest advantage of that being, I can completely blow away the entire OS installation, without even involving the /home drive if desired. Complete the reinstall like a normal first time install, then just change it so the (untouched) /home drive is mounted to the newly created /home folder the installation created. Or, since newer installers offer the option, select that /home drive during the install and just tell it not to format it. I've taken the same approach with my server, except not for the /home folders. In that case, I have a /pub that holds the files storage on that server. I've put that /pub folder and the /srv folder on a separate drive. Again, I can completely wipe and reinstall the OS without touching the stored data. Also, with the move to SSDs for boot drives on some of my machines, I've started putting /var & /tmp on separate partitions on a hard drive, as well as keeping the /home on its separate drive, to minimize the writes to the SSD, as well as isolate them from the system partition.
@1pcfred
@1pcfred Жыл бұрын
You can format one partition while leaving others alone. In fact you have to format them one at a time. Each partition is its own file system. From the OS's perspective each partition is its own drive. You just have to remember to not format your /home partition. Then it might be easier to differentiate an entirely different physical drive from a different partition on the the same drive.
@kamertonaudiophileplayer847
@kamertonaudiophileplayer847 Жыл бұрын
If you have a big SSD (1Tb or more), then why bother? But if you have a small boot SSD (64Gb-128Gb), then home should be separated and reside in a separate disk, traditional or SSD.
@Amaqse
@Amaqse Жыл бұрын
Emm. . . you have to create both a /boot with msboot flag and /boot/efi with boot-uefi flag partitions at the beginning of the drive. . . This is a requirement and not every installer will be happy fixing the mistake. Fedora and calamares installers will not give a flying fk and install system without any bootloader if you do not manualy set these up.
@pyrokamileon
@pyrokamileon Жыл бұрын
while it is true that there is no reason to run your system partition without journaling I do believe when you are setting up the EFI boot partition it is recommended to make that an ext2 file system because it doesn't need journaling for some reason...
@badnewofficial
@badnewofficial Жыл бұрын
So the /home directory is like the user folder on Windows, with music, documents, pictures, etc.?
@curtprasky3440
@curtprasky3440 Жыл бұрын
I'm an old fart, retired and mostly use my computer to play around with, playing with different programming languages, etc. At the moment, I do not have a separate /home partition, but that is because I am using Linux Mint for the first time, let's see, going on a month now, and I wanted to do this a little differently than I have been. I am trying this out coming from Slackware, my all time favorite Linux distro. So far it's nice, and I have used timeshift more than once already. However, I still like the idea of a separate /home partition a great deal, because, while I always seem to return to Slackware, I love to check out different distros from time to time. With a separate /home partition, you can try out different distros to your hearts content, and still keep your own personal files safe and sound. While a separate /home partition does not...***NOT*** ...obviate the necessity of making and keeping good backups, it does eliminate the need to keep recreating and rebuilding your /home/$USER directory every time you try out a new distro. My favorite partitioning scheme in fact relies on my /home directory being on a completely separate disk. Also, I no longer use a swap partition, but a swap file, and being an old fart, still live by the thumb rule that your swap space should at least double your RAM. I currently have 8 GB of RAM. When I first started using a home computer at all, RAM cost about a hundred dollars a meg, rather than the current 10 dollars a gig. And disk space has improved so much that what I allocate for swap space doesn't even put a dent in the space I have available for my own stuff.
@e1woqf
@e1woqf Жыл бұрын
My home directories are situated on my NAS, for all my machines, and mounted on startup.
@spr624
@spr624 Жыл бұрын
Another reason never mentioned (anywhere) for a separate /home is "IF" you like to take Images (clonezilla) of you root directory (for backup purposes) they are much smaller / faster easier to store, than imaging the whole drive. I've always (10 years +) had a separate /home, but never had to do a reinstall of the same OS version. Linux is so stable. My uptime today is 101 days. I totally agree with your opinion of UEFI, and GPT partitioned drives, I have no need for >2TB drives, and don not need 128 partitions, so MBR partitioned drives are fine for me. That said I do have one machine that has a GPT partitioned drive, and some day down the road we'll all have to embrace it, like it or not.
@fredashay
@fredashay Жыл бұрын
I put my /home folder on a separate drive so that I can boot into different distros and still get to all my stuff..
@carbondated6151
@carbondated6151 Жыл бұрын
First I'ld like to say welcome back and secondly thank you. When I started using Linux I ran your vids (over and over) till the fog lifted. Great video!
@jrfoto981
@jrfoto981 Жыл бұрын
Old school is the best school. I've always had it separate. But you do need to put some thought about the sizing of partitions.
@patrickprucha5522
@patrickprucha5522 Жыл бұрын
Actually, on vm's i don't bother because of the reason for vm...which is to test the distro. However on my bare metal computers i have learnt along time ago, to keep home partition separate for the simple reason, that it holds all your configuration and data files, and you can use it with any distro, you just have to point to the drive and mount it on home. For a fail safe idea, i personally suggest to everybody to do that. If system drive crashes, your data is not affected!
@LLPOF
@LLPOF Жыл бұрын
I always leave the home partition on the OS partition, but I have my Desktop/Documents/Downloads/etc on a separate partition or drive. I like to use Ventoy/Redo to create backups of my system (including all the settings stored in the home directory), but I don't want my actual data included in that. I also use those backups to install a completely configured setup to a new machine, reducing the time it takes for me to set up and "properly" configure a computer from 6 hours to about 5 minutes.
@dhiaahmed5420
@dhiaahmed5420 Жыл бұрын
I'm trying to install linux mint alongside with kali. Do I have to create two swap partitions for both of them ?
@EzeeLinux
@EzeeLinux Жыл бұрын
No.
@user-if1gj2wh5c
@user-if1gj2wh5c Жыл бұрын
you sure that the kernel requires swap space? I never make swap space on any distro I use and it works like normal.
@thorstencole
@thorstencole Жыл бұрын
I didn´t get that either. Never heard someone saying "Your kernel needs to have swap"
@i93sme
@i93sme Жыл бұрын
Yes you do, if you are security conscious. Having no suid and other things directly from the fs, quotas, ability to have it grow and more
@ncc17701a
@ncc17701a Жыл бұрын
As always, it depends. If you want to be CIS compliant (which I have to as I build enterprise servers), the recommendation is a separate filesystem for home (CCE-83468-9 if you want to look it up in a OSCAP report). Plus, in my experience, users do some weird stuff. I'd rather they screwed up /home that anything else.
@fanlessfurmark
@fanlessfurmark Жыл бұрын
You can grab 16GB optane nvme for around $6, pcie x1 to nvme adapters $2 each. Run linux off optane in a spare pcie slot, Put home on same fast drive, use separate drive for music, docs, downloads, timeshift etc, and also for /boot if your system won't boot off pcie nvme. Grab two of those optane, put your / on raid 0, home on raid 1, swap files on both, so swap is twice the speed.
@rockymarquiss8327
@rockymarquiss8327 Жыл бұрын
As I understand it, if you wish to use hibernate you need a swap partition, otherwise using the swapfile instead is sufficient. The reason for a separate /home partition is the same that Windows servers have a partition. It allows for upgrade to the OS with no risk of losing user data. Otherwise, if you reload Windows you'd have to restore the data, which is time consuming and there is risk - and depending on why you're reloading could lose data. The /home is the same thing. You can totally reload Linux and not lose any user data. Alternatively you can have a different file system for /home than for the rest. Depending on what your system is setup and goals are this may be desirable. If you only have one drive there probably isn't much need for a different file system, it really boils down to whether you want to expose loss of user data in the event you wish to distro hop or reload Linux for whatever reason.
@robertpearson8546
@robertpearson8546 14 күн бұрын
You completely ignored the installation media. Most people use a "live" installer medium (usually a jump of thumb drive" and a real computer. The old-fashioned way is to use an OS-dependent program to create the installation media. To create a Windows installation media, you had to use a working Windows machine. That media can then be used to install that version of the OS. Today you can use Ventoy (with the -g option) to create a bootable jump drive with a number of different OSs available, even Linux AND Windows. The -g formats the jump drive with a GUID Partition table.
@LuisDiaz-qg3eg
@LuisDiaz-qg3eg Жыл бұрын
I really don't set up home as a separate partitioning for the reason of reusing without formatting. I do it because then I can have the performance of EXT4 or XFS while maintaining BTRFS snapshots where it should matter for rollbacks (root binaries). I also match the FS of /var and /home so that I can compare performance of docker (/var by default) and podman (/home by default).
@robertpearson8546
@robertpearson8546 14 күн бұрын
Separation of program and data is important. But that is basic Computer Science. Partitioning. First the UEFI System Partition. Second the Operating System Partition, Third the Swap Partition. the rest of the drive is the /home partition for your data. In Windows, try to limit the OS partition to 20 GB. When Windows screws up its files system and has to run chkdsk it takes less time for 20 GB than 200 GB.
@paulgee-i7j
@paulgee-i7j Жыл бұрын
I have not used a separate /Home in years. Timeshift takes care of securing the O/S against disaster . (only needed it once so far). And BackinTime to back up the rest. I prefer creating a absolutely fresh install for new O/S versions. I don't use a swap partition, either.
@1pcfred
@1pcfred Жыл бұрын
Separate /home is not for disaster recovery. It is for separating your files from the OS. I may want to upgrade someday. If /home is on the same partition as root is and I format then everything on /home is gone. If the partitions are separate I can just format root and not format /home and just mount /home at /home and I keep all of my files.
@mr.wonderful4307
@mr.wonderful4307 Жыл бұрын
Since you don't use a swap partition, how much RAM does your system have?
@mr.wonderful4307
@mr.wonderful4307 Жыл бұрын
Since you don't use swap partition, how much RAM do you have?
@BearZA_91
@BearZA_91 Жыл бұрын
42:09 I say f stab, much more fun that way.
@wolfenstein6676
@wolfenstein6676 11 ай бұрын
I have the two operating systems on separate drives, when I boot the computer they both appear as an option, however, when Linux Mint goes to boot all I get is a black screen and a command prompt with this on it 👉 GRUB>_ It flashes, waiting for me to type something in order to continue to Linux Mint. When I disconnect the Windows hard drive the Linux operating system boots without any problems. I used 'EasyBCD' to dual boot them too, but still no joy. Does anyone know how fix this?
@robertpearson8546
@robertpearson8546 14 күн бұрын
Your UEFI problems were probably because the installer insisted on using the partition of the installation media for the installed system. Use Ventory with the -g option to ensure that the Ventoy drive is UEFI.
@frozeneye100
@frozeneye100 Жыл бұрын
I am really onto the depend on. When it gets to kvm yes always it got partitions and multiple ones inside of it with different speeds of drives. I love having the fast/medium/slow mounts. Obviously those all have their specific virtual machine images. Not sure you call that first space the home then root partition but good video keep it up. For X-forwarding, please don’t get newbs going down that road over the net. They gonna regret it. And for people not sure why, it is ok on your private secure network. But never do that on a DMZ machine. You will regret it because your machine will become a bot
@UltraZelda64
@UltraZelda64 4 ай бұрын
You don't "need" a separate /home partition, but if you choose not to create one it's all on you. I will always create one, except in virtual machines, because the simplification and ease of upgrading or reinstalling the distribution is just too much of an advantage to give up. However, I have stopped creating a swap partition. The big reason is because I have upgraded to an SSD and the idea of potential frequent unnecessary use on a storage device with a limited number of writes just doesn't seem to be worth it. The second biggest reason is I have 16 GB of RAM and only ever even use a fraction of it. And lastly... create a 256-512 MB partition, of a 2 TB drive, just for swap? I don't even like the EFI partition, no reason to create a similarly-sized swap partitipn if I don't have to.
@IfritBoi
@IfritBoi 2 ай бұрын
If it's a laptop, I won't bother making a seperate /home partition. It simply wouldn't be enough space to justify this unless it's high-end. An external drive would do a way better job for stuff like seperate partitions for your files and being another /home location for your device( Just make sure you swap back to your local /home partition as your main home before unplugging) If it's a desktop, I'd have zero issue making another /home partition and would even have enough space to back up all of my home almost indefinitely
@robertpearson8546
@robertpearson8546 14 күн бұрын
You do not need a separate /home partition as long as your version is supported. When the support stops and you have to install a later version then there is a problem. If you have a separate /home partition you will have to install the new version and all the other programs you use (like unrar). If you do not have a separate /home partition, installing the new version will wipe out all your data. Enjoy!
@JM-sn5eb
@JM-sn5eb Жыл бұрын
On pc with 32GB ram and laptop with 16. I don't use swap at all for about 2-3 years. No problems so far. I have / and home on the same partition. I may be wrong but on ssd if disk fails it will not matter if I have one or more partitions. I just do home backups on separate drives.
@EzeeLinux
@EzeeLinux Жыл бұрын
You need a bit of swap space. The kernel sometimes needs it and some programs can access it directly. Best to have a little.
@JM-sn5eb
@JM-sn5eb Жыл бұрын
@@EzeeLinux but If I don't use it for 3 years and didn't notice any problems why should I change it?
@EzeeLinux
@EzeeLinux Жыл бұрын
@@JM-sn5eb You have been warned. If you run into a situation where you need it the system will just crash.
@LucasMior-v7y
@LucasMior-v7y 4 ай бұрын
At minute 8 you say that nowadays computers have large drives, therefore "we don't need to separate things"? I don't follow. If anything, it is the opposite. Smaller drives will suffer more because partitions create fragmentation. Could you explain?
@RoastBeefSandwich
@RoastBeefSandwich Жыл бұрын
The problem with doing separate partitions is you end up with a lot of wasted space. Granted that's less of an issue these days as drives have gotten larger. But if you set aside 100GB for your root partition, and your OS etc will only ever use 30GB then there's 70GB wasted. At least for my workstations I prefer just letting the OS handle it.
@AlanDike
@AlanDike Жыл бұрын
I've ran with both a separate home partition or separate home drive.. and I tend to go back to just installing on my home. I have all of my stuff I actually care about, my scripts, etc NOT local, but on my nas. If I'm playing devils advocate.. how unstable is your machine where you need to reload your system enough that the home parition / drive is a major time saver? As for your 8gb of swap space.. I have a 233gb swap drive lol (It was a spare 250gb ssd I had laying around.. I really didn't care if it ever got used.. I have 64gb of ram, I've never used my swap lol, ever).
@awuuwa
@awuuwa 2 ай бұрын
A thing I do is I like to symlink a bunch of directories in my home to another drive on the system. And I also have Downloads and .cache symlinked to a ramdisk, which I recommend doing
@anasouardini
@anasouardini 4 ай бұрын
You don't reinstall the whole OS because of an unwanted partition!!! just modify fstab and get rid of the partition. ¯\_(ツ)_/¯
@hellomiakoda3782
@hellomiakoda3782 Жыл бұрын
On my primary machine, I create a separate home partition. On this one. its actually a separate drive. This way, if I need to, I can reinstall, mount the home partition, and lose nothing, especially if I make my username the same. It also has a swap of 2x the ram, which is a lot. I do use hibernate. My other laptops? I don't care, I let the installer do what it wants.
@1pcfred
@1pcfred Жыл бұрын
I make my user name the same but I never use my old home directory. Before I reinstall I rename my old user directory. I do not want to transfer old dot config files to my new system. I do want to keep all of my data files though. So once the new system is up and running I change the owner of the old home directory to my new user. So I can go into my old directory whenever I want to.
@portersmith1876
@portersmith1876 8 ай бұрын
I house my /home partition on a whole nother HDD(spinner) in my machine. This secondary drive was pulled off of a working SFF Dell that I had damaged while atempting to install a m.3 ssd and in the prcess of doing so bent apins on a connector on the motherboard..
@davidwayne9982
@davidwayne9982 Жыл бұрын
I have seen one or two that REQUIRE one-- but I can't remember which... because I didn't DO IT and it still worked!!! I think one was one of those immutable messes..
@PWingert1966
@PWingert1966 Жыл бұрын
When I was interning at freegeek (A social enterprise that refurbished ol PC's) we had a standard installation for Linux mint. The home partition was sequestered so that if a client had corrupted their machine, we could easily re-install linux mint and iddnt put their data at risk.,
@kennethnash598
@kennethnash598 Ай бұрын
I had to reinstall fedora several times because discover restart failed. with home and var in their own partitions I did not have to redo settings. I also want to use web server so I don't have to reload everything in var. I can't put the partitions in sucessfully with installer. The system drive is seperate from home and var drive. I just have installer create all the directories then I rewrte fstb to add in my home and var partions. homr and var should not be forced on system drive. home and var are 2T each. system drive is 1T.
@ccxlolz
@ccxlolz 8 ай бұрын
You need to create a 1gb boot (ext4) part, as well a 1gb boot/efi (fat32) part when doing manual partitioning, now you know :)
@kennethnash598
@kennethnash598 Ай бұрын
when you need swap you should do 4 times your system memory. my home is on different drive with var. I have a steam drive that is created in home. uefi and boot may need dos based drive to work. I would like automatically create partitions and have partitions that are not created and formatted.automatically. It never like uefi and boots I create when I try and add additional partitions in fedora.
@swizzler
@swizzler Жыл бұрын
BTRFS lets you create mountpoints in subvolumes, so you can have a separate /home subvolume on a single btrfs partition, so you don't run into the same issue where you accidentally make the /or /boot partition too small and start throwing system errors. (I did that once following an old ubuntu tutorial that gave me the wrong size to make the / and /boot partitions.) The subvolumes don't have a set size, so they will take up however much space they need in their subvolume. Also, only virtualbox has issues with EFI, QEMU i've only ever made VMs running in UEFI with zero issues.
@DAVIDGREGORYKERR
@DAVIDGREGORYKERR 7 ай бұрын
Just thinking if you have 32-1TiB of DDR4 RAM you don't don't need a swap file am I right.
@robertpearson8546
@robertpearson8546 14 күн бұрын
Why would you use a legacy BIOS drive instead of a UEFI drive?
@philippeheyvaert3742
@philippeheyvaert3742 Жыл бұрын
Hello Joe, as always yet again a very nice video. I haven't been using ext4 for a couple of years now. My system runs Debian Bullseye (sort of 😀), tweaked with some debian-sid packages and backports packages (I think I can get it up to Debian 12 if I wanted to). My HDD setup is UEFI - BTRFS with subvolumes / /home /.snapshots. For swap I use ZRAM. I've installed timeshift-autosnap-apt running it with Timeshift. Now the beauty of this... when I install or remove something on my system autosnap and timeshift will create a pre- and post-installation snapshot in my /.snapshots folder. So I can rollback at any moment I wish. Thank you for your great work for the Linux community, good job! Best wishes from Belgium
@growleym504
@growleym504 11 ай бұрын
Nice vid, Joe. I was wondering about that, why you went EXT2, but I figured you knew what you were doing. Anyway I am one of the "gotta have a /Home partition" guys. It makes it really easy to do backups as well as reinstall the OS. I don't bother with a whole disk backup, just the /Home partition, using rsync which works great gravy for me. I do an entire fresh backup every week, keeping the previous two, and do incrememtal backup with rsync daily or after every session where I have created or edited important files. My /Home partition is about 960GB so the full backup and the daily incrememtals fit nicely on a 1TB external HD even if /Home is chock full to the brim with movies and stuff. This two pronged approach has saved my bacon more than once. BTW as an overabundance of caution, I never have my backup drive plugged in while I am connected to the network. I know that's a ridiculous precaution with Linux but It's like always carrying a gun... it's better to feel stupid for doing it all the time, than to one day feeling REALLY stupid for not doing it when you actually did need to. I think the coming decade is going to prove a lot of guys wrong who have spent the last decade preaching about how Linux systems are never compromised. Anyway no I don't break off a partition for every little thing, but for the boot stuff, and swap, and Home, to me there is just no getting around it.
@jonathanbuzzard1376
@jonathanbuzzard1376 Жыл бұрын
You either partition the drive with a single large partition or you use volume groups giving you the option to change sizes on the fly, and potentially migrate the lot to a new drive easily. Using traditional partioning in 2023 is idiotic.lets put it this way if I where hiring and you talked apout partitions you would be out the door.
@avertry9529
@avertry9529 Жыл бұрын
Separate partitions can only really be useful if on separate drives to maximise io speeds. Just a thought.
@1pcfred
@1pcfred Жыл бұрын
Wrong.
@avertry9529
@avertry9529 Жыл бұрын
@@1pcfred Please help me understand then. Thanks
@1pcfred
@1pcfred Жыл бұрын
@@avertry9529 when you separate /home you can change your OS and keep your private files. Which is really useful itself. I've done it countless times myself. Yeah you can copy everything off /home. But it's a lot easier to just leave it. What I do is I rename my old home directory right before I switch though so I get a fresh account start. Then I change ownership of my old home directory to my new user so I can continue accessing all of my old data. I don't want to transfer any old configuration files to a new account. I do want my data though.
@DAVIDGREGORYKERR
@DAVIDGREGORYKERR 7 ай бұрын
I tried to listen to your Radio Channel on Rhythmbox with the Radio Browser Plugin but no go and I suspect that I must be missing some plugins
@DAVIDGREGORYKERR
@DAVIDGREGORYKERR 7 ай бұрын
I just selected Erase hard drive and install Linux Mint I don't risk doing anything else as I don't want to break the distribution and I still want to work as normal.
@mantra578
@mantra578 Жыл бұрын
I installed arch linux on my ssd and by mistake I separated the / and /home and now the / is running out of space but the /home has a lot of free space. Is there a way to merge or resize the disks without losing any of my data from both partitions?
@thiesenf
@thiesenf 3 ай бұрын
I not only have my /home on a separate partition... it lives on a dedicated HDD... :-)
Linux Crash Course - Formatting & Mounting Storage Volumes
32:28
Learn Linux TV
Рет қаралды 247 М.
How to Store Your Personal Home Files on a Separate Disk on Linux
23:59
Поветкин заставил себя уважать!
01:00
МИНУС БАЛЛ
Рет қаралды 6 МЛН
АЗАРТНИК 4 |СЕЗОН 3 Серия
30:50
Inter Production
Рет қаралды 1 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 40 МЛН
Windows & macOS can't do this, but Linux can!
15:55
The Linux Experiment
Рет қаралды 886 М.
Why is Linux So Secure? | File Permissions and Groups
35:48
Joe Collins
Рет қаралды 12 М.
The Linux Experience
31:00
Bog
Рет қаралды 1 МЛН
Move Your Home Directory To A Second Drive
14:00
DistroTube
Рет қаралды 62 М.
Living with LMDE 6 and Fooling Around with VM's
1:01:20
Joe Collins
Рет қаралды 6 М.
Modern Terminal Showdown: KiTTY vs Wezterm | STLLUG 2024-09-19
2:19:37
Stl Linux Unix Users Group
Рет қаралды 1,7 М.
The 11 Best Linux Distributions
16:23
Titus Tech Talk
Рет қаралды 197 М.