*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I've freed up my whole computer for FreeBSD (I hope). I've got a 13.6G master, and a 19.2G slave. I tried to partition them so that I had a /, /boot, /var, /tmp, and /usr on the master, and /home on the 2nd drive. I thought that would eliminate the possibility of running out of space with installing software, my music, stuff like that. But when I installed and went to reboot, it couldn't find the boot loader in /boot. Also, I went with something like a 200mb /, a 200mb /boot, a 1500mb swap, etc., but I never could figure out what values would be good.
Can somebody suggest a good partitioning scheme here with these 2 disks? Also, guide me as to what I need to do to make the loader see my installation and boot it. I'm sure it is something dumb, but I dunno...
You were close. Don't separate out a /boot partition, let it get built with / instead. Your sizes look reasonable. Swap space in the range of 2 to 4 times RAM is not unreasonable, either. /usr will tend to grow, so your idea of giving it plenty of room is a good one. With diligence, you can keep it from mushrooming.
So, you should have a swap, /, /tmp, /var, /usr and a /home. That's perfectly reasonable for a desktop.
Yeah, I wondered if the separate /boot was a problem (I used to do that with linux way back when). I got the idea from FreeBSD Unleashed. But anyway...
Ok...one other quick question...when I install software from ports or packages, is it putting that under /usr? Should I, say, split the second HD in half, and give half of it to /usr and the other half to /home? Or maybe a third of it to /usr...I dunno. I want to have plenty of room for adding programs (and for the first time in my life, I've got HD to spare! LOL). Seems like I had also given /usr something like 8 gigs...which may be more than enough.
In other words...keep /usr with 8 gigs or so on the 1st hd, and /home on the 2nd hd by itself, or move it to the 2nd hd with /home and give each something like half the drive...
Last edited by Geocritter; 12-29-2005 at 08:41 AM.
One other q. If I eliminate a separate /boot, should I make / something like 400 mb? Or will that exceed the 1,024 barrier...or is that a problem anymore...I seem to recall that that problem doesn't exist anymore. So if that's the case, how big should / be?
Sorry for all the ignorant questions...I'm just trying to get a grip on the partitioning so that I do it right.
200Meg for / should be just fine. My machine here in my office currently has 47Meg used of 250Meg, and I use a custome kernel, so there are currently two working kernels and all of their associated directories. /tmp is harder to predict, since most of the files put there go away either during a reboot, or over time; 500Meg should be plenty. Don't skimp on /var, but don't go overboard. Print spools there, and the config files for your ports builds go there, too; as does the database about your installed ports. Mine is currently 120Meg of 1Gig.
Now for /usr and /home. /usr is where your source tree and ports will go. All the dist-files that are used to build a port will go here, too. So, /usr can grow wildly if you don't watch it. If you are the kind of person that just has to "have that port" even though you don't use it, then more room is better. If you can train yourself to "make deinstall && make clean && make distclean" a port you try but decide not to use, then the remainder of your 13Gig master should be fine. /home is where your music is, huh? How much? Do you listen a lot? Sometimes? What else are you likely to pick up? You want to run a web-server, PHP, ruby, RAILS, build programs on your own?
I would be tempted to reverse the place of /usr and /home in your set up. That forces you to keep /home neat and tidy. Out with the unlistened to music already!!
Look, your initial set up (other than a /boot) was a good first try. Try things out, and if your choices could have been better based on how you use the machine, then back up your good stuff (you know all those "legal" mp3's ), blow the whole thing away with another install. After a while, you'll have a feel for what you need. Personally, I *always* grossly over-estimate the size I think /home will be. Currently, I am using 384Meg of 10Gig...go figure!
Go for it, and report what choices you made, why you made them and how it is going.
I found a 500 mb / partition to be inadequate. Main culprit seems to be the complete Gnome/KDE desktops needed by most casual users. First thing I knew I was at 90% usage, and having trouble with large upgrades. Currently at 1 gig, plenty of room. My other issue was (is) /tmp. I set it up in a separate partition, at 500 mb. Problem there is cdr writing programs default their temporary images there. That's not enough room for a 700 mb cd image. Soulution was to change k3b, graveman, etc configurations to use a /home/tmp directory for default .tmp files. But next time I reformat, /tmp is going to be 2 gigs.
Currently, with a fresh install (to which I haven't moved my data files yet):