[EMAIL PROTECTED] proclaimed:
> On 13 Nov 2000, at 20:26, S r e e k a n t h wrote:
> > I am having two harddisks - 20 GB (primary) and 6.5 GB (secondary).
> > Is it possible to install linux in the secondary HDD? If possible, tell me
> > how to do?
If your primary disk is the master device on the first IDE controller
(IDE0 ?) then that disk under linux is /dev/hda. If your secondary disk
is the slave on the same controller, then under linux it is /dev/hdb.
The same seconrady disk if it were the primary disk on the second IDE
controller (IDE1 ?), then it is /dev/hdc and so on...
> Yes, very much possible...just partition your second hdd
> appropriately, and install the lilo bootloader on the mbr..
>
> A decent partitioning schme could be
> /boot = 25MB
> / = 250MB
> /home = 800MB
> /var = 400MB
> /usr/local = 1GB
> /usr = rest of disk
In my experience the following partitioning scheme should suffice:
/dev/hdc1 /boot 25MB
/dev/hdc2 swap 2 * physical RAM on machine
/dev/hdc3 / 500 M
/dev/hdc5 /usr 2G
/dev/hdc6 /var 1G
/dev/hdc7 /usr/local 1G
/dev/hdc8 /home 1G
The reason I give 1G to /var is that the logs and spools go under
there. One of the most used denial of service attacks is to fill up the
logs such that there is no space left on the device. /usr should be
large because most of the s/w is going to be installed under there.
/usr/local is where you would install software that you compile from
sources. 1G is probably a bit too big. But if you are going to be
using this machine for a couple of years, you'll notice that /usr/local
gets easily filled up.
Note that all this care needs to be taken for a robust server. But if
all you need is a desktop, then just create /boot, / and swap and you
should not have any problems.
Thaths
----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr