Solved

Newbie: Linux+Win95 partitions?

Posted on 1997-12-07
7
311 Views
Last Modified: 2013-12-15
I am about to install Linux on an 8gig IDE hard drive. My
plan is to let Win95 occupy a small C drive all by itself,
with a D for apps and software, and E for everything else.
Next would come Linux's root, swap, /usr, and /home. My
qestion regards the Linux partitions. From what I have read,
applications (like Netscape) will install themselves to
/usr/local. Is this correct? If so, I will make a fairly
large /usr partition.

I figure that most data would reside on the E drive so that
it can be accessed with both OSes. In that case, I'm looking
at the partitions being: C small, D large, E large, / small,
swap 64MB, /usr large, /home small. Does this sound right?
Any recommendations on partition size?
0
Comment
Question by:pretzelgod
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1630907
So you desided that linux should be placed in extended partition F: with four partitions: / swap /usr /home.
Keep in mind that you will have less problems (which problems? see various HOWTOs and FAQs) if your root (/) partition is inside the 1024 MB boundary.
0
 
LVL 4

Accepted Solution

by:
jlms earned 100 total points
ID: 1630908
About Linux: in reality you don't need to make partitions, maybe only one for Linux and another one for swap and that is it.

There are as many people in favor as against the one partition approach, so I truly believe that as long as you fix a policy to distribute your data and applications in your disk it does not matter if you have one or many partitions. If the size of you files is known in davance it make sense to define partitions with different characteristics, but usually that is not the case.

To have one partition has the advantage that you will be faced less often with "file system full" messages.


About the applications: most of the time you can decide where to put any software, it makes sense sometimes to put in different places, but if you have only one disk, wherever you put it, if the disk crashes your info is lost.

I suggest:
4 partitions:
1.-Big for W95 and apllication software.
2.-Big for common data.
3.-Linux (all directories).
4.-Swap.

  Pay attention to the comment of pretzelgod, life will be easier if you can install linux in the first 1024 cylinders.

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1630909
jlms,
I cannot agree with your one-linux-partition solution. I would also not suggest using more partitions, it depends on the installation you are planing.

If you decide just to have linux running anyhow, don't upgrade to a newer kernel and install few applications, one partition is the solution.
If you want to have linux easily be upgraded, at least you application should be in its own partition. /usr as a partition makes also sense.
jlms, your marked "file system full" as an disadvantage in case of multiple partitions. I would say it's an advantage, because it makes the system more stable. I.g. the data partitions (/usr /home etc.) run out of disk space. If this happens on a single partition containing your OS, it may result in a crash, loss of data, etc. etc. . If it just happens on a data partition you may be lucky still to have a running OS. Keep in mind that UNIX (root only) can write up to 110% of the disk.

Now general rules above, just a few hints about planing partitions.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:pretzelgod
ID: 1630910
Thanks for the responses. I think I'll go with one main Linux partition and the swap. This is only my first time dealing with Linux, and this seems like a simpler solution to my problem.

Once again, thanks to both ahoffman and jlms.
0
 

Author Comment

by:pretzelgod
ID: 1630911
Okay, I think I should use LOADLIN to avoid the 1024 cylinder problem. I can setup multiple configurations in the autoexec.bat and config.sys files allowing me to boot straight to linux or win95 depending on my needs. Are there any disadvantages to this that I should watch out for?
0
 
LVL 4

Expert Comment

by:jlms
ID: 1630912
As you mention, any UNIX can be programmed to have a margin of 10%, when this margin is reached no user, but the super user, can write anymore, so the system is not compromised unless is the superuser or processes belonging to him the ones that are stuffing the disk.

  As I said, I have seen as many positions in pro or against each aproach, including Sun (another UNIX) experienced Engineers that write books about tunning and performance.

  Now if one has huge files one has to choose the option that gives you the more space, been this the 1 partition policy.

  For a newbie that just wants to begin to explore Linux I think one or two partitions (one for swap) is also the best aproach.

  For old gurus everyone has his/her own way :)

0
 

Expert Comment

by:4euphoria
ID: 1630913
JLMS- I'm interested in linux partitioning, ect, could you e-mail me: 4euphoria@mailexcite.com or ICQ #7205094  Thanks


0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

757 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

20 Experts available now in Live!

Get 1:1 Help Now