Click to See Complete Forum and Search --> : My question still remains


cazalot
12-14-2000, 09:21 PM
How would I Partion 2 separate drives and make Linux see them as 1?
both dirves are 2GIG in size.
Also, in which partion is linux installed to?
is it root(/) if so how big does it have to be and final question is where would linux be trying to install additional server components lik apache and such.
Yes, I am Newbie and really want to make the install right.

FoBoT
12-14-2000, 10:08 PM
i don't know much about this, the distro's i've installed automatically partioned, but check this
http://www.linuxnewbie.org/nhf/intel/installation/partition/multi_partition.html

SlCKB0Y
12-14-2000, 10:11 PM
Originally posted by cazalot:
How would I Partion 2 separate drives and make Linux see them as 1?
both dirves are 2GIG in size.
Also, in which partion is linux installed to?
is it root(/) if so how big does it have to be and final question is where would linux be trying to install additional server components lik apache and such.
Yes, I am Newbie and really want to make the install right.

I'm not sure as i have no understanding of this, but wouldnt this be getting into RAID stuff?

mastersibn
12-14-2000, 11:05 PM
Originally posted by SlCKB0Y:
I'm not sure as i have no understanding of this, but wouldnt this be getting into RAID stuff?

Yes, but IIRC, the kernel can use 'software raid' which should do the trick. I don't know how it works, though.


------------------
grab my gnupg key (http://jove.prohosting.com/~msibn/sibn-p.asc) if you feel so inclined.


cAPS lOCK? wHAT cAPS lOCK?
I cna ytpe 300 wrods pre mniuet!!!
an operating system has not just advantages...

Pyrosophy
12-15-2000, 05:09 AM
When actually using Linux, you won't be seeing the drives as you would in Windows, instead you get the whole file structure descending from / (root), some directories of which can (and are actually recommended to be) mounted in other partitions. The linux kernel and everything required for booting will be in the / mounting point (partition). Apache and other programs from what I understand are usually in the /usr directory which can be mounted separately.

So partition your drives however you want them, but be sure to leave a ~300 mb for / on the beginning of one of the drives (if you want to dual-boot... if you don't it should go first on the first drive.) Leave swap space on one of the drives about equal to the amount of physical RAM you have. Of the rest, leave a generous partition for /usr and a generous one for /home. Depending on how much software you're going to install, and how many data files you plan on amassing, tailor /usr and /home respectively.

So basically, partition up the two drives leaving enough space for these different partitions (/ , /usr, /home, and swap) wherever you want. Then go through and assign the mount points wherever you want and Linux should won't care whether it's one drive or four. Assuming you want to boot straight into Linux, make / the first partition though.

(A quick side note -- / can go pretty much anywhere if you make the first partition a really small (don't need much more than 5-10meg) parition and mount /boot on top of it.)

Cheers,
Pyro

------------------
You can never be strong. You can only be free...

-Guided By Voices

posterboy
12-15-2000, 05:43 AM
LVM for Linux does exactly what you are referencing. It takes any number of partitions, on any number of drives, and uses these as building blocks, from which "drives" are constructed and mounted. These may be mounted anywhere, resized up or down, merged, removed and reassigned, etc.I've had it running, maybe, 8 months without any issues at all. Ray

------------------
ray@raymondjones.net
HTTP://www.raymondjones.net

cazalot
12-15-2000, 05:49 PM
This is really good information. where would the best place be to go to get some of the programs listed?

cazalot
12-15-2000, 05:51 PM
OH and what about /var (is this for variable)? Do i need this partition as well if so what is it for?

ColdPack
12-15-2000, 11:16 PM
/var is "variable. Ya see. Any directory can (and will )fall underneath the / (root)directory. It need not be given its own partition.
Really, you can set up linux on a single / partition and then have a swap partition in addition. Everything you need, then, will fall under that / directory.
So, /var will be created whether it's mounted on it's own partition or not.
Get it?
I'll bet there's a Newbiefied Help File on the directory structure of linux on this site. I would take a look at it.


------------------
Experience is that marvelous thing that enables you to recognize a mistake
when you make it again.
_- Franklin P. Jones