Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-30-2004, 11:45 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2004
Location: Norther Ontario, Canada
Distribution: Slackware 10.1
Posts: 12
Rep:
|
Advice on Partitioning Scheme?
Hello everyone. First off, I guess I'll let you know about my limited Linux experience. This will be my fourth attempt at installing a Linux-based operating system, and hopefully it will be my first successful one. My prior attempts (Slackware 9.1, and Gentoo the other two times, respectively) all failed horribly, however I came closer with each attempt. I still very much consider myself a newbie, but want to learn about and install Linux for educational purposes. I'm mainly a Windows jockey (please don't regale me about how much Microsoft sucks. Trust me, I know, and thank you) and all of my years of computer experience directly relates to that style of operating system.
Now, about the system I'm attempting this installtion on. It's not my regular system; I'd only try placing it onto my regular computer when I've successfully installed Slack two or three times, and even then it will have to be dual-bootable with my Windows XP Pro. My "Linux box" will be a Pentium 200 MMX with 64MB of RAM and a 4GB hard drive, scrounged up from my best spare parts available.
My question is on how exactly to partition my drives to. I use 'cfdisk' because of it's easy to follow interface.
Part of my confusion comes from my Gentoo experience. When installing Gentoo I made three partitions: boot, root and swap (don't know if those are the correct names/terms to use, sorry if they're wrong). However, using the Install Help section on Slackware.com, it doesn't mention a boot partition at all. Infact, I find the guide on Slackware.com very vague, which is why I decided to ask here.
Using my Gentoo experience, I figured this is how I should set up my hard drive:
/dev/hda1
boot
8MB
/dev/hda2
swap
128MB
/dev/hda3
root
(rest of 4GB drive)
Now I have a feeling I'm missing or fudging up something, so please educate and guide me. I ofcourse don't want to mess up my partitioning and not realize it until I've partially installed Slack.
Thank you.
|
|
|
|
06-30-2004, 11:52 AM
|
#2
|
|
Member
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229
Rep:
|
you will find the best installation howto i have ever seen here . it's written for slack 9.1, but is just the same for 10. he goes into great detail about his partitioning using screenshots too.
hope this helps.
|
|
|
|
06-30-2004, 11:53 AM
|
#3
|
|
Member
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229
Rep:
|
i might also add that shilo's "this is how i do it all" thread that is stickied at the top of this forum is quite good as well and will get you going.
|
|
|
|
06-30-2004, 12:34 PM
|
#4
|
|
LQ Newbie
Registered: Jun 2004
Location: Norther Ontario, Canada
Distribution: Slackware 10.1
Posts: 12
Original Poster
Rep:
|
Sorry, but the link to the other forum doesn't seem to work. And as incredible as it sounds, I looked for the partitioning scheme on the other forum thread you mentioned. I think I found it, but I didn't quite understand it. For instance, which partition(s) are bootable? How big should the boot partition be?
|
|
|
|
06-30-2004, 12:44 PM
|
#5
|
|
Member
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229
Rep:
|
the suggestion about shilo's thread is more about configgering your system once you have slack installed. not sure why that link wouldn't work for you, it seems to be working for me. it is the same link that is in shilo's thread at the end of the "install slackware" section of the first post. see if you can get to it from there.
edit for spelling
Last edited by lyceum; 06-30-2004 at 12:45 PM.
|
|
|
|
06-30-2004, 12:53 PM
|
#6
|
|
LQ Newbie
Registered: Jun 2004
Location: Norther Ontario, Canada
Distribution: Slackware 10.1
Posts: 12
Original Poster
Rep:
|
That link to Bitbenderforums still doesn't seem to want to work for me.
Weird.
So, can anyone just tell me what I need to know...? I can make the partitions, just I don't know what to make them (size, bootable, etc).
|
|
|
|
06-30-2004, 01:05 PM
|
#7
|
|
Member
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229
Rep:
|
well, all you would really NEED is a root partition and a swap partition (though even the swap is optional, STRONGLY recommended, but optional). i usually do the following (though i have larger disks usually than 4GB you're working with).
500 MB for swap
1 GB for /
7 GB for /usr
2 GB for /opt
9.5 GB for /home
this obviously is for a 20 GB disk. the reason that i like to make different partitions is for "worst case scenerios" and upgrades. for example, having /home on a separate partition means that when you upgrade (or even go to a different distro *gasp*) you will have all your personal files still there, just don't format it when you reinstall. reassign it to /home and your stuff is still there. /usr is usually used for user installed programs, which is where i put all apps that i add. usually in /usr/local. the /opt partition is used for optional apps. for example, kde is installed in /opt/kde by default.
you will most likely find many opinions about partitioning strategy. one argument against my modularized approach is that if i made one of them too big, then i am simply wasting that space, whereas if i just had one big root partition, i would never have this problem. in the end, i guess it just comes down to your choice.
hope this helps.
Last edited by lyceum; 06-30-2004 at 01:11 PM.
|
|
|
|
06-30-2004, 01:17 PM
|
#8
|
|
LQ Newbie
Registered: Jun 2004
Location: Norther Ontario, Canada
Distribution: Slackware 10.1
Posts: 12
Original Poster
Rep:
|
Quote:
Originally posted by lyceum
500 MB for swap
1 GB for /
7 GB for /usr
2 GB for /opt
9.5 GB for /home
|
Yes, this does help although it still leaves me with a few questions...
Is / just like the main partition, like C: is to a Microsoft-based OS? Also, I think I get usr and home, but what does opt stand for? And which ones have to be made bootable (aside from swap, ofcourse)?
|
|
|
|
06-30-2004, 01:24 PM
|
#9
|
|
Member
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229
Rep:
|
not sure if you will be able to follow this link, but here is an overview of the linux filesystem hierarchy standard. if you can't follow that link, just do a google search for fhs. and / is your root partition and is very similar to C:\ in windows.
hope this helps.
|
|
|
|
06-30-2004, 01:28 PM
|
#10
|
|
Member
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229
Rep:
|
for reference, here is the entire fhs.
|
|
|
|
06-30-2004, 01:35 PM
|
#11
|
|
Member
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229
Rep:
|
after reading around a bit on partitioning strategies for tight disk space, it seems to be a popular opinion to just make root and swap partitions. in your example you would do something like:
300 MB for swap
3.7 GB for /
the modularized approach that i use would simply waste too much space on that system where it is already tight.
|
|
|
|
06-30-2004, 03:17 PM
|
#12
|
|
LQ Newbie
Registered: Jun 2004
Location: Norther Ontario, Canada
Distribution: Slackware 10.1
Posts: 12
Original Poster
Rep:
|
Thank you very much. I'm going to try that. 
|
|
|
|
06-30-2004, 03:22 PM
|
#13
|
|
LQ Newbie
Registered: Jun 2004
Location: Norther Ontario, Canada
Distribution: Slackware 10.1
Posts: 12
Original Poster
Rep:
|
Also, should I format the partitions after I've created them, and if so, could someone refresh me on the format command and allocation types that could/should be used?
EDIT - Nevermind. Formatting is done through setup. 
Last edited by X_ArchAngel; 06-30-2004 at 03:25 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:52 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|