Re: Partitioning hard disk

1999-05-17 Thread Michelle Coelho
Oh..so then using the md driver is the only choice if I split /usr?
Michelle


Michelle Maria Coelho
Department of Computer and Information Science
Purdue School of Science

Phone: 1-317-278-2948  
Fax  : 1-317-274-9742
On Sun, 16 May 1999, Rob wrote:

> > ~> This is how I plan to partitiion the disks:
> > ~> /hda1 40MB
> > ~> swap   hda2 8MB
> > ~> /usr  hda3  68MB
> > ~> swap   hdb1  8MB
> > ~> /usr  hdb2  250MB
> > ~> 
> > ~> where hda is the 116MB disk and hdb is the 258MB disk.
> > ~> Will the above configuration work..and can I split /usr across 2
> > ~> partitions or will X complain?
> > 
> > I think you could split /usr across two different partitions by making
> > the second a symlink to the first, eg. name hdb2 partition something
> > like /usr2 and make it a symlink to /usr.
> 
> Not quite, because then what would you call the *real* /usr (since the name
> /usr is already taken by a symlink ;)
> 


Re: Partitioning hard disk

1999-05-17 Thread Michelle Coelho
Yes, thanks..Someone suggested using the md driver. I guess either 
alternative will work, huh?

Michelle

Michelle Maria Coelho
Department of Computer and Information Science
Purdue School of Science

Phone: 1-317-278-2948  
Fax  : 1-317-274-9742
On Sun, 16 May 1999, J Horacio MG wrote:

> ~> This is how I plan to partitiion the disks:
> ~> /hda1 40MB
> ~> swap   hda2 8MB
> ~> /usr  hda3  68MB
> ~> swap   hdb1  8MB
> ~> /usr  hdb2  250MB
> ~> 
> ~> where hda is the 116MB disk and hdb is the 258MB disk.
> ~> Will the above configuration work..and can I split /usr across 2
> ~> partitions or will X complain?
> 
> I think you could split /usr across two different partitions by making
> the second a symlink to the first, eg. name hdb2 partition something
> like /usr2 and make it a symlink to /usr.
> 
> Horacio
> 


Re: Partitioning hard disk

1999-05-16 Thread Carl Greco
> Date: Sun, 16 May 1999 21:41:21 +1000
> From: Rob <[EMAIL PROTECTED]>
> Content-type: text/plain; charset=us-ascii
> Content-transfer-encoding: 7BIT
> 
> > ~> This is how I plan to partitiion the disks:
> > ~> /hda1 40MB
> > ~> swap   hda2 8MB
> > ~> /usr  hda3  68MB
> > ~> swap   hdb1  8MB
> > ~> /usr  hdb2  250MB
> > ~> 
> > ~> where hda is the 116MB disk and hdb is the 258MB disk.
> > ~> Will the above configuration work..and can I split /usr across 2
> > ~> partitions or will X complain?
> > 
> > I think you could split /usr across two different partitions by making
> > the second a symlink to the first, eg. name hdb2 partition something
> > like /usr2 and make it a symlink to /usr.
> 
> Not quite, because then what would you call the *real* /usr (since the name
> /usr is already taken by a symlink ;)
> 
However, you can symlink sub-directories, e.g., create 
/usr2/share
/usr2/doc
/usr2/local
/usr2/src
/usr2/games
and 
ln -s /usr2/share /usr/share
etc.  

Just make sure that all the information in these /usr subdirectories
are moved to the corresponding /usr2 prior to the symlinks.  For that
reason be VERY careful about applying this to /usr/lib or /usr/bin.

This is also useful if you out grow your original /usr partition.

-- 
Carl Greco
[EMAIL PROTECTED]


Re: Partitioning hard disk

1999-05-16 Thread Rob
> ~> This is how I plan to partitiion the disks:
> ~> /hda1 40MB
> ~> swap   hda2 8MB
> ~> /usr  hda3  68MB
> ~> swap   hdb1  8MB
> ~> /usr  hdb2  250MB
> ~> 
> ~> where hda is the 116MB disk and hdb is the 258MB disk.
> ~> Will the above configuration work..and can I split /usr across 2
> ~> partitions or will X complain?
> 
> I think you could split /usr across two different partitions by making
> the second a symlink to the first, eg. name hdb2 partition something
> like /usr2 and make it a symlink to /usr.

Not quite, because then what would you call the *real* /usr (since the name
/usr is already taken by a symlink ;)


Re: Partitioning hard disk

1999-05-16 Thread J Horacio MG
~> This is how I plan to partitiion the disks:
~> /hda1 40MB
~> swap   hda2 8MB
~> /usr  hda3  68MB
~> swap   hdb1  8MB
~> /usr  hdb2  250MB
~> 
~> where hda is the 116MB disk and hdb is the 258MB disk.
~> Will the above configuration work..and can I split /usr across 2
~> partitions or will X complain?

I think you could split /usr across two different partitions by making
the second a symlink to the first, eg. name hdb2 partition something
like /usr2 and make it a symlink to /usr.

Horacio


Re: Partitioning hard disk

1999-05-16 Thread Illo de' Illis
On Sat, May 15, 1999 at 06:26:02PM -0500, Michelle Maria Coelho wrote:
> Thank you for the prompt replies.
> I'll try what you said and I think it will work. I decided to split the
> swap among the disks because the Howto on Partitonioning a Hard Disk
> suggested this.
> I guess since I'll be the only user, I needn't have a /home partition.

Mmmhh you mean you'll work as root for all the time? It's not a Good Thing.
You should log in as an user in order to avoid unwanted disasters to
happen. IMHO you need a /home directory.

> Are  any other partitions besides / and /usr needed in my situation?

/var usually tends to grow but I think it's not your case. The suggested
partitioning schemes in the last replies will do the job.

Ciao,
Illo.

-- 

Ilario Nardinocchi, [EMAIL PROTECTED] - Computer Science Adept since 1982
[EMAIL PROTECTED] 

Know-nothing-bozo rule:
The views expressed above are entirely mine and do not represent the views,
policy or understanding of any other person or official body.



Re: Partitioning hard disk

1999-05-16 Thread Kristian Koehntopp
On Sat, May 15, 1999 at 05:33:01PM -0500, Michelle Maria Coelho wrote:
> This is how I plan to partitiion the disks:
> /hda1 40MB
> swap   hda2 8MB
> /usr  hda3  68MB
> swap   hdb1  8MB
> /usr  hdb2  250MB

You can split the swap and it is recommended that you do that.
You cannot split the /usr partition that way, though, unless you
use special software (the md driver, which is an advanced topic).

If you are using X, I suggest that you create a bit more swap
(like 16 MB on each disk).

Kristian


Re: Partitioning hard disk

1999-05-15 Thread Michelle Maria Coelho
Thank you for the prompt replies.
I'll try what you said and I think it will work. I decided to split the
swap among the disks because the Howto on Partitonioning a Hard Disk
suggested this.
I guess since I'll be the only user, I needn't have a /home partition.
Are  any other partitions besides / and /usr needed in my situation?
Thanks.
Michelle

> On Sat, May 15, 1999 at 05:33:01PM -0500, Michelle Maria Coelho wrote:
> ...
> > This is how I plan to partitiion the disks:
> > /hda1 40MB
> > swap   hda2 8MB
> > /usr  hda3  68MB
> > swap   hdb1  8MB
> > /usr  hdb2  250MB
> >
> > where hda is the 116MB disk and hdb is the 258MB disk.
> > Will the above configuration work..and can I split /usr across 2
> > partitions or will X complain?
> >
> > Thanks,
> > Michelle

--
Michelle Maria Coelho
Department of Computer and Information Science
Purdue School of Science

Phone: 1-317-278-2948
Fax  : 1-317-274-9742




Re: Partitioning hard disk

1999-05-15 Thread William Park
On Sat, May 15, 1999 at 05:33:01PM -0500, Michelle Maria Coelho wrote:
...
> This is how I plan to partitiion the disks:
> /hda1 40MB
> swap   hda2 8MB
> /usr  hda3  68MB
> swap   hdb1  8MB
> /usr  hdb2  250MB
> 
> where hda is the 116MB disk and hdb is the 258MB disk.
> Will the above configuration work..and can I split /usr across 2
> partitions or will X complain?
> 
> Thanks,
> Michelle

No, you cannot do that --- one partition, one mounting point.
Also, try to increase swap size to 32Mb.

Why are you making 2 8Mb swap partitions, when single 16Mb will do?

My recommendattion is 
use 116Mb hard disk for / and swap
use 258Mb hard disk for /usr, /home/, or whatever.
 


Re: Partitioning hard disk

1999-05-15 Thread Bob Nielsen
On Sat, May 15, 1999 at 05:33:01PM -0500, Michelle Maria Coelho wrote:
> Hi,
> I read your FAQ and so I was wondering if you   (or anyone elae out
> there) could help me:
> I have 2 disks:
> 1) 116 MB 8 heads, 762 cylinders, 39 sectors per track
> 2)  258MB  14 heads, 944 cylinders, 40 sectors per track
> 
> 16MB of RAM
> Debian Linux version 2 is the only operating system I plan to install.
> I want to use my PC solely for dialing into my university (ISP) and
> working from there.
> I also want to have the minimal X11 system.
> I want to install an Internet browser and maybe a few games.
> I will be the sole user.
> It's a 486SX processor.
> 
> This is how I plan to partitiion the disks:
> /hda1 40MB
> swap   hda2 8MB
> /usr  hda3  68MB
> swap   hdb1  8MB
> /usr  hdb2  250MB
> 
> where hda is the 116MB disk and hdb is the 258MB disk.
> Will the above configuration work..and can I split /usr across 2
> partitions or will X complain?

You cannot mount two partitions to the same mount point.  I'd recommend
something like:

/   hda186 MB
swaphda232 MB
/usrhdb1258 MB

Bob

-- 
Bob Nielsen Internet: [EMAIL PROTECTED]
Tucson, AZ  AMPRnet:  [EMAIL PROTECTED]
DM42nh  http://www.primenet.com/~nielsen