Solved

disk partitioning setup

Posted on 2006-07-03
4
287 Views
Last Modified: 2010-05-18
I am about to install a fresh copy of linux on a new server that has an 80gig hdrive and a 250gig hdrive. I want to partition the disk so that everything is on the 80gig disk except the users directories that are under the /home directory I want the /home to be on the 250gig drive so that the users folders will automatically be created their. How do I do this? When I partition the drive can I just create the partitions like below and it will just do it? The system has 2gig of memory

partition the 80gig drive like this

/boot formatted to 1.2gig
/swap formatted to 2gig
/ formated with rest of the space

and the 250gig drive like this

/home  formatted to maximum of the 250gig drive

Any and all help and pointers appreciated
Thank you for your help ,

Matt
0
Comment
Question by:heydude
  • 2
4 Comments
 
LVL 22

Expert Comment

by:pjedmond
Comment Utility
Those values are fine. However, more than 200MB for a boot partition is probably excessive.

With respect to the other sizes - They look sensible to me, although everyone has their own ideas about how to do this. The above will work fine, and there is no need to get too excited about getting it absolutely 'perfect'!

(   (()
(`-' _\
 ''  ''
0
 

Author Comment

by:heydude
Comment Utility
I wasn't sure about the boot partition, I figured couldn't go wrong if I made it bigger. I will cut it down. The partitioning above will setup the /home directory correctly? When you set the / partition will also make a home directory? I was worried that when I set the /  partiton a /home directory would also be created their and it wouldn't use the /home directory that I create as the default /home share
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 400 total points
Comment Utility

>I wasn't sure about the boot partition, I figured couldn't go wrong if I made it bigger.

If you've got the space, then there's no problem. The reason I go for 200MB is that it's more than enough for 2 kernels if I ever need to swap...but even that's probably not required by you....so 200MB should be more than ample.

>When you set the / partition will also make a home directory?

The / partitioning only makes the / directory. If you wish, you could "mkdir /home" and put stuff in it. Once you mount the /home directory, this new /home will be superimposed over the original /home making the original unavailable. On unmounting /home, the files that you had created 'underneath' will become visible again.

>I was worried that when I set the /  partiton a /home directory would also be created their and it wouldn't use >the /home directory that I create as the default /home share

No need to worry unless you start messing amount with mount and umount. The partitions that you create during installation are normally mounted automatically as you desire during the startup process.
0
 
LVL 87

Expert Comment

by:rindi
Comment Utility
I usually don't make the /boot larger than 100MB, and I also have more than one kernel. The kernel images used for booting usually don't get larger than 5MB with everything needed around it.

Depending on what distro you are installing, you will be given the option to select which mountpoint to assign to which partitions within the setup program, so that is usually no problem.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now