Partition optimizations for install

I'm still new to the open *nix world as a whole, and I'm trying to wrap my head around the multiple mounted partitions approach (/, /var, /tmp, etc). I was wondering if someone could give me a brief rundown of why this is beneficial, and suggest a good layout for a 50 GB laptop hdd.
Thanks in advance.

A quick search of the forums should yield quite a few helpful threads about partitioning, but I can go over the basics.  The advantage to spliting up mount points on different partitions is basically protection and/or file system optimization.  What I mean by that is certain directories in the filesystem are special depending on what you're doing with your machine.  For instance, the <code>/var</code> directory contains files that change while the system is running.  That includes log files, mail is stored here if you have that running, etc.  So if you're running your machine for a long time and get spammed with mail, you may happen to fill up your harddrive...that will cause major issues and you might not be able to log in or do any real work to fix it.
If you separate the <code>/var</code> directory and put it on another partition, it's almost like putting it on another hard drive all together, so if you fill it up, it won't effect all the other areas and you'll still be able to log on and fix the problem.  Likewise, if you ever want to completely reinstall the operating system or switch distributions, you can protect all of your personal data if you put your <code>/home</code> directory on another partition as well.
Aside from protection in that sense, some file systems are better at dealing with large files, and some are better at dealing with small files; some are journaling, and others are not.  Due to these variances, you can use different file systems for different mount points depending on what kind of files it will contain.
So it basically all comes down to how you want to use your machine.  If this is just your personal desktop, I would suggest splitting up the space something like this:
Size Mount Filesystem
100MB /boot ext2 (ext2 is not journaled, but the boot partition doesn't need to be since it rarely changes)
1GB swap swap (the size should be 2-3 times the amount of RAM you have)
3GB /var ext3
15GB / ext3
~32GB /home ext3
That is a simple setup that should be great for your needs.  <code>ext3</code> is well-established as the norm, and if this is your first *nix system, I'd put off messing with more extravagent file systems until later (xfs, jfs, reiserfs, reiser4, etc.).
The exact amounts are hard to tell since everyone uses their machine in different ways.  The best way to tell what's best for you is to set a machine up and use it for a while and see what you've used.  If you're curious, my machine has been set up the same way for a little over a year, and this is what it looks like:
$ df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/hda7 reiserfs 23G 9.0G 14G 40% /
/dev/hda1 ext2 92M 18M 70M 21% /boot
/dev/hda6 reiserfs 3.9G 805M 3.1G 21% /var
/dev/hda8 reiserfs 46G 1.7G 45G 4% /home
Good luck matey! 

Similar Messages

  • What's with the 32GB partition limit for installing Windows?

    I have a 250 GB partition on a hard drive that I want to dedicate to Windows, but I've been reading the Bootcamp manual and it's confusing where it says that you can only create a 5 to 32 GB partition for installing Windows.
    Is that the case, or can the partition for Windows be whatever size you want?
    How does one go about being able to set up a larger NTFS volume?
    I need more room than 32GB to install Windows and the software that I plan to add to it, plus, you need some free drive space so Windows has some room to work well.

    This is a too long tale for the forum but you can read all about it on the wikipedia: http://en.wikipedia.org/wiki/FAT32#FAT32
    In short, you can not create a BOOTABLE FAT32 partition larger as 32 Gb in Windows XP.
    Vista does not even support any bootable FAT32 partition anymore, it has to be NTFS.
    FAT32 was good but NTFS is really much better. Go for NTFS and use free tools to read the data from HFSA (Mac OS X file format) if you need to.
    BTW formatting your drive in XP over 32 Gb will lead to very cryptic error messages during the install. Its a very bad idea. Force reformat the Boot Camp partition as 32 Gb FAT32 or force reformat into NTFS.

  • When is partitioning necessary for installing OS X?

    My mother was given a 400 MHz iMac DV, 10 GB, that has only OS 9.2 installed, but I want to up the RAM and install Tiger. Do I need to start over and partition the hard drive?
    I believe in some cases, OS X has to be installed on a partition if the hard drive is over 8 GB on some older iMacs, but I don't remember the details, and I couldn't find the information on my own.
    G5 iMac 2.0 Ghz Rev.B   Mac OS X (10.4)  

    The slot loading iMacs do not need a partition under 8GB for "X".
    Before installing OSX make sure the Firmware is at 4.1.9! It's best not to even insert X disks until you're sure the firmware is OK. The Firmware update (if needed) has to be done with the Mac booted from the hard drive in OS9.
    David

  • Difficulty in partitioning HD for installing Windows

    I am attempting to install windows using bootcamp and windows 8.1.  I have a MB Pro 13inch, no optical drive.  I have made an .iso version on another computer, saved it on my MB pro, plugged in an empty flash drive, 16GB, and continued with bootcamp assistant, and constantly get the message when getting to the partitioning of my HD, that files can't be moved in order to create the partition.  Disk utility says that my HD is the appropriate format (single partition, Mac OS extended (journaled), I have verified the disk, and even reinstalled OS X, then repeated the process of using bootcamp, still with the same error message, that I can't partition the disk and files have to be moved!  How do I get around this one?

    1. What year is your Mac? It may or may not support USB installation.
    2. You have insufficient contiguous disk space for partitioning to work properly. Backup your OSX installation, use Internet Recovery (OS X: About OS X Recovery - Apple Support) and erase your internal disk, restore from backup and try BCA partitioning again.

  • Partitioning Tips for Most Effective Usage

    Hi guys,
    I'm running on Snow Leopard with 4GB DDR3. I'm hoping I'll be able to get some advice here on how i should fully utilise my MBP's hard drive.
    I recently bought a new 500GB Samsung HDD but I've yet to install it cos I'm still pondering on what type of partitioning scheme i should stick to. I use my MBP as a workhorse. I do photography, design with photoshop, video editing, recording and gaming (with windows). From time to time i work with large transfers of files in and out, like we're talking GB here.. There are also 2 other people in my family who use this com, but just from time to time, transfer pictures and sync their iphones etc. I'm aware that too many partitions can also slow down the system, but this time round, im really certain i'd wanna partition my mac after a tragic crash of my os x partition hdd. It wasn't the HD's fault tho as my bootcamp partition survived.
    Anyway, how many partitions is too much and how should i partition my new drive to effectively use it? I've been reading quite a bit around the internet and so far from what i've gathered, im thinking of the following scheme:
    1) Primary Boot ROM - System and Applications (150GB)
    From my experience some apps like Final Cut Studio and Logic Studio 9 can take up as much as 56 GB each, Adobe CS5 takes up quite a bit too.
    2) Emergency Boot - For emergencies (15GB)
    System files and essentials like Alsoft Disk Warrior 4 and Data Recovery 3 in the event of nasty crashes for damage control/rescue
    3) Windows Partition - For Windows 7 and Games (100GB)
    Games like Modern Warfare 2 and Fallout 3 can take up to 15GB etc,
    4) Data Files (Remaining).
    What do ya'll think?
    More Questions I'd like to raise are:
    1) Would you think it would be better to create a partition, just for installing hugeass apps (ala logic and fc) and does anyone know if they can be installed on the non boot roms? eg if im using my primary startup partition, can i install logic on another partition which doesn't have Mac OS X on it?
    2) Should my Video, Audio and photography workfiles be in separate partitions or would it be more advisable to just keep them together?
    3) Should there be a partition just for temporary file storage like if im moving 50gb of data?
    4) How about video capturing? Recording sessions and post production project files? Should they be in a partitions of their own?
    5) I've read about scratch/swap partitions, what are they and are they advisable to have? Especially cos the stuff i do are pretty resource intensive.
    6) Should the different users be on different partitions?
    I guess that's about all the questions on my mind for now..
    Would greatly appreciate your help before i plan out and partition
    Thanks in advance!

    @Kappy,
    I'm sorry! Nono don't get me wrong.. I'm not shutting out your advises. I'm just in a dilemma as there seems to be 2 opposing camps: people who swear by partitioning and those against it. I read that a lotta people in the media industry, ie sound engineers who do recording on the go/designers who do huge projects highly recommend the practice of partitioning as huge amoutns of time are spent on each project, so they'd rather be safe than sorry.
    On the otherhand, people here are saying there's no need to do so/it sounds illogical.. I'm just wondering why.. I mean, i understand its gonna be a hassel and all, but is it not advantageous to to do so especially in times of adversity?
    About rEFIt, understand that the point of the article was aimed at being a tutorial at creating a multiple booting computer. However one of the steps pointed out was that we could create multiple partitions before installing Windows in just one partition. If that can be done, wouldn't it mean that instead of creating multiple boot partitions , i can create storage partitions as well, by selecting the appropriate kind of disk formats, which technically bypasses the limit of Bootcamp's 2 partition only policy.. Do you think that would be possible? PS: im not looking to install Windows on an external drive..
    About the emergency disk,
    I fully agree with you that ideal is to have it on an external drive, which i definitely have been practicing. However cos of my recent crashing, i figured that data recovery from my external usb harddrive indeed help, but was quite a slow process (yea.. i know firewire's the fastest option! heh), but im just wondering, any idea if booting from a good partition would be faster than one from an external hd/usb stick?
    OS X is structured to expect data/documents to be stored in their appropriate folders on the startup volume. This i do agree, do you think there are ways to re route them?
    Video, Audio and photography workfiles might best be kept on another hard drive, preferably FW800 for speed.Yea this i definitely agree that it would be the ideal, however i bring my mac out for live recordings sometimes using a firewire interface. My mbp has only 1 firewire interface tho, so an ext firewire HD wouldnt be an option.. and if i can avoid bringing along an external drive, that would too be great.
    Your tip on backing-up with a dedicated large external HD that i do agree fully and couldn't disagree less! In fact that's what i'm practicing. The RAID box is a wonderful idea actually! So thanks! (:
    @Michael Black
    Thanks for your answers to #5 and #6.. !
    Everyone, thanks for your responses so far! (:

  • New iMac running lion 10.7.2...partitioned drive for  windows xp pro ...successfully installed...up and running(duel boot) but no internet connection on windows side...need drivers?.....please help

    new imac running lion 10.7.2     partitioned HD for duel boot and successfully installed windows xp pro (sp2)....have internet through eithernet cable on the mac side but no internet connection on the windows side....need drivers????   please help

    I too am running xp spiii on my mac with lion. However I installed xp while running snow leopard then upgraded to lion and both are running fine. If you have the support disc that came with the imac all the relevant drivers are on there. The only other thing i would suggest is that you get spiii and upgrade to that.
    Hope that helps

  • Boot Camp error: The startup disk cannot be partitioned or restored to a single partition. The startup disk must be formatted as a single Mac OS Extended (Jounraled) volume or already partitioned by Boot Camp Assistant for installing Windows.

    Hi!
    I am getting the error:
    "The startup disk cannot be partitioned or restored to a single partition.  The startup disk must be formatted as a single Mac OS Extended (Jounraled) volume or already partitioned by Boot Camp Assistant for installing Windows."
    I read up some on google, but all of them says that they have crated a partition and that is the problem, I only have the standard "Macintosh HD".
    I tried to create a partition manually in disk utility but then the error message: "Partition failed with error message: Could not unmount disk."
    Can anyone help me? It's driving me crazy.
    Thanks.

    This message, and threads like yours got asked daily for over two years, now it is only a couple times a week!!
    Is it so hard to follow through? you were to have backup already, clones are best, then erase/format and restore.
    Then partition.
    Some have been able to use Disk Utility booted from OS X DVD or another drive, and repair the drive.
    You have to use Boot Camp Assistant (99.9% anyway) to create and achieve a proper Windows Master Boot Record partition.

  • HT4818 What is the best Partition size for a windows 7 Home Premium. I'm trying to install Windows using Boot camp

    What is the best Partition size for a windows 7 Home Premium. I'm trying to install Windows using Boot camp

    Go into your system preferences and click the startup disk icon then select your Mac HD. 

  • Partitioning Advice For E-business R12 Vision Install Using OEL6

    Hi,
    I am planning to do a fresh install of OEL to use as Oracle R12 test bed with Vision demo database.
    Not planning to dual boot. OEL will be the only OS used.
    Unfortunately, after spending the past few days I still couldn't determine the optimal partition scheme for my install.
    I have a desktop system with the following configuration:
    I5-3570K
    128GB SSD
    750GB HDD
    8GB RAM
    I'm relatively new to Linux and as such do not understand much in terms of the partition scheme.
    Awaiting your responses.
    Best Regards.

    A SSD drive is not bound to the same physical aspects and performance limitations like a conventional hard disk. However, it's news to me that you cannot or should not partition a SSD drive. Where did you see this information?
    You can create a /var and /tmp partition, but I any unnecessary partition will complicate your setup for no good reason. You can also create a swapfile and thereby increase your swap space on demand if necessary, instead of using a fixed swap partition. Why do you think installing a /var and /tmp partition will make any difference for your self-study environment?
    Your /boot partition needs to be on the startup drive, e.g. SSD drive. Your root (/) partition can be anywhere else, provided it can be accessed. Why would you use the SSD drive for root and put /var and /tmp on HDD? I can't see how +/- a couple of GB will make any difference on your SSD drive.
    If you need advice about the setup of Oracle EBS you better post your question in the appropriate Oracle EBS forum. Regarding the OS and general database configuration, my previous response still applies.
    Edited by: Dude on Oct 1, 2012 4:23 PM

  • Basic Partitioning ? (For Tiger Install)

    A reading of some of the tech forums at the ExPostFacto site strongly suggest partitioning as a preparation for installing Tiger. My only experience with partitioning is with FWB Hard Disk Toolkit, running under system 9.1 (as yet I have no experinece with System X). This may be a very basic question, but, if I use FWD HDK to partition a drive under System 9.1, will System X (after it is later installed) correctly recognize the partitions created while in System 9?
    As I recall FWB HDK requires that it install its own driver on a hard disk before partitioning can be done. Is this any problem on a new firewire drive for later use for installation of Tiger?
    I also have Silverlining Pro 6.4.3 which came with my newest hard drive that could be used for partitioning. Is there any advantage of this over FWB HDK? (I have experience using FWB HDK under System 9, so would prefer this other things being equal.)
    Thanks for your comments.
    G3 Beige mini tower   Mac OS 9.1.x   Sonnet G4 800MHz upgrade; 640 MB RAM

    I have been using the two internal SCSI drives for years, and have mirroring enabled via the FWB HDTK.
    I do not know whether FWB RAID Toolkit mirrors can survive the transition to Mac OS X. I have version 4.5, but have never tried it. It is not mentioned as a useful formatter on the XPostFacto site, but I do not recall it being precluded, either. Maybe you should try it and see if it works.
    If the source drive (for system 9.1 and EPF) must have been formatted with Mac utilites (as you put it) then I guess I will have to buy a new external SCSI drive to hold the resident System 9.1 and ExPostFacto.
    You have said that your Wide SCSI drives cannot be reformatted for use with X because they have been formatted with FWB Tools. I wanted to be sure you understand they can be. Mac OS X also contains built-in RAID software, but it has a quirk -- the drives are not supported and do not mount under Mac OS 9.
    If you have the standard SCSI "Server" set-up with The Apple/ATTO PCI PSC card and the long internal cable, you are limited to the approx. three feet of high-speed cable provided inside the cabinet, and that external high-speed devices are precluded, because it would make the cable too long for reliable operation. But your Tower has space and cabling for three high-speed SCSI drives, if you count the standard "roof-mount" bracket over the power supply. You could also remove the CD drive or Floppy to gain drive space, or use the slower built-in narrow SCSI bus, internal and/or external.
    As to installing the EPF helper files/disk, I am a little unclear on this. However, if I obtain a new external SCSI drive, I assume it will be bootable on the G3 internal SCSI chain and thus helper files will not be necessary? I though helper files/disk were only necessary to allow booting from a firewire drive?
    XPostFacto performs two different tricks that use a number of files, the most obvious of which is named BootX, and a number of old and new extensions to support older hardware and normally-unsupported drives. I have sloppily referred to both scenarios as using "Helper Files".
    A) To boot an unsupported Mac, BootX and the old extensions are first installed onto a Hard Drive, then the standard Mac OS X 10.3 or 10.4 files are added to it to produce an old-Mac bootable System.
    B) To boot a drive that has no ROM support (and would therefore be unbootable because its driver is out on the drive, and cannot be booted until the driver is loaded) a "Helper Drive" is used. This is accomplished using a supported hard drive that has extensions, BootX, and the driver for the "unsupported" device loaded onto it, but it may not have a full System. You boot to a tiny System that contains the driver needed to boot the real System from the "unsupported" device.
    If you are going to use 10.3 or 10.4, it may not be necessary to have more than one partition for Mac OS 9 and Classic. It may not even be necessary to have a separate partition for Mac OS 9, since hard Disk journalling has greatly reduced the instances of Mac OS 9 and X stepping on each other.
    Mac OS 9 and X can read each other's files, so your Mac OS 9 partition (or partitions, as you see fit) can be as small as about 0.8 Gigabytes. If you have an old 1 GB narrow SCSI drive kicking around, you can use that for your Mac OS 9 partition. [ Just get a rock to perform the doorstop function and put the 1 GB SCSI drive back into the Mac ]
    I have seen a case under Mac OS 10.3 where the beige G3 insisted on enforcing the <8 GB limit on the built-in SCSI bus, But I am not sure whether that was an isolated incident. I believe Mac OS 10.4 and XPostFacto may have eliminated this restriction.

  • Shall I make partitions for install Solarie 8

    Dear Sir:
    Today I try to install Solaris 8 (07/01 for Intel) in my new PC, which comes with:
         PIII 1000 MHz CPU
         20 GB IDE Hard Driver
         512 m Memory
         Asus TUSL 2-C Mother Board
         52 x Sony CD-ROM
         3com 3C905b TX 10/100 NIC
         ATI rage Pro 8MB VGA card
         Sound Blaster 16 wave
    I used win98 boot disk to made 20 GB partition, and format it. Then, I used Solaris
    Boot disk to boot up the PC. After checked all devise, I put CD1 into the CD-ROM,
    And marks CD, select Solaris Interactive. The machine was running and I saw the
    ��System done ���� message. The machine was auto restart. But�� after the machine
    restart, I got the message said ��Boot from CD. No Emulation��, then the machine go
    back to beginning install section.
    I was try to three times, all got same result. I don��t know why and how to do it.
    Shall I make partitions before I install solaris 8 or not?
    Please help me.
    Thank you very much!
    Your friend

    Today I try to install Solaris 8 (07/01 for Intel) in
    my new PC, which comes with:
         PIII 1000 MHz CPU
         20 GB IDE Hard Driver.....
    I used win98 boot disk to made 20 GB partition, and
    format it. Then, I used SolarisIf you made a 20GB Windows 95 partition on a 20GB disk, then you won't be able to create a Solaris partition without destroying (or corrupting) the Windows partition.
    If you want to have Windows on the machine, try making the Windows partiton 10GB. That will leave you 10GB for solaris.

  • The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows.

    The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows.

    nikasv wrote:
    The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows.
    That's essentially what Solving Boot Camp partition creation problems says. What is your question?

  • Best partitioning strategy for OS 8.6?

    Hello,
    I have two hard drives on my beige 233 MHz G3 minitower (rev 1):
    4 GIG SCSI
    80 GIG ATA
    I need to install OS 8.6. I was considering using both drives but I do not know what I should put on each drive.
    Should I install OS 8.6 onto the 4 GIG drive or the 80 GIG drive?
    Option 1:
    4 GIG: OS 8.6
    80 GIG: applications
    Option 2:
    4 GIG drive: don't use it at all
    80 GIG drive: OS 8.6 and the applications
    Option 3 (using partitioning):
    4 GIG drive: don't use it at all
    80 GIG drive: First partition (15 GIGS): OS 8.6 and the applications. Second partition: (65 GIGs) for data.
    Unfortunately 4 GIGs is too small for all my applications and so that is why I was thinking of not even using the 4 GIG drive and instead putting everything onto the 80 GIG drive. I have heard it is a good idea to keep the system and apps on the same volume - I am not sure if this is always true however.
    Any thoughts?
    Thanks!
    The other issue is that I might have to further partition the 80 GIG drive into an additional partition for OSX in case I also need to install OSX because I read somewhere that on a beige G3, OSX must be installed in a partition that is no larger than 8 GIGs and it must be the first partition.
    This scenario would look like this:
    Option 4 (using more partitioning):
    4 GIG: don't use it at all
    80 GIG:
    First partition (7.9 GIGS): OS X and OS X applications
    Second partition (15 GIGS): OS 8.6 and the applications
    Third partition: (57 GIGs) for data.
    (I created a separate realted post under older hardware/beige G3/usage regarding how to boot between OS 8.6 and OS X in case anyone is interested.)

    Thanks Don and Jim,
    I carefully considered all your comments and here's what I plan to do:
    It is important for me to indicate that, for this beige G3, I will use OSX primarily (OS 10.1.5) and therefore I would like its partition to be as large as possible. I read this will benefit OSX's swap file needs. However the OS must be within the 7.7 GIG limit for this particular mac (beige G3). I can therefore conclude that I should make the first partition exactly 7.7 GIGs and use it only for OSX.
    Jim, you say that the 8 GIG limit for the startup volume applies to all OSes not just OSX and so that is a critical point for me. I will need to be certain about this. Are you sure OS 8.6 isn't bootable if it is in another partition beyond the first 8 GIGS on a beige G3? You see, I was thinking of installing OS 8.6 on a second partition of the 80 GIG drive like this:
    partition 1 (7.7 GIGs): OSX
    partition 2: (15 GIGs) : OS 8.6 and its applications
    Based on your comment (the 8 GIG limit for the startup volume applies to all OSes) this will not work - the OS 8.6 partition will never boot because it is not within the first 8 GIGs. I had thought that rule only applied to OSX.
    And if so, the best solution is to put OS 8.6 on the 4 GIG drive instead.
    Here is my final solution:
    4 GIG drive:
    OS 8.6 (plus maybe photoshop)
    80 GIG drive:
    partition 1 (7.7 GIGs): OSX (10.1.5 is the version I have)
    partition 2: (about 67 GIGs) : all the OSX applications, all the OS 8.6 applications and all my data
    partition 3 (5 GIGS) : scratch disk just for running photoshop in OS 8.6 (I may or may not create this last partition - still thinking about it)
    I might consider putting one or two of my OS 8.6 applications on the 4 GIG drive - the higher end applications such as photoshop which I think might fit on the 4 GIG drive with the OS 8.6.
    As for the 5 GIG scratch partition on the 80 GIG drive, I am still considering if I need to do this or not because I would rarely use it - only for the few times I might run photoshop in OS 8.6. Maybe I should keep this partition anyways for something else just in case.
    Other less important notes:
    I might, one day, be able to use OS 9 instead of OS8.6 in these examples, in which case I will just substitute 9 for 8.6 in my examples noted above. Howwever for now I am reserving OS 9 for another computer I have. As for classic, I don't need classic support. I would rather just boot directly into 9. I have used classic before and I found it to be slow.
    Thanks Jim and Don for your help.
    If anyone sees anything wrong with this setup please let me know!

  • Preparation for installing bootcamp and windows 7, and in the absence of a DVD drive

    I am not sure that I submitted this with the right boxes ticked, so i am re submitting it!
    In preparation for installing bootcamp and windows 7, and in the absence of a DVD drive on my MacBook Air, before starting, can I partition my external drive (for use with my Mac) to have an ISO image file location for Windows downloads? 
    Cyfromayo

    The Boot Camp instructions are located here: http://www.apple.com/support/bootcamp/
    The Boot Camp Discussion Community is located here: https://discussions.apple.com/community/windows_software/boot_camp

  • I just got a New Mac pro--wanted to partition..DVD install disc says error.

    I just got the new mac out of the box...Partitioned it and installed software. DVD 1 worked good..when it asked for dvd 2...it says error. I cleaned the DVD and tried it again. Same problem. I put it in my power mac to see if it would read it..and it does. Your thoughts?

    i contacted apple..and they are sending me out a new DVD of disc 2. It was the internal drive i was using to install.

Maybe you are looking for