LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-07-2020, 01:15 AM   #46
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Rep: Reputation: 81

For more years than I care to remember - I have used the same setup
Code:
sda1  ext2  128M  legacy grub, master boot (mostly by 'chainloader +1'), never auto-mounted so only used for booting
sda2  swap  2-8Gb  (depending on the amount of memory, common for all distros)
sda3  ext4  24G   slackware
sda4  remainder, extended partition
sda5  ext4  24G  linux#2 (usually MX-linux)
sda6  ext4  24G  linux#3  (for testing other distros)
sda7  ext4  remainder, usually 400-850G
sda7 is usually mounted as /data and has the following directories:
Code:
/data/{bin,scripts,thunderbird,tmp,users,work}
/data/users/{Documents,Downloads,Music,Pictures,Public,Templates,Videos}
Every distro has its /home under / (since mixing up .config between different distros can easily cause problems), however - I keep my personal data common between each of them by doing the following:
Code:
for d in Documents Downloads Music Pictures Public Templates Videos; do
  rmdir $d
  ln -s /data/users/$d $d
done
rm -r .thunderbird && ln -s /data/thunderbird .thunderbird
Yes, I am the _only_ user on the systems, but if there were more, I would use /data/users/$USER1, /data/users/$USER2, etc.
This way - it doesn't matter what happens to the OS, all user data (that matters) is on a seperate partition.
Also note, I never touch the /home/$USER/Desktop directory.

I used to be a real distro-hoe, but I'm getting too old. These days it's slackware, mx-linux and then whatever takes my fancy. In my younger days I could have 4-5 different distros on my rig(s).

Also, all backups are from the /data partition, I never bother backing up the OS-partition. If I have worked real hard on the .config-part, I might save the .config-directory.

Last edited by perbh; 12-07-2020 at 01:41 AM.
 
Old 12-07-2020, 11:06 AM   #47
Quercus ruber
Member
 
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 135

Rep: Reputation: 24
I have a separate /home partition, and have done for many years. I do it so that I can easily install new distros, which I have to say that I don't do very often any more. A few months ago I moved from Slackware 14.2 to current, and I shall probably move back to the stable version when it is released. Everything went smoothly, probably because it was a move from one Slackware version to another. Much easier if /home is on a separate partition.
I can't really see the advantage for me, with my laptop, to have separate partitions for anything else - one partition or other is bound to be full. This is my partition setup, and I am quite happy with it.
Code:
Device         Start        End   Sectors  Size Type
/dev/sda1       2048    1050623   1048576  512M EFI System
/dev/sda2    1050624   17434623  16384000  7.8G Linux swap
/dev/sda3   17958912  140314623 122355712 58.3G Linux filesystem
/dev/sda4  140314624 1000214527 859899904  410G Linux filesystem
 
Old 12-07-2020, 12:45 PM   #48
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,205

Rep: Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781
Quote:
Originally Posted by Quercus ruber View Post
I can't really see the advantage for me, with my laptop, to have separate partitions for anything else - one partition or other is bound to be full.
I think there was/still is an advantage if it's a spinning disk : reduce wear and tear by minimising the area the heads have to seek.

I used to go with separate /var and /usr partitions as well but these days a separate /usr partition, mounted late at boot, can be troublesome. /var perhaps not so much, and might be recommended on a server.
 
Old 12-07-2020, 04:13 PM   #49
quickbreakfast
Member
 
Registered: Oct 2015
Location: northern territory
Distribution: slackware 15
Posts: 340

Rep: Reputation: Disabled
I'm a 14.2 user and though the /home is part of the / partition it is never used.

Instead I store my data in a separate partition called /larissa........ It is hard to mistake /larissa with /home/username

So when I back up my data (weekly) the command is /larissa/ not /home/username/

It's been that way for the best part of at least a decade. (I only became a slacker in the last few months)

Edit to add. My backup is external, cause I'd hate to loose the backup data if I make a mistake or the HDD dies.

Last edited by quickbreakfast; 12-07-2020 at 04:16 PM.
 
Old 12-07-2020, 05:12 PM   #50
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,813

Original Poster
Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
ping quickbreakfast - Welcome aboard! I hope you enjoy your time here and with your new distro. I think you will find the Slackware Community a pleasant and informative place, and I'm certain anyone devoted to weekly backups will fit right in. Maybe you will kick in some things you've learned as well This is a great place and all because of the oldest running and greatest distro in existence and the sorts of people it attracts.
 
Old 12-08-2020, 08:19 AM   #51
_peter
Member
 
Registered: Sep 2014
Location: paris
Distribution: slackware
Posts: 314

Rep: Reputation: Disabled
here we go, for simple desktop usage, separate partition / comes handy to update with a fresh iso build on december 8 2020.
great news, proper communication on the changelog and the blog channels regarding the move from vtwon/testing to kde/main, thanks.

it took a while to understand i had to delete .Xauthority file when i re-use /home/users with the fresh installation of slackware64-current.
creating a new user with a blank home directory helps too to identify whatever issues may happen with existing home directory users.
 
1 members found this post helpful.
  


Reply

Tags
home, partitioning, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
' Employ Cybersecurity Techniques Against the Threat of Medical Misinformation ' RandomTroll General 3 07-21-2019 11:26 PM
LXer: HTC - failed to employ reasonable security - on Android, says FTC LXer Syndicated Linux News 0 02-23-2013 04:20 PM
LXer: 75 pc developers employ open source in APAC LXer Syndicated Linux News 0 02-01-2009 12:10 PM
Multi Booting many, many, many, OS's mac_man25 Linux - General 10 10-26-2003 09:13 AM
Get this! - What sort of SysAdmin do this lot employ? davee General 3 09-02-2003 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration