On Thu, 25 May 2000, Janarthanan. S wrote:
> I have connected a harddisk to my system, and now, how can I add it to my
> linux?
> Can it be done when the system is ON and running?
Short Answer: Yes.
Long answer (+ howto):
I assume that you have physically connected the hard disk to the
machine. Then run fdisk with appropriate device ID.
{Primary master is /dev/hda
Primary slave is /dev/hdb
Secondary master is /dev/hdc
Secondary slave id /dev/hdd.
This is for IDE disks, for SCSI s/h/s}
Make appropriate partitions.
Run mkfs on the partitions.
Make appropriate mountpoints.
mount -t ext2 /dev/hdxy /mntpoint, where xy is the device id and
mntpoint is your mount point.
If this works, edit your /etc/fstab file and add appropriate lines
there.
Start using the partitions.
No need to shutdown :)
Devdas Bhagat
--
History repeats itself -- the first time as a tragi-comedy, the second
time as bedroom farce.
-----------------------------------------------------------------------
Check out the 'What to do before posting to the list' site
for a list of things to try before posting. The site is
at http://botsie.tripod.com/beforeposting/