help me what is the best partition for slackware amateur user
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Yes, btrfs and zfs are not aimed at non-seasoned users of any UNIX system that has any level of support for ZFS or BtrFS, but when you get seasoned enough to learn the benefits of these systems, they can be invaluable tools at your disposal.
Please read the topic of the thread - again - and stay on-topic. Or start a new thread instead of hi-jacking the OP's.
When posting in an existing thread, ensure that what you're posting is on-topic and relevant to the thread. If the content of your post will interfere with the current discussion, you should start a new thread.
Get the thread back on topic: 'help me what is the best partition for slackware amateur user'
The current discussion is no where near the OP's request. If you wish to have a discussion on filesystems, partition schemes along with backup then create another thread.
@RichardCranium . Don't understand this. Can LVM join two physical partions into one volumen? Mounted under /home ?
Yes it can. Isn't that awesome. Not just two partitions but even two physical drives. I have used this facility on laptops with preinstalled windows to easily reclaim the windows space. Sometimes people want to keep windows on the computer until they are comfortable with Linux. Once they realize they never use their windows anymore, if you are using LVM you can easily integrate that space into your already existing linux volumes without having to do resizing.
I still think for a newbie experience this is overkill, just my personal opinion. BTW has anyone noticed that the OP seems to have disappeared from this discussion which has become a debate relatively highly technical.
Guide to disks and disk partitions in Linux <- 'This article is an attempt to provide basic information about disk naming and partition numbering conventions, in non-technical terms, to those new to Linux.'
You can find more information at: Linux File System
Hope this helps.
Have fun & enjoy!
i think partition in linux has different meaning with windows
Not really. They are just used differently. In Windows, each partition will show up as a new drive, in Linux, you would just mount a new partition under a folder. It's just different ways of organizing. Windows uses a file cabinet method in that each drawer represents a partition. You can have as many files and folders as you want, as long as you don't exceed the capacity of the drawer. If you need more space, add a new drawer. Linux will use a single drawer of infinite size, but the folders have a limit. If you need more space in a certain folder, you can make that folder it's own partition.
In linux, everything is mounted under the root partition, also known as '/'. By default, any folders under here will be on the root partition. If you want, for example, your /home directory to be located on a different drive, you would just mount that drive to the /home directory. Anything that was on the root partition, in the /home directory, becomes unavailable. If you want to store all your movies under your user's home directory, you could create a folder in /home/$USERNAME/movies, and then mount your movie drive to that.
It is different from Windows in that you can "bury" your partitions in folders, but it also allows you to have everything sorted EXACTLY how you want it. If you want ALL of your media under one folder, you can do that. You'd just mount whatever media partitions you have as subdirectories under that media folder.
As I said earlier, there's tons of different partition schemes out there and Linux provides you with nearly unlimited options (as you can see from all the varying answers on this thread). Since this is a starting system for you, as I mentioned earlier, I'd go with the easiest setup for now, find out how you use your computer and then in a future installation, you can tailor your partition scheme to *your* needs, not the needs of others.
If you actually follow the Slackware installer, it's well geared towards the "single root partition" method. To be honest, it's a very basic but equally useful layout. Slackware is geared towards simplicity, even in the installer if you look at it.
For beginners, just follow the /(root) with swap method. It's quick, easy, and very simplistic. EXT4 and JFS work very well for this. EXT4 is the recommended default, so just stick with it, and you shouldn't have issues. It's fast and works well with any situation.
Don't worry about extra partitions and different schemes until you get some time with Slackware and learn GNU/Linux well enough to understand how to use extra partitions.
The reason we described the advanced stuff is to show you examples of how complex you can make it, but each time we spoke on these, we said to wait and stick with the simpler stuff for now. The most important thing you need to do now is learn as much of GNU/Linux as you can. Your patience will be well rewarded with knowledge. In time, you will be ready.
Now go and enjoy Slackware and learn as much as you can.
I was a new slacker not too long ago and found that the best partitioning scheme for me is:
/ - about 25 GB
swap - about 8 gb
/home - the rest of my HD
That way if you need to re-install for any reason (and as a new slacker learning as much as you can you'll find a bunch of reasons) you can re-install and keep all of your settings and files intact. Just remember not to format /home during installation.
As other people have mentioned back up /home and backup often.
Again, having a separate partition for /home is not necessary to re-install, as long as you backup all /home's content. And you should, if you care for what's in it.
Then, there are things outside /home that you might want to keep, like databases in /var/lib, or packages database in /var/log... So, keep a backup of /var as well. And of /etc, of course. But do not make /etc a separate partition, you wouldn't be able to boot as /etc/inittab and /etc/fstab live there
That said, in case of a re-installation to upgrade for instance, do not restore blindly everything from your backup but cherry pick what can and should be kept in the new release with or without modification.
Last edited by Didier Spaier; 01-11-2015 at 05:34 AM.
Again, having a separate partition for /home is not necessary to re-install, as long as you backup all /home's content. And you should, if you care for what's in it.
Maybe not necessary, but if /home contains a large amount of data it may be the most practical approach. Restoring a large amount of data is time consuming, not to mention the additional wear and tear on the disks during the restore process.
When I don't use LVM -- LVM is my usual choice -- I'll do something like:
part 1: /
part 2: /srv/data
/home (symlink or bind mount) -> /srv/data/homedirs
Various data directories under /var can also be treated the same way but /var is challenging as you'll want parts of it to survive a reinstall, and other parts of it to be cleared, so it needs careful thought.
When I do a lvm based setup, I'll typically have:
lvroot /
lvhome /home
lvvar /var
tmpfs /tmp
+ any additional role specific lvs.
The only time I wouldn't have separate partitions or lvs for data and system is if the install was space constrained and ring-fencing space in that manner would result in a risk of localised freespace exhaustion in one of the partitions.
But each to their own. How one likes to do things is something that develops and evolves over time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.