Results 1 to 5 of 5

Thread: How To Create Seperate Root,Home,Usr,Var,Tmp Partitions in "Graphical Installation"

  1. #1

    How To Create Seperate Root,Home,Usr,Var,Tmp Partitions in "Graphical Installation"

    First off this is my first thread so I apologize if it's hard to follow at all. Also I know there's other ways to accomplish this (ie. GParted), but since this is a clear option in the install process i figured a quick tutorial dedicated to it could save alot of people alot of hours trying to figure out why it's not installing properly...

    Anybody (like me) who tried to use "Guided Partitioning" to set up seperate Root, Home, Usr, Var, Tmp, and Swap partitions will notice that either the installation fails around 8% or you end up with a useless home partition that has nothing to do with your Home folder. The problem is the mount point that the installer's using to create the Home partition. If you let the "Guided Partitioning" set up your partition sizes, it will fail because it's using all of your excess space to create the /home partition and leaving only 350mb for the /root partition that actually still has your Home folder inside it! If you resized your partitions in order to get Kali installed then you end up with a pointless "home" partition with a ton of free space, and your actual "Home" folder still taking up space in your Root ( / ) partition.
    The fix for this is as follows...

    First: Boot your Live USB or DVD as usual and go thru the "Graphical Install" process the same as before. But when you get to the disk partitioner choose "Manual" instead of "Guided Partitioning"
    Delete all of the partition's that it created last time.

    Open up the unallocated space and create your "/" partition. This is your main filesystem. In my opinion you wanna make this at least 2GB, I recommend more but it depends how much space you have (Mine is 15GB). Choose Primary, Ext.4, and mount as "/". Click "Done Setting Up This Partition" or however it's worded...

    Open the unallocated space again and create your "Usr" partition. this should be around 10GB. Choose Logical, Ext.4, Mount as /usr and click Done.

    Open the unallocated space again and create your "Var" partition. The default size for this is 3GB and that should work fine. Choose Logical, Ext.4, mount as /var, and click Done.

    Now Create your "Swap" partition. The size of this really depends on your ram and hd space. But if you had BackTrack or any other linux OS installed then you should have an idea how big to make this. Choose Logical, Use As "Swap", and click Done

    Create your "Tmp" partition. The default size of this is about 400MB and that should be plenty. Choose Logical, Ext.4, mount as /tmp, click Done.

    Finally, set up your ACTUAL "Home" partition. Make this as big as you want it to be. This should be where you keep all you're downloads, videos, and whatever other random stuff that takes up your HD space. It should probably be your largest partition. Choose Logical, Ext.4, when you click "Mount Point" choose Manual and type "//root" (notice the extra / ), click Done

    Now you can Finish Partitioning your drive and go on with your installation. When you boot into Kali notice all your partitions set-up exactly as you intended!

    Note: If you're setting this up on an external HD make sure that you install the GRUB bootloader on the external instead of overwriting you're MBR. Otherwise you won't be able to boot your main OS without having the external drive connected
    Last edited by kpoeticg; 2013-03-29 at 03:33.

  2. #2
    Join Date
    I would suggest making the root partition considerably larger.

  3. #3
    I agree, that's why i said i reccomend at least 2Gigs. Mine is 15GB but i have KaLi on a 500GB eSATA. I realize not everyone has alot of space to play with. So far my root drive only has about a gig used with most of my data on the other partitions. My setup is Root 15GB, Home (//root) 30GB, Usr 30GB, Var 5.5GB, Tmp 850MB. That's a bit overkill though...

    I edited that part a little bit.
    Last edited by kpoeticg; 2013-03-29 at 03:36.

  4. #4
    Join Date
    I feel that while it's a good idea to reccomend some info from personal experience, it's an even better idea to provide outside information on the topic such as a link to some reading material that would perhaps provide even the most limited amount of education as to why partitions should be sized the way you say they should be sized. Personally I reccomend the ArchLinux Wiki as it's quite well written and has a fantastic community built around it. Here's a nice section on how big your partitions should be, and really shouldn't we be a bit more educated if we're going to be playing around with potentially dangerous penetration testing tools.

    Also I appreciate your partitioning advice, I actually just managed to get this setup and was wondering why I couldn't download compat-drivers properly. I'm sure I would have figured it out eventually as you did, but it was a great help to have this on the forum.


  5. #5
    Join Date
    well that guide worked for me .
    thanks man!!

    i'm a newbie so
    by the way what does the '//root' mean?

Similar Threads

  1. Replies: 2
    Last Post: 2014-04-15, 06:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts