Partition Info /, /usr, ext2
I'm learning Linux and am trying to install Mandrake but I don't understand how to make partitions and what /usr, var, /boot and how to make partitions as far as choosing type, mount, and all others if there is a link for a website showing help of this nature please reply.
|
If youre just starting out, probably the easiest way to partition is:
-twice your RAM size for swap partition -give the rest to / This isnt the most secure, but for someone just starting out it is fine, especially since youll end up trying different distros in the future. You can get more advanced with partitioning over time. Just do a google search for something like 'linux partitioning' and youll come up with gobs of sites. |
NOOOOOOOOO
You are right in terms of making the swap 2x the size of the RAM,... up to about 512MB as a cap. As for giving the rest all to "/"... NOOOOOOOOO At the very least the /home partition should be its own partition. This is where you will be putting your user data so err on the side of being generous here. Things like WineX like to install Windoze programs in the users subdirectory If you ever have to re-install the OS, you will thank me for having you make /home a seperate partition, because you can (in expert mode) re-install without re-formatting this partition and keep ALL of your user data (documents, mp3s, pictures, desktop settings, game save files, etc.) Also,... /usr should be its own partition - you should also be generous here as well, as this is where you will be installing most of your apps... /var, /dev and the rest can be left to go with the root partition ( / ) on a home computer or desktop machine. You don't have to bee too generous to the root partition. The kernal, system settings and variables go there. They don't generally take up as much room as you would think. I have an 80 GB HD. It is partitioned as follows: 6 GB to root (ReiserFS) 1.1 GB Swap (I know I said 512 MB, but otherwise I couldn't see the "s" in swap) 25 GB for /usr (ReiserFS) 27 GB for /home (ReiserFS) 14 GB for a FAT32 partition I call /mnt/windoze I use ReiserFS because it's a journalized file system and a little more robust than EXT3 Don't use EXT2 unless you really need access to the partitioning through a program like Partition Magic. With Mandrake 9.1 and the diskdrake utility, you shouldn't need Partition Magic for anything |
Sorry JaseP but I've gotta disagree. Yes, you are correct, but we are talking about newbies. They don't know what they want to do with their system yet. In a month or 2, they might decide that they want to run a mail server. All of a sudden, / is at 100% yet /usr is still sitting in a nice cool 2% ;)
Nah, I gotta agree with cav here. Choose your swap size, then give all the rest to / Yes, if the need arises to reinstall, they'll lose anything they didn't backup on external media (such as CDRW) but they won't have to go through the task of resizing (which seems to lead a lot of newbies to the ultimate task of reinstalling). It's really a good argument to say that having /home and /usr on seperate partitions will help em, but I must say if there is going to be ANY other partitions than swap and / it should only be a seperate one for "data" in general, and not a standard linux directory, something like /mnt/data Just my 2 cents ;) Cool |
# Linux filesystem structure
Directory Navigation Help File Filesystems, Directories, and Devices Help File Proper Filesystem Layout # Mandrake links Mandrake home page Mandrake Users website Easy urpmi config for Mandrake urpmi mini-HOWTO Easy software management: Red Carpet Maximum RPM rpmfind You didn't install the developmental packages? As root, command: urpmi gcc An Introduction to the Midnight Commander. You can install it by commanding: urpmi mc Midnight Commander home page My partitioning scheme: Code:
root@uilleann # fdisk -l Code:
/dev/hda6 / reiserfs defaults 1 1 |
Quote:
I'm just suggesting making /home seperate because the first bad thing that happened to me is that I screwed up my root partition some-how and ended up losing all my user data for both me and my wife. After than I became and advocate of partitioning. So I can see where you are coming from, I just don't agree. I think a newbie is better served with at least a seperate /home partition. |
Fair enough, the problem lies in that you'll (as the newbie, not you as JaseP) will be faced with then creating the 2 new users again. At which time, if you don't create the same users, or have the same UID, then file ownership will become problematic (uid 501 used to be user1 now it's user2). That's why I usually recommend a /mnt/data if anything. Sharing a /home across 2 distros isn't a good idea for the same reason, linux uses a naming convention for ease of use, but if you look at the guts, all files are owned to a UID not a name ;) It's kind of like the DNS thing for the internet.
Cool |
Quote:
Most people won't go to the trouble of doing back-ups (which I can attest to). |
All times are GMT -5. The time now is 05:16 PM. |