Partitions
If I want to do partitioning manually while installing linux,then
1) what are the partitions i must make? 2) what will be their file systems? 3) what should be their minimum sizes? |
1. You need a root partition '/' and a swap partition.
2. the '/' root partition is typically ext3 the current default Linux file system. Swap is a type of partition and is not formatted with a file system 3. Depends on what you plan to use the machine for 4GB might be appropriate, but so also might 400 GB,it could depend on whether you added other additional partitions for /home /usr or other things.. If you have plenty of RAM your swap partition doesn't need to be very large. I usually make the swap partition around 1 - 2 GB which is way overkill but disks are so big these days. It's not like I'm going to miss that small amount of space. you have several systems running according to your profile.. why not look at how the automated partitioner set them up and how much disk space is being used ? that should give you a general reference. man fdisk man df a few various systems... Code:
fdisk -l Code:
fdisk -l Code:
fdisk -l |
If you have a large disc I recommend making /usr and your home directory (either /root or /home/user but in the latter put your username instead of 'user.') The /usr directory is a place to put lots of extra software and source code, and you might want to have a lot of media in your home directory. Then if you crash the '/' or /usr directories your home directory will still be okay. You can also probably mount your home directory in more than one GNU/Linux OS if you want more than one on your disc. You can also unmount and fsck your home directory or do other things when it is unmounted that you might not want to do if it is mounted. You can also more easily try to undelete on your home directory if it does not have the OS's entire filesystem on it. Actually undeleting is usually not worth doing. It is better to have enough partitions and backups.
Part of the reason to have /usr elsewhere is something on very old computers with old versions of GNU/Linux... they might have had to have the '/' partition end before cylinder 1024. Maybe that is not the case though. Some of my suggestions above are still probably useful on current computers. |
ok...i understand...that was very useful thing to know about,
but what will be the filesystems for /boot,/usr,/home etc?? |
You do not really need a different filesystem for '/boot' (even in the old Unix partitioning scheme I think.) Just use the same filesystems as you use for the rest... ext3 or maybe ext2 if you want to be able to undelete. Ext2 is also less reliable, because ext3 is journalling, but I do not know all the (dis)advantages.
Also I should not have said if you crash one filesystem the others may be okay--one just hopes that is so--so if one only crashed home instead one might still have a working system and could restore from a backup. Either the Linux user or syadmin guide has info on partitioning in case you want to know what other partitions used to be made, but you do not really need them all. They all would use ext3 or whatever you decide to use. |
All times are GMT -5. The time now is 12:29 AM. |